/* ═══════════════════════════════════════════════════════════════════════
   v218.css — "The Sign-in Release" · 2026-10-14
   Loaded last. Owner brief: (1) the 10 g Gold Biscuit funnel entry must be
   highlighted; (2) the sidebar goes back to how it was; (3) the case is
   removed for good; (4) the Retail Customer and Jeweller B2B sign-in forms
   are redesigned to look professional, with text and buttons placed
   consistently.

   The sign-in sheet had rules stacked from v57 to v209 across five files, so
   its layout drifted. This layer is scoped to #shvAuthWrap and sets every
   layout property it uses, so the result no longer depends on what ran before.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1 · 10 g GOLD BISCUIT — THE FUNNEL ENTRY IS THE HIGHLIGHT ─────────── */
.shv-home-campaign-card .shv-hcc-cta-row .btn-gold {
  position: relative;
  min-height: 60px;
  padding: 16px 30px;
  font-size: 16px;
  letter-spacing: .03em;
  box-shadow: 0 14px 32px -12px rgba(212, 175, 90, .65), inset 0 1px 0 rgba(255, 246, 214, .55);
  isolation: isolate;
}
/* a gold halo that breathes outward — transform + opacity only */
.shv-home-campaign-card .shv-hcc-cta-row .btn-gold::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 2px solid rgba(243, 217, 143, .9);
  pointer-events: none;
  z-index: -1;
  animation: v218Halo 2.6s ease-out infinite;
}
@keyframes v218Halo {
  0%   { transform: scale(.96); opacity: .85; }
  80%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
.shv-home-campaign-card .shv-hcc-cta-row .btn-gold:hover,
.shv-home-campaign-card .shv-hcc-cta-row .btn-gold:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(243, 217, 143, .85), inset 0 1px 0 rgba(255, 246, 214, .7);
}
.shv-home-campaign-card .shv-hcc-cta-row .btn-gold:focus-visible {
  outline: 3px solid #fff1c4;
  outline-offset: 4px;
}
@media (max-width: 820px) {
  .shv-home-campaign-card .shv-hcc-cta-row .btn-gold {
    min-height: 62px;
    font-size: 16.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shv-home-campaign-card .shv-hcc-cta-row .btn-gold::after { animation: none; opacity: 0; }
}

/* ── 2 · SIGN-IN SHEET — one professional layout for both doors ──────────── */
#shvAuthWrap {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}
#shvAuthWrap[hidden] { display: none !important; }
#shvAuthWrap .shv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 4, .72);
  cursor: pointer;
}
#shvAuthWrap .shv-card {
  position: relative;
  box-sizing: border-box;
  width: min(440px, 100%);
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #171009 0%, #0d0806 100%);
  border: 1px solid rgba(233, 196, 106, .28);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 236, 190, .08);
  color: #f3e7cc;
  text-align: left;
  font-family: inherit;
}

/* header: emblem · title · close, on one line */
#shvAuthWrap .shv-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
#shvAuthWrap .shv-emblem {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a2a14, #140c05);
  border: 1px solid rgba(233, 196, 106, .45);
}
#shvAuthWrap .shv-emblem img { width: 26px; height: 26px; object-fit: contain; }
#shvAuthWrap .shv-emblem i { display: none; }
#shvAuthWrap .shv-head-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#shvAuthWrap .shv-head-tx b {
  font-family: var(--ff-disp, Georgia, serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .005em;
  color: #fff3d6;
  line-height: 1.15;
}
#shvAuthWrap .shv-head-tx small {
  font-size: 12.5px;
  color: rgba(243, 231, 204, .66);
  line-height: 1.35;
}
#shvAuthWrap .shv-x {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: #f3e7cc;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
#shvAuthWrap .shv-x:hover,
#shvAuthWrap .shv-x:focus-visible { background: rgba(233, 196, 106, .14); border-color: rgba(233, 196, 106, .5); }

