/* ════════════════════════════════════════════════════════════════════════
   THE ACCOUNT'S MONEY ON THE MAIN SITE (2026-10-08).
   The All Access card (panels/_allaccess.php) and the card popup
   (panels/_card_modal.php) were written for an app's screens (shell.css).
   On the main site they speak dashboard.css: these tokens are only names
   for the main site's own (no new colours), and the rules are shell.css's
   card-popup and button rules, verbatim.
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --brand: var(--blue); --brand-ink: #ffffff;
  --border: var(--card-border); --border-2: var(--border-btn);
  --panel: var(--card-bg); --lab: var(--ink-2);
  --in-bord: var(--border-btn); --in-focus: var(--blue);
  /* …and the domains screen's (extensions/customdomains/views/domains-panel.php). */
  --bg: var(--card-bg); --sub: var(--ink-sub); --body: var(--ink-2); --sep: var(--grid-gap-bg);
}
.shbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 9px; background: var(--brand); color: var(--brand-ink);
  font-weight: 600; font-family: inherit; cursor: pointer;
  box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--brand) 50%, transparent);
  text-decoration: none;
}
.shbtn:hover { filter: brightness(.92); }
.shbtn:disabled { opacity: .6; cursor: default; filter: none; }
.shbtn.lg { border-radius: 11px; }
.shbtn.flat { box-shadow: none; }
.shbtn.tint { background: color-mix(in srgb, var(--brand) 8.6%, transparent); color: var(--brand); box-shadow: none; }
.lan-modal-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.82);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px;
  overflow-y: auto;
}
@media (max-width: 560px) {
  .lan-modal-overlay { padding: 0; align-items: stretch; }
  .lan-modal-overlay .lan-modal {
    max-width: none; width: 100%; border-radius: 0; min-height: 100%;
    padding: 30px 22px calc(28px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; justify-content: center;
  }
}
.lan-modal {
  width: 100%; max-width: 380px; background: var(--panel); border-radius: 18px;
  padding: 26px 26px 24px; box-shadow: 0 30px 70px -20px rgba(15,23,42,.5);
  animation: lanPop .18s ease-out;
}
@keyframes lanPop { from { transform: scale(.96) translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.lan-modal .hd { display: flex; align-items: center; gap: 11px; }
.lan-modal .hd .mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--brand-ink);
  font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden;
}
.lan-modal .hd .mark img { width: 100%; height: 100%; object-fit: cover; }
.lan-modal .hd .t { font-size: 15px; font-weight: 700; color: var(--ink-strong); }
.lan-modal .hd .s { font-size: 12px; color: var(--muted); }
.lan-modal label { display: block; font-size: 12px; font-weight: 600; color: var(--lab); margin: 18px 0 6px; }
.lan-modal .duo { display: flex; gap: 10px; margin-top: 12px; }
.lan-modal .duo > div { flex: 1; }
.lan-modal .duo label { margin: 0 0 6px; }
.lan-modal .shin-box {
  height: 44px; padding: 12px 14px; border: 1px solid var(--in-bord); border-radius: 10px;
  background: var(--panel); transition: border-color .12s, box-shadow .12s;
}
.lan-modal .shin-box.focus { border-color: var(--in-focus); box-shadow: 0 0 0 3px rgba(15,23,42,.06); }
.lan-modal .carderr { color: var(--bad-fg); font-size: 12.5px; min-height: 18px; margin-top: 10px; line-height: 1.4; }
.lan-modal .foot {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; color: var(--muted); margin-top: 12px; text-align: center;
}

