/* ============================================================
   HRMPrime — Auth pages (login / forgot / reset / install)
   Navy hero + cream backdrop + orange accents (GovtPrep style)
   ============================================================ */

:root {
  --sf: #FF6B00; --sf2: #FF8C3A; --sfp: #FFF0E5;
  --gold: #F0B429; --mint: #00C9A7;
  --navy: #0A1628; --navys: #1E3A5F;
  --off: #F2EEE8; --white: #fff;
  --text: #1A1A2E; --muted: #6B7280;
  --border: rgba(10, 22, 40, .07);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: var(--font-body); background: var(--off); color: var(--text); min-height: 100vh; }

/* Two-column auth layout: cream left, navy hero right */
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
@media (max-width: 960px) { .auth-shell { grid-template-columns: 1fr; } }

.auth-form-col {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  background: var(--off);
}

.auth-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 40px -12px rgba(10, 22, 40, 0.08);
}

/* Hero column */
.auth-hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
}
.auth-hero::before {
  content: ''; position: absolute; top: -80px; right: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,107,0,0.3) 0%, transparent 70%);
}
.auth-hero::after {
  content: ''; position: absolute; bottom: -40px; left: 40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,201,167,0.12) 0%, transparent 70%);
}
.auth-hero > * { position: relative; z-index: 1; }
@media (max-width: 960px) { .auth-hero { display: none; } }

.hero-brand {
  display: flex; align-items: center; gap: 12px;
}
.hero-brand .logo {
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, var(--sf), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 800;
  box-shadow: 0 12px 28px -8px rgba(255, 107, 0, 0.55);
}
.hero-brand h1 { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: #fff; }
.hero-brand h1 span { color: var(--sf2); }

.hero-body { margin: auto 0; }
.hero-body .tag {
  display: inline-block; padding: 6px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: var(--sf2);
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-body h2 {
  font-family: var(--font-head); font-size: 38px; font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 16px;
}
.hero-body h2 span { color: var(--sf2); }
.hero-body p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 380px; }

.hero-features { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.hero-feature { display: flex; gap: 12px; align-items: flex-start; }
.hero-feature .ic {
  width: 36px; height: 36px; border-radius: 11px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--sf2);
}
.hero-feature .lbl { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: #fff; }
.hero-feature .sub { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.hero-footer { font-size: 12px; color: rgba(255,255,255,0.4); }
.hero-footer strong { color: rgba(255,255,255,0.7); font-weight: 600; }

/* Brand on the form side (mobile only) */
.form-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
}
.form-brand .logo {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--sf), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 800;
}
.form-brand h1 { font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.form-brand h1 span { color: var(--sf); }

.form-title {
  font-family: var(--font-head); font-size: 24px; font-weight: 700;
  color: var(--text); margin-bottom: 6px; letter-spacing: -0.01em;
}
.form-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 26px; }

/* Form inputs */
.glass-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid rgba(10, 22, 40, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body); font-size: 14px;
  color: var(--text);
  transition: all .15s ease;
}
.glass-input:focus {
  border-color: var(--sf);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.10);
  outline: none;
}

.glass {  /* kept for forgot/reset compatibility */
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
}

/* Primary CTA */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  background: var(--sf); color: #fff;
  border: none; padding: 13px 22px;
  border-radius: 12px;
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .15s ease;
  box-shadow: 0 6px 16px -6px rgba(255, 107, 0, 0.55);
  width: 100%;
}
.btn-primary:hover {
  background: #ff5500; transform: translateY(-1px);
  box-shadow: 0 10px 22px -6px rgba(255, 107, 0, 0.65);
}

/* Alerts inside form */
.alert {
  display: flex; gap: 10px;
  padding: 11px 14px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.4;
  margin-bottom: 18px;
}
.alert-error,
.alert-rose { background: #FEF0F0; color: #991B1B; border: 1px solid rgba(239,68,68,.2); }
.alert-warning,
.alert-amber { background: #FFFBEB; color: #92400E; border: 1px solid rgba(240,180,41,.25); }
.alert-success { background: #F0FDF4; color: #065F46; border: 1px solid rgba(16,185,129,.2); }

/* (Legacy backdrop classes — kept as no-ops so old pages don't break) */
.mesh-bg { background: var(--off); }
.orb { display: none; }