/* body scrolls on small screens; the footer stays put */
#shvAuthWrap .shv-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 22px 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* the two doors — equal tabs with a clear selected state */
#shvAuthWrap .shv-aud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
  margin: 0 0 18px;
}
#shvAuthWrap .shv-aud-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(243, 231, 204, .72);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
#shvAuthWrap .shv-aud-btn .au-ic {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
  background: rgba(255, 255, 255, .06);
}
#shvAuthWrap .shv-aud-btn .au-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#shvAuthWrap .shv-aud-btn .au-tx b { font-size: 14px; font-weight: 700; color: inherit; line-height: 1.2; }
#shvAuthWrap .shv-aud-btn .au-tx small { font-size: 11.5px; line-height: 1.3; color: rgba(243, 231, 204, .55); }
#shvAuthWrap .shv-aud-btn:hover { color: #fff3d6; }
#shvAuthWrap .shv-aud-btn:focus-visible { outline: 2px solid #e9c46a; outline-offset: 2px; }
#shvAuthWrap .shv-aud-btn.on {
  color: #fff3d6;
  background: linear-gradient(135deg, rgba(233, 196, 106, .22), rgba(233, 196, 106, .06));
  border-color: rgba(233, 196, 106, .6);
}
#shvAuthWrap .shv-aud-btn.on .au-ic { background: rgba(233, 196, 106, .25); color: #ffe9b4; }
/* the B2B door carries a plum accent so partners know they are in the bullion desk */
#shvAuthWrap .shv-aud-btn[data-aud="jwl"].on {
  background: linear-gradient(135deg, rgba(120, 30, 52, .55), rgba(60, 14, 26, .35));
  border-color: rgba(233, 196, 106, .55);
}

/* panes: one vertical rhythm — label, field, helper, primary action */
#shvAuthWrap .shv-pane { display: flex; flex-direction: column; gap: 0; }
#shvAuthWrap .shv-pane[hidden] { display: none !important; }
#shvAuthWrap .shv-lbl {
  display: block;
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e9d7a8;
  line-height: 1.3;
}
#shvAuthWrap .shv-lbl:first-of-type { margin-top: 0; }
#shvAuthWrap .shv-lbl small {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(243, 231, 204, .55);
}

/* every field shares one height, one radius, one focus ring */
#shvAuthWrap .shv-phone-row,
#shvAuthWrap .shv-pane input:not([type="checkbox"]):not([type="hidden"]) {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .38);
  color: #fff8e8;
  font: inherit;
  font-size: 16px;            /* 16px stops iPhone zoom on focus */
  letter-spacing: .01em;
  padding: 0 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
#shvAuthWrap .shv-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 0;
}
#shvAuthWrap .shv-phone-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  border: 0;
  background: transparent;
  padding: 0 14px 0 0;
  box-shadow: none;
}
#shvAuthWrap .shv-cc {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  color: #e9d7a8;
  font-weight: 700;
  font-size: 15px;
}
#shvAuthWrap .shv-pane input::placeholder { color: rgba(243, 231, 204, .38); }
#shvAuthWrap .shv-phone-row:focus-within,
#shvAuthWrap .shv-pane input:not([type="checkbox"]):focus {
  border-color: rgba(233, 196, 106, .75);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, .14);
}
#shvAuthWrap .shv-pw { position: relative; }
#shvAuthWrap .shv-pw input { padding-right: 56px; }
#shvAuthWrap .shv-eye {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e9d7a8;
  cursor: pointer;
  font-size: 16px;
  display: grid;
  place-items: center;
  padding: 0;
}
#shvAuthWrap .shv-eye:hover { background: rgba(255, 255, 255, .06); }

/* the saved-number shortcut */
#shvAuthWrap .shv-saved {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(233, 196, 106, .35);
  background: rgba(233, 196, 106, .07);
  color: #fff3d6;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
