/* Bankz platform UI — black + neon green glass. Shared by admin, portal and booking. */
@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/GeneralSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/GeneralSans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/GeneralSans-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #010302; --bg-2: #040a07; --panel: rgba(8, 24, 17, .62); --panel-2: rgba(12, 34, 24, .72); --panel-solid: #06110c;
  --ink: #ecfff5; --ink-2: #b9d6c6; --muted: #86a796; --dim: #5d7a6b;
  --g1: #00ff88; --g2: #39ff14; --g3: #00c76a; --em-deep: #022c1e;
  --down: #ff5c7a; --warn: #ffd166; --info: #7cc8ff;
  --line: rgba(0, 255, 136, .12); --line-2: rgba(0, 255, 136, .26);
  --grad: linear-gradient(100deg, #39ff14 0%, #00ff88 55%, #2dffa8 100%);
  --grad-btn: linear-gradient(135deg, #39ff14 0%, #00ff88 50%, #00c76a 100%);
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px;
  --f-display: "Clash Display", "General Sans", system-ui, sans-serif;
  --f-body: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 50px -24px rgba(0,0,0,.9);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at 85% -10%, rgba(0,255,136,.10), transparent 60%), radial-gradient(700px 500px at -10% 110%, rgba(57,255,20,.06), transparent 60%),
  linear-gradient(rgba(0,255,136,.025) 1px, transparent 1px) 0 0/44px 44px, linear-gradient(90deg, rgba(0,255,136,.025) 1px, transparent 1px) 0 0/44px 44px; }
