/* Authentication Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-container {
  width: 100%;
  max-width: 400px;
}

.auth-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.auth-header {
  background: #2c3e50;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.auth-header h1 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 300;
}

.auth-header h2 {
  font-size: 28px;
  font-weight: 600;
}

.auth-form {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

.form-group small {
  color: #666;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.auth-btn:hover {
  background: #5a6fd8;
}

.auth-links {
  padding: 20px 30px;
  text-align: center;
  background: #f8f9fa;
  border-top: 1px solid #e1e8ed;
}

.auth-links a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 12px;
  margin: 20px 30px;
  border-radius: 6px;
  border: 1px solid #f5c6cb;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px;
  margin: 20px 30px;
  border-radius: 6px;
  border: 1px solid #c3e6cb;
}

.demo-accounts {
  padding: 20px 30px;
  background: #fff3cd;
  border-top: 1px solid #ffeaa7;
}

.demo-accounts h3 {
  margin-bottom: 10px;
  color: #856404;
}

.demo-accounts p {
  margin: 5px 0;
  font-size: 14px;
  color: #856404;
}

/* Responsive Design */
@media (max-width: 480px) {
  .auth-container {
    margin: 10px;
  }

  .auth-header {
    padding: 20px;
  }

  .auth-header h1 {
    font-size: 20px;
  }

  .auth-header h2 {
    font-size: 24px;
  }

  .auth-form {
    padding: 20px;
  }
}