#shvAuthWrap .shv-saved:hover { border-color: rgba(233, 196, 106, .6); }
#shvAuthWrap .shv-saved .sv-ic {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(233, 196, 106, .18);
  font-size: 16px;
}
#shvAuthWrap .shv-saved > span:nth-child(2) { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#shvAuthWrap .shv-saved b { font-size: 14.5px; color: #fff3d6; }
#shvAuthWrap .shv-saved small { font-size: 12px; color: rgba(243, 231, 204, .62); }
#shvAuthWrap .shv-saved .sv-go { font-size: 22px; color: #e9c46a; }
#shvAuthWrap .shv-saved-x {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(243, 231, 204, .6);
  font-size: 12px;
}
#shvAuthWrap .shv-saved-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* checkbox row */
#shvAuthWrap .shv-save {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0 !important;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(243, 231, 204, .78);
  cursor: pointer;
}
#shvAuthWrap .shv-save input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #d4af5a;
}

/* the primary action — full width, one size, one place */
#shvAuthWrap .shv-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  margin: 18px 0 0 !important;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d98f 0%, #d4af5a 55%, #b8862e 100%);
  color: #2a1405;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .03em;
  cursor: pointer;
  box-shadow: 0 16px 34px -14px rgba(212, 175, 90, .6), inset 0 1px 0 rgba(255, 248, 220, .6);
  transition: transform .2s ease, box-shadow .2s ease;
}
#shvAuthWrap .shv-cta:hover { transform: translateY(-1px); }
#shvAuthWrap .shv-cta:disabled { opacity: .6; cursor: default; transform: none; }
#shvAuthWrap .shv-cta-jwl {
  background: linear-gradient(135deg, #6a1f33 0%, #3d0f1d 100%);
  color: #ffe9b4;
  border: 1px solid rgba(233, 196, 106, .6);
  box-shadow: 0 16px 34px -14px rgba(120, 30, 52, .8), inset 0 1px 0 rgba(255, 220, 160, .18);
}
#shvAuthWrap .shv-cta:focus-visible { outline: 3px solid #fff1c4; outline-offset: 3px; }

/* the secondary links, in one row under the action */
#shvAuthWrap .shv-otp-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 14px;
  margin: 16px 0 0;
}
#shvAuthWrap .shv-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: #e9c46a;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
#shvAuthWrap .shv-link:hover,
#shvAuthWrap .shv-link:focus-visible { color: #fff1c4; text-decoration: underline; text-underline-offset: 3px; }

/* fine print: left aligned, quiet, consistent */
#shvAuthWrap .shv-fine {
  margin: 16px 0 0 !important;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(243, 231, 204, .6);
  text-align: left !important;
}
#shvAuthWrap .shv-fine b { color: #e9d7a8; font-weight: 700; }

/* errors: a calm panel above the form, never pushing layout around */
#shvAuthWrap .shv-err {
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 120, 130, .45);
  background: rgba(180, 40, 60, .16);
  color: #ffd9de;
  font-size: 13.5px;
  line-height: 1.45;
}
#shvAuthWrap .shv-err[hidden] { display: none !important; }

/* footer: security note on the left, help on the right */
#shvAuthWrap .shv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 13px 22px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: rgba(0, 0, 0, .18);
  font-size: 12px;
  color: rgba(243, 231, 204, .6);
}
#shvAuthWrap .shv-foot a {
  color: #e9c46a;
  text-decoration: none;
  font-weight: 600;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
#shvAuthWrap .shv-foot a:hover { text-decoration: underline; }

/* phones: the sheet rises from the bottom edge, full width */
@media (max-width: 560px) {
  #shvAuthWrap { align-items: flex-end; padding: 0; }
  #shvAuthWrap .shv-card {
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
  }
  #shvAuthWrap .shv-head { padding: 18px 18px 14px; }
  #shvAuthWrap .shv-body { padding: 16px 18px 18px; }
  #shvAuthWrap .shv-foot { padding: 12px 18px 16px; }
  #shvAuthWrap .shv-aud-btn { min-height: 62px; }
}
@media (max-width: 360px) {
  #shvAuthWrap .shv-aud { grid-template-columns: 1fr; }
}
