/* =====================================================================
   MD Goatco Farm — auth.css
   Styles for all login pages, registration form and status check.
   ===================================================================== */

:root {
  --blue: #2b5ba8;
  --blue-deep: #1e3f7a;
  --blue-light: #4375c4;
  --blue-pale: #edf2fb;
  --blue-tint: #f4f7fd;
  --green: #059669;
  --green-deep: #065f46;
  --green-pale: #ecfdf5;
  --amber: #d97706;
  --amber-deep: #b45309;
  --amber-pale: #fffbeb;
  --red: #dc2626;
  --red-pale: #fef2f2;
  --white: #ffffff;
  --off: #f8f9fc;
  --slate: #4a5568;
  --slate-light: #718096;
  --border: #d8e1f0;
  --ink: #1a2238;
  --font-body: "Poppins", sans-serif;
  --font-display: "Fraunces", serif;
  --font-mono: "IBM Plex Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/* The register page also loads public.css for its shared site header/footer
   (see public/_header.php, public/_footer.php) — those links use their own
   hover treatment (color change, no underline), so this page's generic
   a:hover rule above shouldn't reach into them. */
header a:hover,
footer a:hover {
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

/* ── FLASH ───────────────────────────────────────────────────────── */
.auth-flash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 14px 24px;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
}
.auth-flash-error {
  background: var(--red-pale);
  color: var(--red);
  border-bottom: 1px solid #fecaca;
}
.auth-flash-warning {
  background: var(--amber-pale);
  color: #92400e;
  border-bottom: 1px solid #fde68a;
}
.auth-flash-success {
  background: var(--green-pale);
  color: var(--green-deep);
  border-bottom: 1px solid #a7f3d0;
}

/* ── SPLIT LAYOUT ────────────────────────────────────────────────── */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ── LEFT PANEL ──────────────────────────────────────────────────── */
.auth-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08),
    transparent 70%
  );
  z-index: 1;
}
.auth-left::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06),
    transparent 70%
  );
  z-index: 1;
}

/* Left colour variants */
.auth-left-blue {
  background: linear-gradient(160deg, var(--blue-deep) 0%, #0f2850 100%);
}
/* Farm photo behind the login panel — same treatment as the homepage
   hero and the application-status page, so all three feel like one
   consistent brand moment instead of a flat gradient. */
.auth-left-blue .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.auth-left-blue .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-left-blue .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30, 63, 122, 0.9) 0%, rgba(15, 40, 80, 0.94) 100%);
}
.auth-left-indigo {
  background: linear-gradient(160deg, #312e81 0%, #4338ca 100%);
}
.auth-left-amber {
  background: linear-gradient(160deg, #7c2d12 0%, var(--amber-deep) 100%);
}
.auth-left-green {
  background: linear-gradient(160deg, #022c22 0%, var(--green-deep) 100%);
}

.auth-left-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  height: 100%;
  justify-content: space-between;
}

/* Logo inside left panel */
.auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.auth-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  color: white;
  background: white;
  border-radius: 4px;
}
.auth-logo strong {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}
.auth-logo small {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.auth-logo:hover {
  text-decoration: none !important;
}

/* Hero text */
.auth-hero {
  flex: 1;
  padding: 20px 0;
}
.auth-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}
.auth-role-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}
.auth-role-badge-indigo {
  color: #c7d2fe;
}
.auth-role-badge-amber {
  color: #fde68a;
}
.auth-role-badge-green {
  color: #6ee7b7;
}

.auth-left h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}
.auth-left h1 em {
  font-style: italic;
  font-weight: 500;
  color: #a8c4f0;
}
.auth-left p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 380px;
  line-height: 1.7;
}
.auth-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.auth-home-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

/* Stat row on left panel */
.auth-stat-row {
  display: flex;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.auth-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}
.auth-stat span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* Tag preview card inside left panel */
.tag-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
}
.tag-card-head {
  margin-bottom: 10px;
}
.tag-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}
.tag-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.tag-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.tag-row:last-of-type {
  border-bottom: none;
}
.tag-row span:last-child {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #fff;
  font-weight: 600;
}
.tag-status {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Other portals links */
.auth-other-portals {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.other-portals-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}
.portal-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.portal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.15s ease;
}
.portal-chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── RIGHT PANEL ─────────────────────────────────────────────────── */
.auth-right {
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}
.auth-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 44px;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 20px 60px -30px rgba(30, 63, 122, 0.18);
  transition: min-height 0.2s ease;
  display: flex;
  flex-direction: column;
}
/* The login/status tabs share this card at a pinned height (see
   equalizeAuthCardHeight() in auth.js) so switching tabs doesn't resize it —
   but the shorter "status" pane then left a dead gap below its content.
   flex:1 + justify-content:center lets whichever pane is showing settle in
   the middle of that pinned height instead of hugging the top. */
