/* ============================================================
   RankForge Pro — Auth Pages CSS
   ============================================================ */

:root {
  --brand:       #1a56db;
  --brand-dark:  #1e40af;
  --brand-light: #eff6ff;
  --text:        #111827;
  --muted:       #6b7280;
  --border:      #e5e7eb;
  --bg:          #f4f6f9;
}

* { box-sizing: border-box; }

body.auth-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 50%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Arial, sans-serif;
  padding: 24px 16px;
}

.auth-wrapper {
  width: 100%;
  max-width: 460px;
}

.auth-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.auth-card-wide {
  max-width: 520px;
}

/* Logo / Brand */
.auth-logo {
  text-align: center;
  margin-bottom: 24px;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0;
  letter-spacing: -0.5px;
}

.brand-name i {
  font-size: 1.8rem;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 4px 0 0;
}

/* Headings */
.auth-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  text-align: center;
}

.auth-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  margin: 0 0 24px;
}

/* Form elements */
.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  border-color: var(--border);
  font-size: 0.9rem;
  height: 42px;
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}

.input-group-text {
  background: #f9fafb;
  border-color: var(--border);
  color: var(--muted);
}

/* Primary button */
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  font-weight: 600;
  transition: background .2s, transform .1s;
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-auth {
  height: 44px;
  font-size: 0.95rem;
}

/* Links */
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* Divider */
hr {
  border-color: var(--border);
  opacity: 1;
}

/* Alerts */
.alert {
  border-radius: 8px;
  font-size: 0.875rem;
  padding: 10px 14px;
  margin-bottom: 16px;
}

/* OTP inputs */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.otp-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}

.otp-digit:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

/* Password strength */
.password-strength {
  min-height: 20px;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card {
    padding: 28px 20px 24px;
  }
  .otp-digit {
    width: 40px;
    height: 48px;
    font-size: 1.2rem;
  }
}
