/* =====================================================
   Ashland Auctions — Auth (Register / Login / Verify)
   Modal system, matched to the site design tokens.
   ===================================================== */

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px;
  overflow-y: auto;
  background: rgba(40, 40, 40, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.auth-overlay.is-open { opacity: 1; visibility: visible; }

.auth-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--surface-white, #FFFFFF);
  border: 1px solid var(--line, #D4D4D4);
  border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(30, 30, 30, 0.45);
  transform: translateY(14px) scale(0.985);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.auth-overlay.is-open .auth-modal { transform: translateY(0) scale(1); opacity: 1; }
.auth-modal.auth-modal--sm { max-width: 460px; }

/* Split (form + image) layout for login & register */
.auth-modal--split {
  max-width: 960px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.auth-main {
  flex: 1 1 auto;
  min-width: 0;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}
.auth-media {
  position: relative;
  flex: 0 0 380px;
  min-height: 100%;
  padding: 14px 14px 14px 0;
  overflow: hidden;
}
.auth-media img {
  position: absolute;
  top: 14px; right: 14px; bottom: 14px; left: 0;
  width: calc(100% - 14px);
  height: calc(100% - 28px);
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
.auth-media-veil {
  position: absolute; top: 14px; right: 14px; bottom: 14px; left: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(50,50,50,0.15) 0%, rgba(50,50,50,0.72) 100%);
}
.auth-media-copy {
  position: absolute;
  left: 30px; right: 44px; bottom: 44px;
  color: #FFFFFF;
}
.auth-media-eyebrow {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand, #EACB2C);
  margin-bottom: 10px;
}
.auth-media-title {
  font-family: var(--font-display, "Inter", sans-serif);
  font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em;
}
.auth-media-sub {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13.5px; line-height: 1.5; margin-top: 10px;
  color: rgba(255,255,255,0.88);
}
.auth-modal--split .auth-close {
  background: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.5);
}
.auth-modal--wide { max-width: 720px; }
.auth-modal--wide .auth-main { max-height: calc(100vh - 96px); overflow-y: auto; width: 100%; }

.auth-head {
  padding: 26px 34px 20px;
  border-bottom: 1px solid var(--line-soft, rgba(212,212,212,0.6));
}
.auth-title {
  font-family: var(--font-display, -apple-system, "Inter", sans-serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text-primary, #323232);
  line-height: 1.1;
}
.auth-modal-title {
  font-family: var(--font-display, "Inter", sans-serif);
  font-weight: 700; font-size: 24px; letter-spacing: -0.01em;
  color: var(--text-primary, #323232);
}
.auth-sub {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 14px;
  color: var(--text-muted, #646464);
  line-height: 1.55;
  margin-top: 8px;
}

.auth-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line, #D4D4D4);
  background: var(--surface-white, #FFF);
  color: var(--text-muted, #646464);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 3;
}
.auth-close i { font-size: 20px; }
.auth-close:hover { background: var(--text-primary, #323232); color: #FFF; border-color: var(--text-primary, #323232); }

/* Stepper */
.auth-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.auth-step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-muted, #969696);
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.25s;
}
.auth-step .auth-step-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  background: #ECECEC; color: var(--text-muted, #969696);
  transition: all 0.25s;
}
.auth-step.is-active {
  background: var(--text-primary, #323232);
  color: #FFFFFF;
}
.auth-step.is-active .auth-step-dot { background: var(--brand, #EACB2C); color: var(--text-primary, #323232); }
.auth-step.is-done { color: var(--brand-deep, #C9AC1F); }
.auth-step.is-done .auth-step-dot { background: var(--brand, #EACB2C); color: var(--text-primary, #323232); }
.auth-step-sep { flex: 0 0 14px; height: 1px; background: var(--line, #D4D4D4); }

.auth-body { padding: 22px 34px 26px; }

/* Register compact spacing to avoid scroll */
.auth-body .auth-grid { gap: 13px 16px; }
.auth-body .auth-google { padding: 11px 18px; }
.auth-body .auth-divider { margin: 16px 0; }
.auth-body .auth-label { margin-bottom: 5px; }
.auth-body .auth-input { padding: 11px 14px; }
.auth-body .auth-check { margin-top: 14px; }
.auth-body .auth-foot { margin-top: 18px; }

/* Google / SSO */
.auth-google {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 11px;
  background: #FFFFFF;
  border: 1.5px solid var(--line, #D4D4D4);
  border-radius: 12px;
  padding: 13px 18px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-primary, #323232);
  cursor: pointer;
  transition: all 0.2s;
}
.auth-google:hover { border-color: var(--text-primary, #323232); background: #FAFAFA; box-shadow: 0 4px 14px -8px rgba(0,0,0,0.25); }
.auth-google svg { width: 20px; height: 20px; flex-shrink: 0; }
.auth-google--email { color: var(--text-primary, #323232); }
.auth-google--email i { font-size: 20px; color: var(--brand-deep, #C9AC1F); }
.auth-google--email:hover { border-color: var(--text-primary, #323232); background: #FAFAFA; }
/* The class sets display:flex, which outranks the UA [hidden] rule — without
   this the button stays on screen after it swaps for the email field. */
.auth-google[hidden] { display: none; }
/* Already captured at the email-first step, so it is shown but not editable.
   Text stays at full contrast — it has to be readable to be checked. */
.auth-input.is-locked,
.auth-input:disabled {
  background: var(--surface-light, #E8EEEF);
  color: var(--text-primary, #323232);
  border-color: var(--line-soft, rgba(212, 212, 212, 0.6));
  cursor: not-allowed;
  -webkit-text-fill-color: var(--text-primary, #323232);  /* Safari fades disabled text otherwise */
  opacity: 1;
}
/* Email-first step: replaces the "Register with email" button in place. */
.auth-emailfirst { margin-top: 4px; }
.auth-emailfirst[hidden] { display: none; }
.auth-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0; margin-bottom: 16px;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; font-weight: 600;
  color: var(--text-muted, #646464); cursor: pointer; transition: color 0.2s;
}
.auth-back-link:hover { color: var(--text-primary, #323232); }
.auth-back-link i { font-size: 16px; }

.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 22px 0;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #969696);
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft, rgba(212,212,212,0.7));
}

/* Fields */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px 16px; }
.auth-grid--2 { grid-template-columns: 1fr 1fr; }
.auth-field { display: flex; flex-direction: column; }
.auth-field.col-span-2 { grid-column: span 2; }
.auth-field.col-span-3 { grid-column: span 3; }

.auth-label {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--text-primary, #323232);
  margin-bottom: 7px;
  display: flex; align-items: center; gap: 4px;
}
.auth-label .req { color: #E04646; font-weight: 700; }
.auth-label .ok { color: #2E9E5B; font-size: 15px; display: inline-flex; }
.auth-label .bad { color: #E04646; font-size: 15px; display: none; }

.auth-input {
  width: 100%;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 14px;
  color: var(--text-primary, #323232);
  background: var(--surface-white, #FFFFFF);
  border: 1.5px solid var(--line, #D4D4D4);
  border-radius: 11px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.auth-input::placeholder { color: #A6A6A6; }
.auth-input:focus {
  border-color: var(--text-primary, #323232);
  background: #F5F8FF;
  box-shadow: 0 0 0 4px rgba(50, 50, 50, 0.06);
}
.auth-input.is-invalid { border-color: #E04646; box-shadow: 0 0 0 4px rgba(224,70,70,0.08); }
.auth-input.is-valid { border-color: #2E9E5B; }
.auth-field-hint { font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 11.5px; color: var(--text-muted, #969696); margin-top: 6px; }
.auth-field-err { font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 11.5px; color: #E04646; margin-top: 6px; display: none; }
.auth-field.has-error .auth-field-err { display: block; }
.auth-field.has-error .auth-field-hint { display: none; }

/* password wrap */
.auth-pass-wrap { position: relative; }
.auth-pass-wrap .auth-input { padding-right: 44px; }
.auth-pass-toggle {
  position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
  border: none; background: transparent; cursor: pointer; color: var(--text-muted, #969696);
  display: inline-flex; padding: 4px;
}
.auth-pass-toggle:hover { color: var(--text-primary, #323232); }
.auth-pass-toggle i { font-size: 19px; }

/* Terms step */
.auth-terms-box {
  border: 1.5px solid var(--line, #D4D4D4);
  border-radius: 12px;
  background: #FAFAF8;
  padding: 18px 20px;
  max-height: 240px;
  overflow-y: auto;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-body, #4B4B4B);
}
.auth-terms-box h4 { font-size: 13.5px; font-weight: 700; color: var(--text-primary, #323232); margin: 16px 0 6px; }
.auth-terms-box h4:first-child { margin-top: 0; }
.auth-terms-box p { margin-bottom: 10px; }

.auth-check {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 18px; cursor: pointer;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13.5px; color: var(--text-body, #4B4B4B); line-height: 1.5;
}
.auth-check input { width: 19px; height: 19px; margin-top: 1px; accent-color: var(--brand-deep, #C9AC1F); flex-shrink: 0; cursor: pointer; }
.auth-check a { color: var(--brand-deep, #C9AC1F); font-weight: 600; }
.auth-check a:hover { color: var(--text-primary, #323232); }

/* Footer / actions */
.auth-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 26px;
}
.auth-foot.end { justify-content: flex-end; }
.auth-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-weight: 700; font-size: 14.5px;
  border-radius: 12px; padding: 13px 26px;
  cursor: pointer; border: none; transition: all 0.2s;
}
.auth-btn i { font-size: 18px; }
.auth-btn--primary { background: var(--brand, #EACB2C); color: var(--text-primary, #323232); }
.auth-btn--primary:hover { background: var(--brand-deep, #C9AC1F); transform: translateY(-1px); }
.auth-btn--ghost { background: transparent; color: var(--text-primary, #323232); font-weight: 600; padding-left: 8px; padding-right: 8px; }
.auth-btn--ghost:hover { color: var(--brand-deep, #C9AC1F); }
.auth-btn--dark { background: var(--text-primary, #323232); color: #FFF; }
.auth-btn--dark:hover { background: #000; transform: translateY(-1px); }
.auth-btn--text { background: transparent; color: var(--text-muted, #646464); font-weight: 600; padding-left: 8px; padding-right: 8px; }
.auth-btn--text:hover { color: var(--text-primary, #323232); }

/* Nav profile widget (logged-in completion status) */
.nav-profile {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer; padding: 4px 6px 4px 4px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
}
.nav-profile-ring {
  position: relative; width: 42px; height: 42px; flex: none;
  border-radius: 50%; padding: 3px;
  background: conic-gradient(var(--brand-deep, #C9AC1F) 40%, rgba(50,50,50,.14) 0);
  display: grid; place-items: center;
}
.nav-profile-avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--brand, #EACB2C); display: grid; place-items: center;
  color: #1c1c1c; font-size: 18px;
}
.nav-profile.is-complete .nav-profile-avatar { background: var(--brand, #EACB2C); color: #1c1c1c; }
.nav-profile-pct {
  position: absolute; right: -3px; bottom: -3px;
  background: var(--text-primary, #323232); color: #fff;
  font-size: 9.5px; font-weight: 700; line-height: 1;
  padding: 3px 4px; border-radius: 999px; border: 2px solid #fff;
}
/* The name is user data now, so the column has to cap it rather than let a
   long one push the nav around. */
.nav-profile-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; min-width: 0; max-width: 180px; }
.nav-profile-name {
  font-size: 13px; font-weight: 600; color: var(--text-primary, #323232);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-profile-status { font-size: 11px; font-weight: 500; color: #646464; }
.nav-profile.is-complete .nav-profile-status { color: #646464; }
.nav-profile:hover .nav-profile-name { color: var(--brand-deep, #C9AC1F); }
/* pending-profile tooltip */
.nav-profile-tip {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 40;
  width: max-content; max-width: 240px;
  background: var(--text-primary, #323232); color: #fff;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 12px; font-weight: 500; line-height: 1.35;
  padding: 9px 12px; border-radius: 10px;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
  pointer-events: none; text-align: left;
}
.nav-profile-tip::before {
  content: ""; position: absolute; top: -5px; right: 20px;
  width: 10px; height: 10px; background: var(--text-primary, #323232);
  transform: rotate(45deg); border-radius: 2px;
}
.nav-profile-tip b { color: var(--brand, #EACB2C); font-weight: 700; }
.nav-profile:not(.is-complete):hover .nav-profile-tip,
.nav-profile.show-tip .nav-profile-tip { opacity: 1; visibility: visible; transform: translateY(0); }

/* Profile page */
.auth-profile-modal {
  width: min(920px, 94vw); max-height: 90vh; overflow: hidden;
  background: #F4F5F7; border-radius: 20px; padding: 0;
}
.auth-profile-scroll { max-height: 90vh; overflow-y: auto; padding: 30px 30px 34px; }
.auth-profile-h { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; color: var(--text-primary, #323232); margin: 0 0 20px; }
.auth-pcard { background: #fff; border: 1px solid var(--line-soft, rgba(212,212,212,0.6)); border-radius: 14px; padding: 22px 24px; margin-bottom: 18px; }
.auth-pcard:last-child { margin-bottom: 0; }
.auth-psummary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-psum-info { display: flex; flex-direction: column; gap: 3px; }
.auth-pname { font-family: var(--font-ui, 'Poppins', sans-serif); font-weight: 700; font-size: 19px; color: var(--text-primary, #323232); }
.auth-psum-meta { font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; color: var(--text-muted, #646464); }
.auth-psum-status { font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 12px; font-weight: 600; margin-top: 4px; }
.auth-pcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.auth-pcard-head h3 { font-family: var(--font-ui, 'Poppins', sans-serif); font-weight: 700; font-size: 17px; color: var(--text-primary, #323232); margin: 0; }
.auth-pedit {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line, #D4D4D4); border-radius: 10px;
  padding: 8px 14px; cursor: pointer;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; font-weight: 600;
  color: var(--text-primary, #323232); box-shadow: 0 4px 12px -8px rgba(0,0,0,0.25);
  transition: border-color .2s, background .2s;
}
.auth-pedit:hover { border-color: var(--text-primary, #323232); background: #FAFAFA; }
.auth-pedit i { font-size: 15px; }
.auth-pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.auth-pfield { display: flex; flex-direction: column; gap: 7px; }
.auth-plabel { font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; color: var(--text-muted, #646464); }
.auth-pval {
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 15px; color: var(--text-primary, #323232);
  border: 1px solid var(--line, #D4D4D4); border-radius: 10px; padding: 12px 14px; background: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auth-pval.is-empty { color: #A6A6A6; }
@media (max-width: 640px) { .auth-pgrid { grid-template-columns: 1fr; } .auth-psummary { flex-direction: column; align-items: flex-start; } }

/* Property-type chips */
.auth-chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.auth-chip { position: relative; cursor: pointer; }
.auth-chip input { position: absolute; opacity: 0; pointer-events: none; }
.auth-chip span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line, #D4D4D4); background: #fff;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 14px; font-weight: 500;
  color: var(--text-body, #4B4B4B); transition: all .18s;
}
.auth-chip:hover span { border-color: var(--text-primary, #323232); }
.auth-chip input:checked + span {
  background: var(--brand, #EACB2C); border-color: var(--brand, #EACB2C);
  color: #1c1c1c; font-weight: 600;
}

/* Location rows */
.auth-loc-list { display: flex; flex-direction: column; gap: 12px; }
.auth-loc-row { display: grid; grid-template-columns: 1.2fr 1fr 0.9fr auto; gap: 10px; align-items: center; }
.auth-loc-row.single { grid-template-columns: 1fr auto; }

/* Location search + map */
.auth-loc-search { position: relative; margin-bottom: 14px; }
.auth-loc-search > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--text-muted, #646464); pointer-events: none; }
.auth-loc-search input.auth-input { padding-left: 44px; }
.auth-loc-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border: 1px solid var(--line, #D4D4D4); border-radius: 12px; box-shadow: 0 18px 44px -18px rgba(0,0,0,0.3); overflow: hidden; display: none; max-height: 260px; overflow-y: auto; }
.auth-loc-results.is-open { display: block; }
.auth-loc-res { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-soft, rgba(212,212,212,.5)); padding: 11px 14px; cursor: pointer; font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 14px; font-weight: 500; color: var(--text-primary, #323232); transition: background .15s; }
.auth-loc-res:last-child { border-bottom: 0; }
.auth-loc-res:hover { background: rgba(234,203,44,.14); }
.auth-loc-res i { font-size: 16px; color: var(--brand-deep, #C9AC1F); flex: none; }
.auth-loc-res small { display: block; font-weight: 400; font-size: 11.5px; color: var(--text-muted, #646464); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.auth-loc-res-empty { padding: 12px 14px; font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; color: var(--text-muted, #646464); }
.auth-loc-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; min-height: 4px; }
.auth-loc-empty { font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; color: #A6A6A6; }
.auth-loc-tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(234,203,44,.16); border: 1px solid var(--brand-deep, #C9AC1F); border-radius: 999px; padding: 7px 8px 7px 13px; font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; font-weight: 500; color: var(--text-primary, #323232); }
.auth-loc-tag > i { font-size: 15px; color: var(--brand-deep, #C9AC1F); }
.auth-loc-tag-x { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(50,50,50,.1); color: var(--text-primary, #323232); cursor: pointer; transition: background .15s; }
.auth-loc-tag-x:hover { background: #C0392B; color: #fff; }
.auth-loc-tag-x i { font-size: 12px; }
.auth-loc-map { height: 300px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line, #D4D4D4); background: #EDEDED; }
.auth-loc-map .leaflet-container { height: 100%; width: 100%; font-family: var(--font-ui, 'Poppins', sans-serif); }
.auth-loc-hint { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 12.5px; color: var(--text-muted, #646464); }
.auth-loc-hint i { font-size: 15px; }
.auth-loc-x {
  width: 40px; height: 44px; flex: none; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line, #D4D4D4); border-radius: 11px;
  color: var(--text-muted, #646464); cursor: pointer; transition: all .18s;
}
.auth-loc-x:hover { border-color: #C0392B; color: #C0392B; background: #FDF3F2; }
.auth-loc-add {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  background: rgba(234,203,44,.14); border: 1px dashed var(--brand-deep, #C9AC1F); border-radius: 11px;
  padding: 10px 16px; cursor: pointer;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; font-weight: 600;
  color: var(--brand-deep, #C9AC1F); transition: background .18s;
}
.auth-loc-add:hover { background: rgba(234,203,44,.24); }
.auth-loc-add i { font-size: 16px; }
@media (max-width: 560px) { .auth-loc-row { grid-template-columns: 1fr 1fr; } }

/* Location tags on profile page */
.auth-loc-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.auth-loc-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: #F4F5F7; border: 1px solid var(--line-soft, rgba(212,212,212,0.6)); border-radius: 999px;
  padding: 8px 14px; font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; font-weight: 500;
  color: var(--text-primary, #323232);
}
.auth-loc-tag i { font-size: 15px; color: var(--brand-deep, #C9AC1F); }
.auth-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.auth-btn--primary {
  box-shadow: 0 8px 20px -10px rgba(201,172,31,0.9);
}
.auth-btn--primary:hover { box-shadow: 0 12px 24px -10px rgba(201,172,31,0.95); }
.auth-btn--wide { min-width: 200px; }
.auth-btn--wide i { transition: transform 0.2s; }
.auth-btn--wide:hover i { transform: translateX(3px); }

/* Select + phone controls */
.auth-select-wrap { position: relative; }
.auth-select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  color: var(--text-primary, #323232);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23646464' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.auth-select:invalid { color: #A6A6A6; }
.auth-phone { display: flex; align-items: stretch; }
.auth-phone-cc {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 12px;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 14px; font-weight: 600;
  color: var(--text-primary, #323232);
  background: #FAFAF8;
  border: 1.5px solid var(--line, #D4D4D4); border-right: none;
  border-radius: 11px 0 0 11px; white-space: nowrap;
}
.auth-flag { font-size: 16px; line-height: 1; }
.auth-phone .auth-input { border-radius: 0 11px 11px 0; }
.auth-label-note {
  font-weight: 400; font-size: 11px; color: var(--text-muted, #969696);
  margin-left: 2px;
}

/* Verify sections (email + phone) */
.auth-vsection {
  border: 1.5px solid var(--line, #D4D4D4);
  border-radius: 14px;
  padding: 16px 18px 14px;
  margin-top: 16px;
}
.auth-vsection-head { display: flex; align-items: flex-start; gap: 12px; }
.auth-vstep-num {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--text-primary, #323232); color: #FFF;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; font-weight: 700;
}
.auth-vstep-num.done { background: var(--brand, #EACB2C); color: var(--text-primary, #323232); }
.auth-vstep-num i { font-size: 15px; }
.auth-vsection-title {
  font-family: var(--font-ui, 'Poppins', sans-serif); font-weight: 700; font-size: 14px;
  color: var(--text-primary, #323232);
}
.auth-vsection-sub {
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 12.5px; line-height: 1.45;
  color: var(--text-muted, #646464); margin-top: 2px;
}
.auth-vsection .auth-code { margin: 14px 0 6px; }
.auth-vsection .auth-code input { width: 44px; height: 52px; font-size: 21px; border-radius: 10px; }
.auth-vsection .auth-resend { margin-top: 4px; }

.auth-switch {
  text-align: center; margin-top: 22px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13.5px; color: var(--text-muted, #646464);
}
.auth-switch button {
  border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-size: inherit; font-weight: 700;
  color: var(--brand-deep, #C9AC1F);
}
.auth-switch button:hover { color: var(--text-primary, #323232); text-decoration: underline; }

/* Step panels */
.auth-panel { display: none; animation: authRise 0.28s ease; }
.auth-panel.is-active { display: block; }
@keyframes authRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Verify email popup */
.auth-verify-icon {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(234, 203, 44, 0.16);
  color: var(--brand-deep, #C9AC1F);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
}
.auth-verify-icon i { font-size: 32px; }
.auth-center { text-align: center; }
.auth-email-strong { color: var(--text-primary, #323232); font-weight: 700; }

/* Verify — landscape single-box layout */
.auth-modal--verify { max-width: 720px; }
.auth-verify-land { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.auth-verify-aside { text-align: left; }
.auth-verify-aside .auth-verify-icon { margin: 0 0 4px; }
.auth-verify-main {
  border-left: 1px solid var(--line-soft, #E4E4E4);
  padding-left: 34px;
  padding-right: 28px;
}
.auth-vstep { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; }
.auth-vnum {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(234, 203, 44, 0.18); color: var(--brand-deep, #C9AC1F);
  font-family: var(--font-display, "Inter", sans-serif); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.auth-vstep p {
  margin: 2px 0 0; font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13.5px; color: var(--text-muted, #646464);
}
.auth-verify-main .auth-code { margin: 16px 0 6px; }

/* Phone type dropdown (right side) */
.auth-phone-type { flex: none; width: auto; }
.auth-phone-type .auth-select {
  border-radius: 0 11px 11px 0; border-left: none;
  padding-right: 30px; background-position: right 8px center;
  min-width: 118px;
  background-color: #FAFAF8;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 14px; font-weight: 600;
  color: var(--text-primary, #323232);
}
.auth-phone input { border-radius: 0; flex: 1 1 auto; min-width: 0; }
.auth-phone:has(.auth-phone-type) > .auth-input { border-radius: 0; }

.auth-code {
  display: flex; gap: 10px; justify-content: center; margin: 26px 0 8px;
}
.auth-code input {
  width: 52px; height: 60px;
  text-align: center;
  font-family: var(--font-display, "Inter", sans-serif);
  font-size: 24px; font-weight: 700;
  color: var(--text-primary, #323232);
  border: 1.5px solid var(--line, #D4D4D4);
  border-radius: 12px;
  outline: none;
  transition: all 0.18s;
}
.auth-code input:focus { border-color: var(--text-primary, #323232); box-shadow: 0 0 0 4px rgba(50,50,50,0.06); }
.auth-code input.filled { border-color: var(--brand-deep, #C9AC1F); background: rgba(234,203,44,0.06); }

.auth-resend {
  text-align: center; margin-top: 10px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13px; color: var(--text-muted, #646464);
}
.auth-resend button {
  border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-weight: 700; color: var(--brand-deep, #C9AC1F);
}
.auth-resend button:disabled { color: var(--text-muted, #A6A6A6); cursor: not-allowed; }
.auth-resend button:not(:disabled):hover { text-decoration: underline; }

.auth-verify-err {
  text-align: center; margin-top: 14px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13px; color: #E04646; font-weight: 600;
  display: none;
}
.auth-verify-err.show { display: block; }

/* Success / complete */
.auth-success-badge {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--brand, #EACB2C);
  display: flex; align-items: center; justify-content: center;
  margin: 6px auto 0;
  animation: authPop 0.4s cubic-bezier(0.22,1,0.36,1);
}
.auth-success-badge i { font-size: 40px; color: var(--text-primary, #323232); }
@keyframes authPop { 0% { transform: scale(0.4); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.auth-success-list {
  list-style: none; padding: 0; margin: 22px auto 0; max-width: 340px;
  display: flex; flex-direction: column; gap: 12px;
}
.auth-success-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13.5px; color: var(--text-body, #4B4B4B); text-align: left; line-height: 1.45;
}
.auth-success-list li i { color: var(--brand-deep, #C9AC1F); font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.nav-login {
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-primary, #323232);
  text-decoration: none;
  padding: 10px 8px;
  transition: color 0.2s;
}
.nav-login:hover { color: var(--brand-deep, #C9AC1F); }

/* Date picker */
.auth-date-wrap { position: relative; }
.auth-date-wrap .auth-input { padding-right: 44px; cursor: pointer; }
.auth-date-btn {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  border: none; background: transparent; cursor: pointer; color: var(--text-muted, #969696);
  display: inline-flex; padding: 5px;
}
.auth-date-btn:hover { color: var(--brand-deep, #C9AC1F); }
.auth-date-btn i { font-size: 19px; }

.auth-cal {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: 296px;
  background: var(--surface-white, #FFFFFF);
  border: 1.5px solid var(--line, #D4D4D4);
  border-radius: 14px;
  box-shadow: 0 18px 44px -18px rgba(30,30,30,0.4);
  padding: 14px;
  animation: authRise 0.18s ease;
}
.auth-cal[hidden] { display: none; }
.auth-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.auth-cal-nav {
  width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line, #D4D4D4); background: #FFF;
  color: var(--text-primary, #323232); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.18s;
}
.auth-cal-nav:hover { background: var(--text-primary, #323232); color: #FFF; border-color: var(--text-primary, #323232); }
.auth-cal-nav i { font-size: 18px; }
.auth-cal-selects { display: flex; gap: 6px; flex: 1; }
.auth-cal-sel {
  flex: 1; min-width: 0;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13px; font-weight: 600; color: var(--text-primary, #323232);
  background: #FAFAF8; border: 1px solid var(--line, #D4D4D4);
  border-radius: 8px; padding: 7px 8px; cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23646464' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; padding-right: 24px;
}
.auth-cal-sel:focus { border-color: var(--text-primary, #323232); }
.auth-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.auth-cal-dow span {
  text-align: center;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 11px; font-weight: 600; color: var(--text-muted, #969696);
  padding: 4px 0; margin-bottom: 2px;
}
.auth-cal-day {
  aspect-ratio: 1; border: none; background: transparent; border-radius: 9px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13px; font-weight: 500; color: var(--text-primary, #323232);
  cursor: pointer; transition: all 0.15s;
  display: inline-flex; align-items: center; justify-content: center;
}
.auth-cal-day:hover:not(:disabled) { background: rgba(234,203,44,0.22); }
.auth-cal-day.is-sel { background: var(--brand, #EACB2C); color: var(--text-primary, #323232); font-weight: 700; }
.auth-cal-day:disabled { color: #CFCFCF; cursor: not-allowed; }

body.auth-lock { overflow: hidden; }

@media (max-width: 780px) {
  .auth-modal--split { display: block; max-width: 560px; }
  .auth-modal--verify { max-width: 460px; }
  .auth-verify-land { grid-template-columns: 1fr; gap: 20px; }
  .auth-verify-main { border-left: none; padding-left: 0; border-top: 1px solid var(--line-soft, #E4E4E4); padding-top: 20px; }
  .auth-media { display: none; }
  .auth-main { max-height: none; overflow: visible; }
}

@media (max-width: 560px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-field.col-span-2, .auth-field.col-span-3 { grid-column: span 1; }
  .auth-head, .auth-body { padding-left: 22px; padding-right: 22px; }
  .auth-title { font-size: 24px; }
  .auth-steps { flex-wrap: wrap; }
  .auth-code input { width: 42px; height: 52px; font-size: 20px; }
}

/* Billing block on the address step — revealed when "Same as above" is off.
   Stated explicitly so no class-level display can outrank [hidden]. */
[data-billfields][hidden] { display: none; }

/* =====================================================
   HEADER PROFILE MENU
   The widget was a straight link to the profile page; it is a menu trigger now
   so any account section is one click from any page.
   ===================================================== */
.nav-profile-shell { position: relative; display: inline-flex; }
.nav-profile-caret { font-size: 15px; color: var(--text-muted, #646464); margin-left: 2px; flex-shrink: 0; }
.nav-profile[aria-expanded="true"] .nav-profile-caret { transform: rotate(180deg); }

.nav-profile-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 120;
  width: 262px; padding: 7px;
  background: #fff; border: 1px solid var(--line, #D4D4D4); border-radius: 16px;
  box-shadow: 0 24px 54px -22px rgba(0,0,0,.4);
  display: flex; flex-direction: column; gap: 1px;
  animation: navMenuIn .16s ease-out;
}
/* A class-level display outranks the UA [hidden] rule, so state it. */
.nav-profile-menu[hidden] { display: none; }
@keyframes navMenuIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}
.nav-profile-link {
  display: flex; align-items: flex-start; gap: 11px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 11px; border: none; background: none; cursor: pointer;
  text-decoration: none; color: var(--text-primary, #323232); transition: background .15s;
}
.nav-profile-link:hover { background: var(--bg, #F9F9F9); }
.nav-profile-link > i { font-size: 18px; color: var(--brand-deep, #C9AC1F); flex-shrink: 0; margin-top: 1px; }
.nav-profile-link span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-profile-link b {
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13.5px; font-weight: 600;
  color: var(--text-primary, #323232);
}
.nav-profile-link em {
  font-style: normal; font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 11.5px; color: var(--text-muted, #646464); line-height: 1.4;
}
.nav-profile-sep { height: 1px; background: var(--line-soft, rgba(212,212,212,.6)); margin: 5px 4px; }
.nav-profile-link.is-out > i,
.nav-profile-link.is-out b { color: #C0392B; }
.nav-profile-link.is-out:hover { background: #FDF3F2; }

@media (max-width: 720px) {
  .nav-profile-menu { width: 244px; }
  .nav-profile-link em { display: none; }
}

/* =====================================================
   VERIFICATION — email step
   Step 1 has no actions: only the emailed link can complete it, so the screen
   reports state instead of offering a button.
   ===================================================== */
.auth-waiting {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 22px; padding: 11px 16px;
  background: var(--bg, #F9F9F9); border: 1px solid var(--line-soft, rgba(212,212,212,.6));
  border-radius: 999px;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 13px; font-weight: 500;
  color: var(--text-muted, #646464);
}
.auth-waiting-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand-deep, #C9AC1F);
  flex-shrink: 0; animation: authWait 1.4s ease-in-out infinite;
}
@keyframes authWait {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.72); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-waiting-dot { animation: none; }
}

.auth-vnote {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 16px;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 12.5px;
  line-height: 1.55; color: var(--text-muted, #646464); text-align: left;
}
.auth-vnote i { font-size: 16px; color: var(--brand-deep, #C9AC1F); flex-shrink: 0; margin-top: 1px; }

/* Carried through to step 2 so the sequence is legible. */
.auth-vdone {
  display: inline-flex; align-items: center; gap: 7px;
  background: #D9F0DB; color: #1B6B2A; border-radius: 999px; padding: 5px 13px;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.auth-vdone i { font-size: 15px; }

/* =====================================================
   MULTI-SELECT — dropdown holding its selection as pills
   Eleven property types laid out inline swamped the step, so the list sits
   behind a control the same size as the other inputs.
   ===================================================== */
.auth-ms { position: relative; }
.auth-ms-control {
  display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer; text-align: left;
  min-height: 50px; padding: 8px 14px; background: #fff;
  border: 1.5px solid var(--line, #D4D4D4); border-radius: 11px;
  font: inherit; transition: border-color .18s, box-shadow .18s;
}
.auth-ms-control:hover { border-color: var(--text-primary, #323232); }
.auth-ms-control:focus-visible { outline: 2px solid var(--text-primary, #323232); outline-offset: 2px; }
.auth-ms-control[aria-expanded="true"] {
  border-color: var(--text-primary, #323232); background: #F5F8FF;
  box-shadow: 0 0 0 4px rgba(50,50,50,.06);
}
.has-error .auth-ms-control { border-color: var(--status-red, #E04646); }

.auth-ms-pills { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.auth-ms-ph { font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 15px; color: #A6A6A6; }
/* Matches c-achip in the component library — its removable filter chip is
   grey #ECECEC, not brand yellow. Brand yellow stays for the checked tick
   inside the panel, which is what c-edchip specifies. */
.auth-ms-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ECECEC; border: 1px solid var(--line-soft, rgba(212,212,212,.6));
  border-radius: 999px; padding: 5px 6px 5px 13px;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 12.5px; font-weight: 500;
  color: var(--text-primary, #323232);
}
.auth-ms-x {
  display: grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(50,50,50,.1); color: var(--text-body, #4B4B4B);
}
.auth-ms-x:hover { background: rgba(50,50,50,.18); }
.auth-ms-x i { font-size: 11px; }
.auth-ms-caret { font-size: 18px; color: var(--text-muted, #646464); flex-shrink: 0; transition: transform .18s; }
.auth-ms-control[aria-expanded="true"] .auth-ms-caret { transform: rotate(180deg); }

/* The open panel is moved to <body> and positioned from JS against the
   control's viewport rect — .auth-main scrolls and .auth-modal is transformed,
   so no in-place positioning can escape the clip. Its z-index clears the
   overlay's 2000. */
.auth-ms-panel {
  background: #fff; border: 1px solid var(--line, #D4D4D4); border-radius: 13px;
  box-shadow: 0 22px 48px -22px rgba(0,0,0,.42); overflow: hidden;
}
.auth-ms-panel.is-portal { position: fixed; z-index: 2200; }
/* A class-level display would outrank [hidden]; state it explicitly. */
.auth-ms-panel[hidden] { display: none; }
.auth-ms-h {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line-soft, rgba(212,212,212,.6));
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 12px; color: var(--text-muted, #646464);
}
.auth-ms-h [data-ms-count][hidden] { display: none; }
.auth-ms-clear {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 12.5px; font-weight: 600;
  color: var(--brand-deep, #C9AC1F); text-decoration: underline; text-underline-offset: 3px;
}
.auth-ms-clear:hover { color: var(--text-primary, #323232); }
.auth-ms-opts { max-height: 244px; overflow-y: auto; padding: 6px; }
.auth-ms-opt {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 9px 10px; border-radius: 9px; transition: background .15s;
}
.auth-ms-opt:hover { background: var(--bg, #F9F9F9); }
.auth-ms-opt input { position: absolute; opacity: 0; pointer-events: none; }
.auth-ms-box {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 5px;
  border: 1.5px solid var(--line, #D4D4D4); background: #fff;
  display: grid; place-items: center; color: #1c1c1c; transition: all .15s;
}
.auth-ms-box i { font-size: 13px; opacity: 0; }
.auth-ms-opt input:checked + .auth-ms-box { background: var(--brand, #EACB2C); border-color: var(--brand, #EACB2C); }
.auth-ms-opt input:checked + .auth-ms-box i { opacity: 1; }
.auth-ms-opt input:focus-visible + .auth-ms-box { outline: 2px solid var(--text-primary, #323232); outline-offset: 2px; }
.auth-ms-lbl { font-family: var(--font-ui, 'Poppins', sans-serif); font-size: 14px; color: var(--text-body, #4B4B4B); }
.auth-ms-opt input:checked ~ .auth-ms-lbl { color: var(--text-primary, #323232); font-weight: 600; }

/* Explanatory note above the optional card step — same tone as the profile
   page's Good Faith Authorization panel. */
.auth-note {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--surface-light, #E8EEEF);
  border-radius: 12px; padding: 14px 16px;
  font-family: var(--font-ui, 'Poppins', sans-serif);
  font-size: 13px; line-height: 1.55; color: var(--text-body, #4B4B4B);
}
.auth-note i { font-size: 18px; flex-shrink: 0; color: var(--brand-deep, #C9AC1F); margin-top: 1px; }