a { color: var(--g1); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; border-radius: 8px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 15px; height: 15px; }
.mono { font-family: var(--f-mono); font-size: .86em; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; letter-spacing: .02em; color: var(--ink); text-decoration: none !important; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(0,255,136,.35), rgba(0,255,136,.05) 70%); border: 1px solid var(--line-2); box-shadow: 0 0 24px -6px rgba(0,255,136,.6); }
.brand-mark svg { width: 20px; height: 20px; stroke: var(--g1); }
.brand b { font-size: 17px; } .brand small { display: block; font: 500 10.5px/1 var(--f-mono); letter-spacing: .18em; color: var(--g1); text-transform: uppercase; margin-top: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(0,255,136,.04); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .15s var(--ease), background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; text-decoration: none !important; }
.btn:hover { border-color: rgba(0,255,136,.5); background: rgba(0,255,136,.09); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--grad-btn); color: #00180c; border-color: transparent; box-shadow: 0 8px 28px -10px rgba(0,255,136,.65); }
.btn-primary:hover { background: var(--grad-btn); filter: brightness(1.07); box-shadow: 0 10px 34px -8px rgba(0,255,136,.8); }
.btn-danger { border-color: rgba(255,92,122,.4); color: #ffb3c1; background: rgba(255,92,122,.06); }
.btn-danger:hover { border-color: rgba(255,92,122,.7); background: rgba(255,92,122,.12); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 9px; }
.btn-xs { height: 28px; padding: 0 9px; font-size: 12.5px; border-radius: 8px; gap: 6px; }
.btn-block { width: 100%; }
.icon-btn { width: 38px; padding: 0; }

/* Panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.panel-h h3 { font: 600 15px/1.2 var(--f-body); display: flex; align-items: center; gap: 9px; }
.panel-h h3 .ic { color: var(--g1); }
.panel-b { padding: 16px 18px; }
.eyebrow { font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--g1); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g1); }

/* Forms */
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.input, select.input, textarea.input { width: 100%; height: 42px; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(0,0,0,.45); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 92px; padding: 11px 13px; resize: vertical; }
.input:focus { border-color: var(--g1); box-shadow: 0 0 0 3px rgba(0,255,136,.15); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff88' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
select.input option { background: #06110c; }
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.checks { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,.3); cursor: pointer; }
.check input { accent-color: var(--g1); width: 16px; height: 16px; }
.check:has(input:checked) { border-color: var(--line-2); background: rgba(0,255,136,.06); }
.err { color: #ff9db0; font-size: 13px; min-height: 1em; }
.hint { color: var(--muted); font-size: 12.5px; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; font: 600 11.5px/1 var(--f-body); border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(0,0,0,.35); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.pill.ok { color: var(--g1); border-color: rgba(0,255,136,.35); background: rgba(0,255,136,.07); }
.pill.warn { color: var(--warn); border-color: rgba(255,209,102,.35); background: rgba(255,209,102,.06); }
.pill.bad { color: var(--down); border-color: rgba(255,92,122,.35); background: rgba(255,92,122,.06); }
.pill.info { color: var(--info); border-color: rgba(124,200,255,.3); background: rgba(124,200,255,.06); }
.pill.off { color: var(--dim); }
.pill.plain::before { display: none; }
.pill.sim { color: var(--warn); border-style: dashed; }
.pill.sim::before { display: none; }

/* Tables (become cards on phones) */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 12px 14px; border-bottom: 1px solid rgba(0,255,136,.06); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t tbody tr { transition: background .15s; }
table.t tbody tr.clickable { cursor: pointer; }
table.t tbody tr:hover { background: rgba(0,255,136,.035); }
.cell-main { font-weight: 600; color: var(--ink); }
.cell-sub { font-size: 12.5px; color: var(--muted); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.empty { padding: 34px 18px; text-align: center; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.empty .ic { width: 28px; height: 28px; color: var(--g1); opacity: .7; }

/* Toast */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 8px; }
.toast { background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 18px 40px -16px #000; font-size: 14px; animation: tin .3s var(--ease); max-width: 360px; }
.toast.bad { border-color: rgba(255,92,122,.5); }
.toast .ic { color: var(--g1); } .toast.bad .ic { color: var(--down); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }

/* Modal + drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); z-index: 60; display: grid; place-items: center; padding: 18px; animation: fin .2s; }
@keyframes fin { from { opacity: 0; } }
.modal { width: min(560px, 100%); max-height: calc(100vh - 36px); overflow: auto; background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 40px 120px -30px #000, 0 0 80px -40px rgba(0,255,136,.5); animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-h h3 { font: 600 18px/1.2 var(--f-display); }
.modal-b { padding: 20px; display: grid; gap: 14px; }
.modal-f { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.drawer-scrim { place-items: stretch end; padding: 0; }
.drawer { width: min(760px, 100vw); height: 100vh; overflow: auto; background: var(--panel-solid); border-left: 1px solid var(--line-2); animation: slide .3s var(--ease); }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }

.secret-box { font-family: var(--f-mono); font-size: 13.5px; padding: 12px 14px; border-radius: 11px; border: 1px dashed var(--line-2); background: rgba(0,0,0,.5); word-break: break-all; color: var(--g1); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,209,102,.3); background: rgba(255,209,102,.05); color: #ffe7a8; font-size: 13.5px; }
.notice .ic { color: var(--warn); margin-top: 2px; }
.notice.ok { border-color: var(--line-2); background: rgba(0,255,136,.05); color: var(--ink-2); }
.notice.ok .ic { color: var(--g1); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  table.t.stack thead { display: none; }
  table.t.stack, table.t.stack tbody, table.t.stack tr, table.t.stack td { display: block; width: 100%; }
  table.t.stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.t.stack td { padding: 4px 0; border: 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  table.t.stack td::before { content: attr(data-label); font: 600 10.5px/1.8 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); text-align: left; flex: none; }
  table.t.stack td.td-main { display: block; text-align: left; padding-bottom: 6px; }
  table.t.stack td.td-main::before { display: none; }
  table.t.stack .actions { justify-content: flex-end; }
  .toasts { left: 12px; right: 12px; }
}
.err:empty { display: none; }
