/* Auth pages — Login, Forgot, Reset password */
body.auth-body {
  background: #F5F6F8;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.auth-container { width: 100%; max-width: 420px; padding: 20px; }

.auth-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header .auth-logo {
  width: 48px; height: 48px;
  background: #1E3A5F;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E8431A;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.auth-header h1 { font-size: 22px; font-weight: 600; color: #1F2937; margin: 0 0 6px; }
.auth-header p { font-size: 14px; color: #6B7280; margin: 0; }

.auth-alert {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}
.auth-alert-error { background: #FEE2E2; color: #B91C1C; }
.auth-alert-success { background: #DCFCE7; color: #15803D; }

.auth-form .input-group { position: relative; margin-bottom: 18px; }
.auth-form .input-group input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  background: #fff;
  color: #1F2937;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.auth-form .input-group input:focus {
  outline: none;
  border-color: #1E3A5F;
  box-shadow: 0 0 0 3px rgba(30,58,95,0.1);
}
.auth-form .input-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.auth-form .form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}
.auth-form .form-options a { color: #1E3A5F; text-decoration: none; }
.auth-form .form-options a:hover { text-decoration: underline; }

.auth-form .submit-btn {
  width: 100%;
  padding: 12px;
  background: #1E3A5F;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.auth-form .submit-btn:hover { background: #2A4F7F; transform: translateY(-1px); }

.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: #6B7280; }
.auth-footer a { color: #1E3A5F; text-decoration: none; font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

.auth-success-icon {
  width: 56px; height: 56px;
  background: #DCFCE7; color: #15803D;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}

/* Password requirements */
.pwd-requirements {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 12px;
}
.pwd-requirements .req { display: flex; align-items: center; gap: 6px; padding: 3px 0; color: #9CA3AF; }
.pwd-requirements .req.valid { color: #15803D; }
.pwd-requirements .req .icon { width: 14px; text-align: center; }
