/* ============================================================================
   Auth Pages - Login & Register
   ============================================================================ */

body {
  background: var(--bg-light);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 420px;
  margin: 0 auto;
}

.card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text-primary);
}

label {
  display: block;
  font-weight: 600;
  margin-top: 12px;
  color: var(--text-primary);
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-top: 6px;
  font-size: 14px;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

button {
  margin-top: 16px;
  width: 100%;
  padding: 10px;
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

button:hover {
  background: var(--primary-dark);
}

.secondary-btn,
.back-btn {
  background: var(--secondary-color);
  margin-top: 8px;
}

.secondary-btn:hover,
.back-btn:hover {
  background: #4b5563;
}

.result {
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.success {
  background: var(--success-color);
  color: var(--success-text);
}

.error {
  background: var(--error-color);
  color: var(--error-text);
}

.error-text {
  color: #ef4444;
}

.helper-text {
  color: #6b7280;
}

small {
  display: block;
  margin-top: 6px;
}

@media (max-width: 768px) {
  body {
    padding: 20px;
  }

  .container {
    max-width: 100%;
  }

  .card {
    padding: 20px;
  }
}

/* Forgot password page specific styles */
.forgot-password-text {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.back-to-login-section {
  margin-top: 15px;
  text-align: center;
}

/* Auth page navigation buttons section */
.auth-nav-section {
  margin-top: 15px;
  text-align: center;
}

.auth-nav-section .secondary-btn {
  margin-top: 10px;
}
/* Unverified Account Page Styles */
.verification-alert {
  padding: 20px;
  background: #f0f4f8;
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 4px solid #3b82f6;
}

.verification-alert p:first-child {
  margin: 0;
  color: #1e3a8a;
  font-weight: 500;
}

.verification-alert p:not(:first-child) {
  margin: 8px 0 0 0;
  color: #1e40af;
}

.verification-steps {
  margin-top: 24px;
  color: #111827;
}

.verification-steps ol {
  color: #374151;
  line-height: 1.8;
}

.verification-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.verification-section p {
  color: #6b7280;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.verification-section p:last-child {
  margin-bottom: 0;
}

.verification-section a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.resend-form {
  margin-bottom: 16px;
}

.resend-form button {
  width: 100%;
}

/* Reset Password Page Styles */
.reset-password-intro {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.reset-password-nav {
  margin-top: 15px;
  text-align: center;
}

.reset-password-nav button {
  width: 100%;
}

/* Verification list styles */
.verification-list {
  color: #374151;
  line-height: 1.8;
}