.auth-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Tabs */
.auth-tabs {
  display: flex;
  background: var(--blue-tint);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 30px;
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--slate);
  transition: all 0.15s ease;
  border: none;
  background: none;
}
.auth-tab.active {
  background: var(--blue);
  color: #fff;
}
.auth-tab:hover:not(.active) {
  color: var(--blue);
}

.auth-pane h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}
.auth-sub {
  color: var(--slate);
  font-size: 0.86rem;
  margin-bottom: 24px;
}
.auth-divider {
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-light);
  margin: 18px 0;
  position: relative;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}
.auth-foot {
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 18px;
}

/* ── FORM ELEMENTS ───────────────────────────────────────────────── */
.auth-form {
  display: grid;
  gap: 0;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.15s ease;
  background: var(--white);
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 91, 168, 0.1);
}
.field-aux {
  text-align: right;
  margin: -8px 0 16px;
  font-size: 0.8rem;
}
.field-aux-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 12px;
}
.remember-me-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  white-space: nowrap;
}
.remember-me-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
  cursor: pointer;
}

/* ── Password show/hide toggle (injected by validate.js) ────────── */
.pw-toggle-wrap {
  position: relative;
}
.pw-toggle-wrap input {
  padding-right: 42px !important;
}
.pw-toggle-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--slate-light);
  font-size: 0.92rem;
  line-height: 1;
  display: flex;
  align-items: center;
}
.pw-toggle-btn:hover {
  color: var(--blue);
}
.pw-toggle-wrap input::-ms-reveal,
.pw-toggle-wrap input::-ms-clear,
.pw-toggle-wrap input::-webkit-credentials-auto-fill-button,
.pw-toggle-wrap input::-webkit-contacts-auto-fill-button {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.pw-toggle-btn {
  z-index: 2;
  background: var(--white, #fff);
}
.form-errors {
  background: var(--red-pale);
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.form-errors p {
  color: var(--red);
  font-size: 0.84rem;
  margin-bottom: 2px;
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-deep);
  text-decoration: none;
}
.btn-primary-indigo {
  background: #4338ca;
  color: #fff;
}
.btn-primary-indigo:hover {
  background: #3730a3;
  text-decoration: none;
}
.btn-primary-amber {
  background: var(--amber);
  color: #fff;
}
.btn-primary-amber:hover {
  background: var(--amber-deep);
  text-decoration: none;
}
.btn-primary-green {
  background: var(--green);
  color: #fff;
}
.btn-primary-green:hover {
  background: var(--green-deep);
  text-decoration: none;
}
.btn-ghost {
  background: var(--off);
  border-color: var(--border);
  color: var(--slate);
}
.btn-ghost:hover {
  border-color: var(--slate);
  text-decoration: none;
}
.btn-full {
  width: 100%;
  display: flex;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* ── STATUS BANNERS ──────────────────────────────────────────────── */
.status-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 10px;
  margin-top: 18px;
  font-size: 0.86rem;
}
.status-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.status-pending {
  background: var(--amber-pale);
  border: 1px solid #fde68a;
  color: #92400e;
}
.status-approved {
  background: var(--green-pale);
  border: 1px solid #a7f3d0;
  color: var(--green-deep);
}
.status-rejected {
  background: var(--red-pale);
  border: 1px solid #fecaca;
  color: var(--red);
}
.status-result {
  margin-top: 16px;
}

/* ── REGISTRATION PAGE ───────────────────────────────────────────── */
.reg-page {
  min-height: 100vh;
  background: var(--off);
}
.reg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.reg-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.reg-intro {
  margin-bottom: 36px;
}
.reg-intro h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.reg-intro p {
  color: var(--slate);
  font-size: 0.96rem;
}
.reg-login-hint {
  margin-top: 10px;
  font-size: 0.88rem;
}
.reg-login-hint a {
  font-weight: 700;
  color: var(--blue);
}
.reg-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(26, 34, 56, 0.06);
  padding: 36px 40px 40px;
}
@media (max-width: 640px) {
  .reg-card {
    padding: 24px 20px 28px;
    border-radius: 14px;
  }
}

/* Step navigation */
.step-nav {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex: 1;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--off);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-light);
  transition: all 0.2s ease;
}
.step-label {
  font-size: 0.74rem;
  color: var(--slate-light);
  text-align: center;
  font-weight: 500;
  transition: color 0.2s ease;
}
.step-item.active .step-num {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.step-item.active .step-label {
  color: var(--blue);
  font-weight: 700;
}
.step-item.done .step-num {
  background: var(--green-pale);
  border-color: var(--green);
  color: var(--green);
}
.step-item.done .step-num::after {
  content: "✓";
}
.step-item.done .step-label {
  color: var(--green);
}
.step-connector {
  flex: 0.6;
  height: 2px;
  background: var(--border);
  margin-bottom: 26px;
}

/* Step panes */
.reg-step {
  display: none;
}
.reg-step.active {
  display: block;
}
.reg-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.step-note {
  font-size: 0.84rem;
  color: var(--slate);
  margin-bottom: 16px;
}
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Registration form fields */
.reg-step .field {
  margin-bottom: 18px;
}
.reg-step .field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 5px;
}
.reg-step .field input,
.reg-step .field select,
.reg-step .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.15s ease;
  background: var(--white);
}
.reg-step .field input:focus,
.reg-step .field select:focus,
.reg-step .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 91, 168, 0.1);
}
.reg-step .field textarea {
  min-height: 90px;
  resize: vertical;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.section-divider {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin: 22px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* File upload */
.file-upload-label {
  display: block;
  cursor: pointer;
}
.file-upload-inner {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
  background: var(--off);
  transition: border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.file-upload-label:hover .file-upload-inner {
  border-color: var(--blue);
}
.file-icon {
  font-size: 1.6rem;
}
.file-upload-inner div {
  font-size: 0.86rem;
  color: var(--slate);
}
.file-upload-inner strong {
  color: var(--blue);
}
.file-hint {
  font-size: 0.76rem;
  color: var(--slate-light);
}
.file-input {
  display: none;
}
.file-preview {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.file-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.file-name {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
}

/* Consent box */
.consent-box {
  background: var(--blue-tint);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.84rem;
  color: var(--slate);
  margin-top: 6px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-top: 12px;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

/* Forgot password page */
.auth-simple {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--off);
}
/* Same full-bleed farm photo + blue overlay as the homepage hero and the
   login page's side panel, used behind single-card auth pages (e.g.
   application status) instead of the flat off-white backdrop. */
.auth-simple-photo {
  position: relative;
  overflow: hidden;
}
.auth-simple-photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.auth-simple-photo .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-simple-photo .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(30, 63, 122, 0.9) 0%, rgba(15, 40, 80, 0.94) 100%);
}
.auth-simple-photo .auth-simple-card {
  position: relative;
  z-index: 1;
}
.auth-simple-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 20px 60px -30px rgba(30, 63, 122, 0.18);
}
.auth-simple-card .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--blue);
  margin-bottom: 24px;
  font-weight: 600;
}
.auth-simple-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
.auth-card-home-link {
  display: none;
}
.auth-card-back-link {
  display: none;
}
@media (max-width: 860px) {
  .auth-card-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--blue);
  }
  .auth-card-back-link:hover {
    text-decoration: none;
    color: var(--blue-deep);
  }
  .auth-split {
    grid-template-columns: 1fr;
  }
  .auth-left {
    display: none;
  }
  .auth-right {
    min-height: 100vh;
  }
  .auth-card {
    max-width: 100%;
  }
  .auth-card-home-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    text-decoration: none;
  }
  .auth-card-home-link img {
    width: 100px;
    height: 100px;
    object-fit: contain;
  }
  .auth-card-home-link span {
    font-weight: 800;
    font-size: 0.94rem;
    color: var(--blue-deep);
  }
  .auth-card-home-link span:hover{
    text-decoration: none !important;
  }
}
@media (max-width: 600px) {
  .reg-header {
    padding: 16px 20px;
  }
  .reg-body {
    padding: 28px 16px 60px;
  }
  .auth-card {
    padding: 28px 24px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .step-label {
    display: none;
  }
  .step-nav {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* GOOGLE SIGN-IN */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: #3c4043;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.18s ease;
}
.btn-google:hover {
  border-color: #c9cbcf;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}
