:root {
    color-scheme: dark;
    --bg: #030712;
    --panel: rgba(9, 18, 38, 0.76);
    --panel-strong: rgba(8, 15, 32, 0.92);
    --line: rgba(145, 176, 255, 0.20);
    --line-strong: rgba(103, 232, 249, 0.45);
    --text: #f8fbff;
    --soft: #b9c7e6;
    --muted: #7f91b8;
    --cyan: #35e7ff;
    --blue: #54a8ff;
    --violet: #8b5cf6;
    --purple: #bf46ff;
    --green: #34f5a8;
    --red: #ff4b74;
    --orange: #ff9654;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
    --radius: 28px;
}


body {
    --theme-a: 53, 231, 255;
    --theme-b: 139, 92, 246;
    --theme-accent: #35e7ff;
}

body[data-theme="list"] {
    --theme-a: 53, 231, 255;
    --theme-b: 139, 92, 246;
    --theme-accent: #35e7ff;
}

body[data-theme="add"] {
    --theme-a: 52, 245, 168;
    --theme-b: 14, 165, 233;
    --theme-accent: #34f5a8;
}

body[data-theme="delete"] {
    --theme-a: 139, 92, 246;
    --theme-b: 191, 70, 255;
    --theme-accent: #a78bfa;
}

body[data-theme="update"] {
    --theme-a: 255, 150, 84;
    --theme-b: 245, 158, 11;
    --theme-accent: #ff9654;
}

body[data-theme="find"] {
    --theme-a: 219, 39, 119;
    --theme-b: 191, 70, 255;
    --theme-accent: #f472b6;
}

body[data-theme="transactions"],
body[data-theme="deposit"] {
    --theme-a: 53, 231, 255;
    --theme-b: 84, 168, 255;
    --theme-accent: #35e7ff;
}

body[data-theme="withdraw"] {
    --theme-a: 139, 92, 246;
    --theme-b: 191, 70, 255;
    --theme-accent: #c084fc;
}

body[data-theme="total"] {
    --theme-a: 45, 212, 191;
    --theme-b: 52, 245, 168;
    --theme-accent: #2dd4bf;
}

body[data-theme="exit"] {
    --theme-a: 255, 75, 116;
    --theme-b: 255, 150, 84;
    --theme-accent: #ff4b74;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(14, 116, 144, 0.55), transparent 30%),
        radial-gradient(circle at 86% 12%, rgba(88, 28, 135, 0.72), transparent 35%),
        radial-gradient(circle at 74% 90%, rgba(30, 64, 175, 0.35), transparent 34%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select { font: inherit; }
button { cursor: pointer; }
select { cursor: pointer; }

#moneyRain {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.72;
}

.scene {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent);
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(58px);
    opacity: 0.22;
    animation: drift 14s ease-in-out infinite;
}
.glow-one { left: -170px; top: 90px; background: var(--cyan); }
.glow-two { right: -160px; top: 20px; background: var(--purple); animation-delay: -4s; }
.glow-three { left: 36%; bottom: -260px; background: var(--blue); animation-delay: -9s; }

.wave {
    position: absolute;
    width: 740px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid rgba(53, 231, 255, 0.16);
    transform: rotate(-16deg);
}
.wave-one { left: -140px; bottom: -70px; box-shadow: 0 0 80px rgba(53, 231, 255, 0.14); }
.wave-two { right: -220px; bottom: 130px; border-color: rgba(191, 70, 255, 0.20); box-shadow: 0 0 100px rgba(191, 70, 255, 0.16); }

@keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(32px, -32px, 0) scale(1.06); }
}

.app-shell {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100% - 58px));
    margin: 0 auto;
    padding: 44px 0 56px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: start;
    margin-bottom: 26px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 20px;
}
.brand-mark {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #dff8ff;
    font-size: 3.2rem;
    font-weight: 1000;
    letter-spacing: -0.12em;
    background: linear-gradient(135deg, rgba(53, 231, 255, 0.95), rgba(84, 168, 255, 0.86) 42%, rgba(139, 92, 246, 0.92));
    box-shadow: inset 0 2px 12px rgba(255, 255, 255, 0.30), 0 0 34px rgba(53, 231, 255, 0.38), 0 16px 36px rgba(0, 0, 0, 0.34);
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.34);
}
.brand-block h1 {
    margin: 0;
    font-size: clamp(3rem, 5.6vw, 5.1rem);
    letter-spacing: -0.065em;
    line-height: 0.86;
}
.brand-block p {
    margin: 10px 0 0;
    color: var(--soft);
    font-size: 1.08rem;
}

.system-card {
    min-width: 260px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(16, 24, 55, 0.66);
    box-shadow: var(--shadow), inset 0 1px 1px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(26px);
}
.system-card .shield {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--cyan);
    background: linear-gradient(135deg, rgba(53, 231, 255, 0.18), rgba(139, 92, 246, 0.22));
    box-shadow: 0 0 24px rgba(53, 231, 255, 0.22);
}
.system-card span { display: block; color: var(--muted); font-size: 0.88rem; }
.system-card strong { display: block; margin-top: 4px; }
.system-card i {
    margin-left: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 18px var(--red);
}
.system-card.online i { background: var(--green); box-shadow: 0 0 18px var(--green); }

.workspace {
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.menu-card, .stage-card, .screen {
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(28px);
    box-shadow: var(--shadow), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}
.menu-card {
    position: sticky;
    top: 24px;
    border-radius: 30px;
    padding: 20px;
}
.menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 20px;
    color: #a9bfe5;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
}
.menu-grid { color: #93c5fd; font-size: 1.35rem; }
.menu-item {
    position: relative;
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 20px;
    border: 1px solid rgba(145, 176, 255, 0.12);
    background: rgba(5, 12, 29, 0.52);
    color: var(--text);
    text-align: left;
    transition: 220ms ease;
    overflow: hidden;
}
.menu-item::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    background: linear-gradient(90deg, rgba(53, 231, 255, 0.18), rgba(139, 92, 246, 0.22), rgba(191, 70, 255, 0.18));
    transition: 220ms ease;
}
.menu-item > * { position: relative; z-index: 1; }
.menu-item:hover, .menu-item.active {
    transform: translateX(7px);
    border-color: rgba(53, 231, 255, 0.46);
    box-shadow: 0 0 30px rgba(53, 231, 255, 0.14), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}
.menu-item:hover::before, .menu-item.active::before { opacity: 1; }
.menu-item.active .menu-arrow { opacity: 1; transform: translateX(0); }

.number-orb {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #eaf8ff;
    font-size: 1.32rem;
    font-weight: 1000;
    border: 1px solid rgba(125, 211, 252, 0.55);
    background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.45), transparent 18%), linear-gradient(145deg, rgba(7, 89, 133, 0.96), rgba(29, 78, 216, 0.82) 55%, rgba(67, 56, 202, 0.72));
    box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.14), 0 0 14px rgba(53, 231, 255, 0.44), 0 0 30px rgba(84, 168, 255, 0.18);
}
.item-green .number-orb { border-color: rgba(52, 245, 168, 0.65); background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.42), transparent 18%), linear-gradient(145deg, #047857, #10b981 48%, #0ea5e9); box-shadow: 0 0 28px rgba(52, 245, 168, .32); }
.item-violet .number-orb { border-color: rgba(196, 181, 253, .72); background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.42), transparent 18%), linear-gradient(145deg, #5b21b6, #8b5cf6 50%, #bf46ff); box-shadow: 0 0 30px rgba(139, 92, 246, .42); }
.item-orange .number-orb { border-color: rgba(251, 191, 36, .68); background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.40), transparent 18%), linear-gradient(145deg, #92400e, #f59e0b 45%, #ff9654); box-shadow: 0 0 28px rgba(255, 150, 84, .38); }
.item-pink .number-orb { border-color: rgba(244, 114, 182, .70); background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.40), transparent 18%), linear-gradient(145deg, #831843, #db2777 45%, #bf46ff); box-shadow: 0 0 28px rgba(219, 39, 119, .42); }
.menu-item.active .number-orb {
    border-color: rgba(216, 180, 254, 0.8);
    background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.55), transparent 18%), linear-gradient(145deg, rgba(53, 231, 255, 0.98), rgba(139, 92, 246, 0.88) 55%, rgba(191, 70, 255, 0.95));
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.22), 0 0 18px rgba(53, 231, 255, 0.56), 0 0 48px rgba(139, 92, 246, 0.52);
}
.menu-item.danger .number-orb {
    border-color: rgba(251, 113, 133, 0.65);
    background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.36), transparent 18%), linear-gradient(145deg, rgba(159, 18, 57, 0.95), rgba(244, 63, 94, 0.78));
    box-shadow: 0 0 22px rgba(255, 75, 116, 0.34);
}
.menu-icon { width: 26px; text-align: center; color: #a7c8ff; filter: drop-shadow(0 0 10px rgba(84, 168, 255, 0.30)); }
.menu-label { flex: 1; font-size: 1.08rem; font-weight: 900; letter-spacing: -0.018em; }
.menu-arrow { opacity: 0; transform: translateX(-8px); font-size: 1.8rem; color: #dbeafe; transition: 180ms ease; }
.tip-card {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(145, 176, 255, 0.18);
    border-radius: 20px;
    background: rgba(7, 15, 34, 0.46);
    color: var(--soft);
}
.tip-card span { font-size: 1.45rem; }
.tip-card p { margin: 0; line-height: 1.35; }

.stage-card { min-height: 720px; border-radius: 34px; padding: 24px; overflow: hidden; }
.screen {
    display: none;
    min-height: 670px;
    border-radius: 28px;
    padding: 28px;
    background: radial-gradient(circle at 90% 8%, rgba(139, 92, 246, 0.16), transparent 35%), linear-gradient(180deg, rgba(10, 22, 48, 0.88), rgba(3, 7, 18, 0.72));
}
.screen.active { display: block; animation: screenIn 260ms ease both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px) scale(0.992); } to { opacity: 1; transform: translateY(0) scale(1); } }
.screen-title-row { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.screen-title-row .secondary-action { margin-left: auto; }
.screen-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    border: 1px solid rgba(96, 165, 250, 0.45);
    background: linear-gradient(135deg, rgba(53, 231, 255, 0.15), rgba(139, 92, 246, 0.19));
    box-shadow: 0 0 26px rgba(84, 168, 255, 0.18);
    font-size: 1.8rem;
}
.icon-green { box-shadow: 0 0 28px rgba(52, 245, 168, .24); border-color: rgba(52, 245, 168, .42); }
.icon-orange { box-shadow: 0 0 28px rgba(255, 150, 84, .24); border-color: rgba(255, 150, 84, .42); }
.icon-pink { box-shadow: 0 0 28px rgba(219, 39, 119, .24); border-color: rgba(244, 114, 182, .42); }
.icon-cyan { box-shadow: 0 0 28px rgba(53, 231, 255, .24); border-color: rgba(53, 231, 255, .52); }
.icon-violet { box-shadow: 0 0 28px rgba(139, 92, 246, .28); border-color: rgba(139, 92, 246, .52); }
.icon-total { box-shadow: 0 0 28px rgba(20, 184, 166, .28); border-color: rgba(45, 212, 191, .52); }
.danger-icon { box-shadow: 0 0 26px rgba(255, 75, 116, 0.22); }
.option-label { display: block; margin-bottom: 8px; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.78rem; font-weight: 1000; }
h2, h3, p { margin-top: 0; }
.screen h2 {
    margin: 0;
    font-size: clamp(2.1rem, 4vw, 3.45rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
    background: linear-gradient(90deg, #ffffff, #8bdcff 35%, #c084fc 76%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.screen-title-row p { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }

.lux-form { display: grid; gap: 12px; max-width: 980px; }
.lux-form.compact { max-width: 760px; }
.field-row {
    position: relative;
    display: grid;
    grid-template-columns: 42px 178px minmax(240px, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid rgba(145, 176, 255, 0.14);
    border-radius: 20px;
    background: rgba(4, 10, 26, 0.44);
}
.field-icon { display: grid; place-items: center; width: 34px; height: 34px; color: #8fd6ff; filter: drop-shadow(0 0 10px rgba(53, 231, 255, 0.24)); }
.field-title { color: #d7e6ff; font-weight: 850; }
input, select {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    border-radius: 15px;
    border: 1px solid rgba(145, 176, 255, 0.22);
    background: rgba(2, 6, 23, 0.62);
    color: var(--text);
    outline: none;
    transition: 180ms ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #bdefff 50%), linear-gradient(135deg, #bdefff 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
select option { background: #081020; color: #f8fbff; }
input::placeholder { color: rgba(185, 199, 230, 0.58); }
input:focus, select:focus { border-color: rgba(53, 231, 255, 0.76); box-shadow: 0 0 0 4px rgba(53, 231, 255, 0.10), 0 0 26px rgba(53, 231, 255, 0.12); }
input.is-error { border-color: rgba(255, 75, 116, 0.90); box-shadow: 0 0 0 4px rgba(255, 75, 116, 0.10), 0 0 26px rgba(255, 75, 116, 0.16); }
.inline-error { white-space: nowrap; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(255, 75, 116, 0.40); background: rgba(127, 29, 29, 0.42); color: #ffb4c3; font-size: 0.88rem; }
.action-row { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.primary-action, .ghost-action, .danger-action, .secondary-action {
    min-height: 56px;
    border-radius: 16px;
    border: 0;
    padding: 15px 25px;
    font-weight: 1000;
    letter-spacing: -0.01em;
    transition: 180ms ease;
}
.primary-action {
    min-width: 260px;
    color: #031018;
    background: linear-gradient(135deg, var(--cyan), var(--blue) 48%, var(--purple));
    box-shadow: 0 16px 42px rgba(53, 231, 255, 0.22), 0 0 34px rgba(139, 92, 246, 0.18);
}
.primary-action span, .ghost-action span { margin-right: 8px; }
.ghost-action, .secondary-action { color: #dbeafe; border: 1px solid rgba(145, 176, 255, 0.24); background: rgba(8, 15, 32, 0.66); }
.danger-action { min-width: 220px; color: #fff4f5; background: linear-gradient(135deg, var(--red), var(--orange)); box-shadow: 0 16px 42px rgba(255, 75, 116, 0.18); }
.primary-action:hover, .ghost-action:hover, .danger-action:hover, .secondary-action:hover { transform: translateY(-2px); filter: brightness(1.08); }
.safe-note, .notice-bar, .balance-panel { margin-top: 22px; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(145, 176, 255, 0.16); background: rgba(7, 15, 34, 0.52); color: var(--soft); }

.client-count-card {
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    margin: 24px auto 18px;
    padding: 22px 24px;
    width: min(100%, 720px);
    border-radius: 26px;
    border: 1px solid rgba(var(--theme-a), 0.50);
    background:
        radial-gradient(circle at 18% 25%, rgba(var(--theme-a), 0.28), transparent 34%),
        radial-gradient(circle at 84% 30%, rgba(var(--theme-b), 0.22), transparent 36%),
        rgba(4, 10, 26, 0.64);
    box-shadow: 0 0 42px rgba(var(--theme-a), 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    overflow: hidden;
}
.client-count-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
    transform: translateX(-100%);
    animation: countShimmer 5s ease-in-out infinite;
}
@keyframes countShimmer { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.count-kicker {
    position: relative;
    z-index: 1;
    color: var(--theme-accent);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
    font-weight: 1000;
}
.client-count-card strong {
    position: relative;
    z-index: 1;
    display: block;
    color: #f8fbff;
    font-size: clamp(1.8rem, 4.2vw, 3rem);
    line-height: 1;
    letter-spacing: -0.045em;
    text-shadow: 0 0 24px rgba(var(--theme-a), 0.34);
}
.client-count-card small {
    position: relative;
    z-index: 1;
    color: #c7d8f7;
    font-size: 0.98rem;
}
.client-tools {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) minmax(170px, .8fr) minmax(150px, .65fr) minmax(170px, .8fr);
    gap: 14px;
    align-items: end;
    margin: 18px 0 14px;
}
.client-tool {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(var(--theme-a), 0.22);
    background: rgba(4, 10, 26, 0.48);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.client-tool span {
    color: #cfeaff;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .74rem;
    font-weight: 950;
}
.search-tool input { min-height: 54px; }
.list-filter-status {
    margin-top: 0;
    margin-bottom: 18px;
    text-align: center;
    color: #d8e7ff;
}
.empty-table-cell {
    text-align: center;
    color: #ffcfdb;
    font-weight: 900;
    padding: 34px 20px;
}

.message { min-height: 25px; margin: 18px 0 0; color: #c7f9df; font-weight: 700; }
.message.bad { color: #ffb4c3; }
.client-table-wrap { overflow: auto; border-radius: 22px; border: 1px solid rgba(145, 176, 255, 0.18); background: rgba(2, 6, 23, 0.45); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 18px 20px; border-bottom: 1px solid rgba(145, 176, 255, 0.13); text-align: left; }
th { color: #cfeaff; text-transform: uppercase; letter-spacing: 0.10em; font-size: 0.82rem; }
tbody tr { transition: 160ms ease; }
tbody tr:hover { background: rgba(53, 231, 255, 0.07); }
.account-chip { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(53, 231, 255, 0.38); background: rgba(53, 231, 255, 0.09); color: #b6ecff; font-weight: 900; }
.balance-panel { color: #bbf7d0; font-weight: 1000; font-size: 1.05rem; }
.total-glow { color: #ccfbf1; border-color: rgba(45, 212, 191, .28); box-shadow: 0 0 30px rgba(20, 184, 166, .12); }
.result-card { margin-top: 22px; max-width: 640px; border: 1px solid rgba(145, 176, 255, 0.20); background: rgba(4, 10, 26, 0.54); border-radius: 22px; padding: 20px; }
.result-card h3 { margin-bottom: 12px; }
.result-card p { display: flex; justify-content: space-between; gap: 20px; margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(145, 176, 255, 0.12); }
.result-card p:last-child { border-bottom: 0; }
.result-card span { color: var(--muted); }
.exit-screen { place-items: center; text-align: center; }
.exit-screen.active { display: grid; }
.exit-screen h2 { font-size: clamp(3rem, 8vw, 6rem); }
.exit-screen p:not(.option-label) { color: var(--muted); max-width: 520px; }
.hidden { display: none !important; }

.transaction-hero { margin-bottom: 24px; }
.transaction-menu-v3 { display: grid; gap: 20px; max-width: 1080px; }
.transaction-choice {
    position: relative;
    min-height: 155px;
    width: 100%;
    display: grid;
    grid-template-columns: 132px 150px minmax(0, 1fr) 80px;
    align-items: center;
    gap: 22px;
    padding: 24px 26px;
    border-radius: 28px;
    color: var(--text);
    text-align: left;
    border: 1px solid rgba(145, 176, 255, .22);
    background: rgba(4, 10, 26, .60);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 55px rgba(0,0,0,.30);
    transition: 220ms ease;
}
.transaction-choice::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(53,231,255,.14), transparent 55%), radial-gradient(circle at 86% 45%, rgba(53,231,255,.12), transparent 22%);
    opacity: .95;
}
.transaction-choice::after {
    content: "";
    position: absolute;
    right: 72px;
    bottom: 16px;
    width: 46%;
    height: 70px;
    opacity: .30;
    background: repeating-radial-gradient(ellipse at center, transparent 0 10px, rgba(125,211,252,.45) 11px 12px, transparent 13px 22px);
    transform: skewX(-18deg);
}
.transaction-choice > * { position: relative; z-index: 1; }
.transaction-choice:hover { transform: translateY(-4px) scale(1.005); filter: brightness(1.08); }
.deposit-choice { border-color: rgba(53, 231, 255, .58); box-shadow: 0 0 36px rgba(53,231,255,.11), inset 0 1px 0 rgba(255,255,255,.08); }
.withdraw-choice { border-color: rgba(139, 92, 246, .62); }
.withdraw-choice::before { background: linear-gradient(90deg, rgba(139,92,246,.18), transparent 55%), radial-gradient(circle at 86% 45%, rgba(191,70,255,.12), transparent 22%); }
.total-choice { border-color: rgba(45, 212, 191, .60); }
.total-choice::before { background: linear-gradient(90deg, rgba(45,212,191,.18), transparent 55%), radial-gradient(circle at 86% 45%, rgba(52,245,168,.12), transparent 22%); }
.choice-orb {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 50%;
    color: #fff;
    font-size: 3rem;
    font-weight: 1000;
    letter-spacing: -0.05em;
    border: 1px solid rgba(255,255,255,.32);
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.45), transparent 20%), linear-gradient(145deg, #0891b2, #2563eb 55%, #7c3aed);
    box-shadow: inset 0 0 22px rgba(255,255,255,.18), 0 0 24px rgba(53,231,255,.65), 0 0 68px rgba(53,231,255,.30);
}
.orb-withdraw { background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.42), transparent 20%), linear-gradient(145deg, #4c1d95, #8b5cf6 55%, #bf46ff); box-shadow: inset 0 0 22px rgba(255,255,255,.18), 0 0 24px rgba(139,92,246,.65), 0 0 68px rgba(191,70,255,.30); }
.orb-total { background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.42), transparent 20%), linear-gradient(145deg, #047857, #14b8a6 55%, #34f5a8); box-shadow: inset 0 0 22px rgba(255,255,255,.18), 0 0 24px rgba(45,212,191,.65), 0 0 68px rgba(52,245,168,.24); }
.choice-visual {
    position: relative;
    width: 130px;
    height: 108px;
    display: grid;
    place-items: center;
}
.choice-wallet {
    width: 76px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: transparent;
    background: linear-gradient(135deg, rgba(53,231,255,.9), rgba(37,99,235,.85));
    box-shadow: inset 0 0 18px rgba(255,255,255,.20), 0 12px 28px rgba(0,0,0,.35), 0 0 28px rgba(53,231,255,.24);
}
.withdraw-choice .choice-wallet { background: linear-gradient(135deg, rgba(139,92,246,.95), rgba(67,56,202,.86)); box-shadow: 0 0 28px rgba(139,92,246,.28); }
.total-choice .choice-wallet { background: linear-gradient(135deg, rgba(45,212,191,.95), rgba(13,148,136,.86)); box-shadow: 0 0 28px rgba(45,212,191,.28); }
.choice-arrow-mark {
    position: absolute;
    top: -4px;
    font-size: 3.8rem;
    font-weight: 1000;
    color: #b9f6ff;
    text-shadow: 0 0 22px rgba(53,231,255,.65);
}
.withdraw-choice .choice-arrow-mark { color: #ddd6fe; text-shadow: 0 0 22px rgba(139,92,246,.70); }
.total-choice .choice-arrow-mark { color: #ccfbf1; text-shadow: 0 0 22px rgba(45,212,191,.70); top: 0; font-size: 3rem; }
.choice-badge {
    position: absolute;
    right: 14px;
    bottom: 17px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 1000;
    color: #e0fbff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 0 22px rgba(53,231,255,.56);
}
.withdraw-choice .choice-badge { background: linear-gradient(135deg, #7c3aed, #4c1d95); box-shadow: 0 0 22px rgba(139,92,246,.56); }
.total-choice .choice-badge { background: linear-gradient(135deg, #14b8a6, #047857); box-shadow: 0 0 22px rgba(45,212,191,.56); }
.choice-copy strong {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    letter-spacing: -0.045em;
    color: var(--cyan);
    text-shadow: 0 0 24px rgba(53,231,255,.22);
}
.withdraw-choice .choice-copy strong { color: #c084fc; text-shadow: 0 0 24px rgba(139,92,246,.24); }
.total-choice .choice-copy strong { color: #2dd4bf; text-shadow: 0 0 24px rgba(45,212,191,.24); }
.choice-copy small {
    display: block;
    max-width: 410px;
    color: #d8e5ff;
    line-height: 1.5;
    font-size: 1.03rem;
}
.choice-chevron {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    justify-self: end;
    border-radius: 50%;
    border: 1px solid rgba(53,231,255,.42);
    color: #bff7ff;
    font-size: 3rem;
    line-height: 1;
    box-shadow: 0 0 28px rgba(53,231,255,.20);
}
.withdraw-choice .choice-chevron { border-color: rgba(139,92,246,.46); color: #ddd6fe; box-shadow: 0 0 28px rgba(139,92,246,.22); }
.total-choice .choice-chevron { border-color: rgba(45,212,191,.46); color: #ccfbf1; box-shadow: 0 0 28px rgba(45,212,191,.22); }

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(8px);
}
.confirm-card {
    position: relative;
    width: min(420px, 100%);
    padding: 32px;
    border: 1px solid rgba(145, 176, 255, 0.35);
    border-radius: 28px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.28), transparent 44%), rgba(10, 20, 48, 0.96);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62), 0 0 55px rgba(139, 92, 246, 0.22);
}
.close-modal { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border: 0; border-radius: 12px; color: #9fb4d8; background: transparent; font-size: 1.7rem; }
.question-orb {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    font-size: 2.7rem;
    font-weight: 1000;
    background: radial-gradient(circle at 35% 25%, rgba(255,255,255,0.35), transparent 22%), linear-gradient(145deg, rgba(53, 231, 255, 0.82), rgba(139, 92, 246, 0.92), rgba(191, 70, 255, 0.85));
    box-shadow: 0 0 38px rgba(139, 92, 246, 0.62);
}
.confirm-card h3 { margin-bottom: 12px; font-size: 1.55rem; line-height: 1.14; }
.confirm-card p { color: var(--muted); line-height: 1.5; margin-bottom: 24px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-actions .primary-action, .modal-actions .ghost-action { min-width: 0; width: 100%; }
.toast {
    position: fixed;
    z-index: 11;
    right: 24px;
    bottom: 24px;
    max-width: 420px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(52, 245, 168, 0.35);
    background: rgba(6, 78, 59, 0.86);
    color: #d1fae5;
    box-shadow: var(--shadow);
    font-weight: 850;
}
.toast.bad { border-color: rgba(255, 75, 116, 0.40); background: rgba(127, 29, 29, 0.86); color: #ffe4e8; }


/* Color-driven active screen themes */
body[data-theme] .stage-card {
    border-color: rgba(var(--theme-a), 0.28);
    box-shadow:
        var(--shadow),
        0 0 70px rgba(var(--theme-a), 0.10),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

body[data-theme] .screen.active {
    background:
        radial-gradient(circle at 14% 18%, rgba(var(--theme-a), 0.18), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(var(--theme-b), 0.24), transparent 35%),
        linear-gradient(180deg, rgba(10, 22, 48, 0.90), rgba(3, 7, 18, 0.74));
    border-color: rgba(var(--theme-a), 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 90px rgba(var(--theme-a), 0.06);
}

body[data-theme] .screen.active::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(var(--theme-a), 0.16), transparent 26%),
        linear-gradient(315deg, rgba(var(--theme-b), 0.14), transparent 30%);
    opacity: 0.82;
}

.screen {
    position: relative;
}

.screen > * {
    position: relative;
    z-index: 1;
}

body[data-theme] .screen.active .option-label {
    color: var(--theme-accent);
    text-shadow: 0 0 18px rgba(var(--theme-a), 0.48);
}

body[data-theme] .screen.active h2 {
    background: linear-gradient(90deg, #ffffff, rgba(var(--theme-a), 0.96) 42%, rgba(var(--theme-b), 0.96) 84%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body[data-theme] .screen.active .screen-icon {
    border-color: rgba(var(--theme-a), 0.62);
    background: linear-gradient(135deg, rgba(var(--theme-a), 0.20), rgba(var(--theme-b), 0.20));
    box-shadow: 0 0 32px rgba(var(--theme-a), 0.28);
}

body[data-theme] .screen.active .primary-action {
    background: linear-gradient(135deg, rgba(var(--theme-a), 1), rgba(var(--theme-b), 0.96));
    box-shadow: 0 16px 42px rgba(var(--theme-a), 0.22), 0 0 34px rgba(var(--theme-b), 0.18);
}

.mobile-menu-back {
    display: none;
}

@media (max-width: 1180px) {
    .workspace { grid-template-columns: 1fr; }
    .menu-card { position: static; }
}
@media (max-width: 900px) {
    .transaction-choice { grid-template-columns: 92px 1fr 54px; }
    .choice-visual { display: none; }
}
@media (max-width: 760px) {
    .app-shell { width: min(100% - 28px, 1480px); padding-top: 24px; }
    .topbar { display: grid; }
    .brand-mark { width: 62px; height: 62px; font-size: 2.5rem; }
    .system-card { width: 100%; }
    .field-row { grid-template-columns: 34px 1fr; }
    .field-row input, .field-row .inline-error { grid-column: 1 / -1; }
    .action-row { display: grid; }
    .primary-action, .ghost-action, .danger-action { width: 100%; min-width: 0; }
    .screen { padding: 20px; }

    body:not(.mobile-screen-active) .stage-card {
        display: none;
    }

    body.mobile-screen-active .menu-card {
        display: none;
    }

    body.mobile-screen-active .stage-card {
        display: block;
    }

    .workspace {
        display: block;
    }

    .menu-card {
        width: min(100%, 520px);
        margin: 0 auto;
        position: static;
    }

    .stage-card {
        min-height: auto;
        padding: 16px;
        border-radius: 28px;
    }

    .mobile-menu-back {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 48px;
        margin: 0 0 16px;
        padding: 12px 16px;
        border: 1px solid rgba(var(--theme-a), 0.42);
        border-radius: 16px;
        color: #eef8ff;
        background: rgba(8, 15, 32, 0.72);
        box-shadow: 0 0 26px rgba(var(--theme-a), 0.16);
    }

    .mobile-menu-back span {
        font-size: 1.7rem;
        line-height: 1;
        color: var(--theme-accent);
    }

    .topbar {
        text-align: center;
        justify-items: center;
        margin-bottom: 22px;
    }

    .brand-block {
        justify-content: center;
    }

    .menu-item {
        min-height: 82px;
        padding: 14px 18px;
    }

    .menu-label {
        font-size: 1.12rem;
    }

    .stage-card .screen {
        min-height: calc(100vh - 210px);
    }

    .client-count-card {
        margin-top: 18px;
        padding: 20px 16px;
    }

    .client-tools {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .client-tool {
        padding: 12px;
    }

    .client-table-wrap table {
        min-width: 680px;
    }

    .transaction-choice { grid-template-columns: 72px minmax(0, 1fr); padding: 18px; min-height: 128px; }
    .choice-chevron { display: none; }
    .choice-orb { width: 68px; height: 68px; font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    #moneyRain { display: none; }
}


/* --- Bankana v6: highlighted client count, modal client cards, and glowing refresh --- */
.client-count-bracket {
    display: inline-grid;
    place-items: center;
    margin: 0 0.14em;
    padding: 0.02em 0.28em 0.08em;
    min-width: 1.55em;
    border-radius: 18px;
    color: #07111f;
    background:
        radial-gradient(circle at 28% 20%, rgba(255,255,255,.72), transparent 24%),
        linear-gradient(135deg, #35e7ff, #54a8ff 45%, #8b5cf6);
    border: 1px solid rgba(191, 219, 254, .76);
    box-shadow:
        inset 0 0 18px rgba(255,255,255,.20),
        0 0 20px rgba(53, 231, 255, .56),
        0 0 46px rgba(139, 92, 246, .34);
    text-shadow: 0 1px 10px rgba(255,255,255,.36);
}

.refresh-glow-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px 10px 12px;
    border-color: rgba(53, 231, 255, .38) !important;
    box-shadow: 0 0 28px rgba(53, 231, 255, .16), inset 0 1px 0 rgba(255,255,255,.08);
}
.refresh-orb {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #e9fbff;
    font-weight: 1000;
    font-size: 1.18rem;
    border: 1px solid rgba(191, 219, 254, .70);
    background:
        radial-gradient(circle at 32% 24%, rgba(255,255,255,.52), transparent 20%),
        linear-gradient(145deg, #0891b2, #2563eb 54%, #7c3aed);
    box-shadow:
        inset 0 0 16px rgba(255,255,255,.16),
        0 0 18px rgba(53,231,255,.56),
        0 0 38px rgba(84,168,255,.28);
}
.refresh-glow-button:hover .refresh-orb { transform: rotate(16deg) scale(1.04); }

.confirm-card {
    width: min(560px, 100%);
}
.confirm-card #modalText {
    display: block;
    margin-bottom: 24px;
}
.modal-client-card {
    display: block;
    width: 100%;
    margin: 20px 0 16px;
    padding: 18px;
    border-radius: 22px;
    text-align: left;
    border: 1px solid rgba(145, 176, 255, .24);
    background:
        radial-gradient(circle at 8% 0%, rgba(53,231,255,.16), transparent 30%),
        rgba(4, 10, 26, .58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 34px rgba(53,231,255,.10);
}
.modal-client-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(145, 176, 255, .14);
}
.modal-client-row:first-child { padding-top: 0; }
.modal-client-row:last-child { padding-bottom: 0; border-bottom: 0; }
.modal-client-row span {
    color: #93a9cf;
    font-size: .88rem;
    font-weight: 800;
}
.modal-client-row strong {
    color: #f8fbff;
    text-align: right;
    font-weight: 1000;
}
.modal-danger-text,
.modal-success-text {
    display: block;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    line-height: 1.35;
    font-weight: 1000;
}
.modal-danger-text {
    color: #fecdd3;
    border: 1px solid rgba(255, 75, 116, .42);
    background: rgba(127, 29, 29, .32);
    box-shadow: 0 0 28px rgba(255,75,116,.15);
}
.modal-success-text {
    color: #bbf7d0;
    border: 1px solid rgba(52, 245, 168, .38);
    background: rgba(6, 78, 59, .28);
    box-shadow: 0 0 28px rgba(52,245,168,.12);
}
.confirm-card.modal-danger {
    border-color: rgba(255, 75, 116, .58);
    background: radial-gradient(circle at 50% 0%, rgba(255, 75, 116, .28), transparent 42%), rgba(10, 20, 48, .97);
    box-shadow: 0 34px 90px rgba(0,0,0,.66), 0 0 60px rgba(255,75,116,.24);
}
.confirm-card.modal-danger .question-orb {
    color: #fff;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.40), transparent 22%),
        linear-gradient(145deg, #7f1d1d, #ff4b74 52%, #ff9654);
    box-shadow: 0 0 26px rgba(255,75,116,.78), 0 0 70px rgba(255,75,116,.34);
}
.confirm-card.modal-danger .danger-confirm-action {
    color: #fff7f8;
    background: linear-gradient(135deg, #ff4b74, #fb7185 45%, #ff9654);
    box-shadow: 0 16px 42px rgba(255,75,116,.28), 0 0 36px rgba(255,75,116,.22);
}
.confirm-card.modal-success {
    border-color: rgba(52, 245, 168, .48);
    background: radial-gradient(circle at 50% 0%, rgba(52, 245, 168, .20), transparent 42%), rgba(10, 20, 48, .97);
    box-shadow: 0 34px 90px rgba(0,0,0,.66), 0 0 60px rgba(52,245,168,.18);
}
.confirm-card.modal-success .question-orb {
    color: #eafff8;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.40), transparent 22%),
        linear-gradient(145deg, #047857, #10b981 48%, #35e7ff);
    box-shadow: 0 0 26px rgba(52,245,168,.62), 0 0 62px rgba(53,231,255,.22);
}
.confirm-card.modal-success .success-confirm-action {
    color: #02130e;
    background: linear-gradient(135deg, #34f5a8, #35e7ff 52%, #54a8ff);
    box-shadow: 0 16px 42px rgba(52,245,168,.20), 0 0 36px rgba(53,231,255,.20);
}

@media (max-width: 760px) {
    .confirm-card { width: min(100%, 440px); padding: 26px 20px; }
    .modal-client-row { display: grid; gap: 4px; }
    .modal-client-row strong { text-align: left; }
    .refresh-glow-button { width: auto; }
}


/* --- Bankana v7: clean glowing client count and not-found modal card --- */
.client-count-glow {
    display: inline-grid;
    place-items: center;
    margin: 0 0.14em;
    padding: 0.02em 0.34em 0.08em;
    min-width: 1.45em;
    border-radius: 18px;
    color: #07111f;
    background:
        radial-gradient(circle at 28% 20%, rgba(255,255,255,.72), transparent 24%),
        linear-gradient(135deg, #35e7ff, #54a8ff 45%, #8b5cf6);
    border: 1px solid rgba(191, 219, 254, .76);
    box-shadow:
        inset 0 0 18px rgba(255,255,255,.20),
        0 0 20px rgba(53, 231, 255, .56),
        0 0 46px rgba(139, 92, 246, .34);
    text-shadow: 0 1px 10px rgba(255,255,255,.36);
}

.confirm-card.modal-not-found {
    border-color: rgba(255, 75, 116, .62);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 75, 116, .30), transparent 42%),
        radial-gradient(circle at 0% 70%, rgba(139, 92, 246, .20), transparent 36%),
        rgba(10, 20, 48, .98);
    box-shadow:
        0 34px 90px rgba(0,0,0,.68),
        0 0 66px rgba(255,75,116,.28),
        inset 0 1px 0 rgba(255,255,255,.08);
}
.confirm-card.modal-not-found .question-orb {
    color: #fff;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.42), transparent 22%),
        linear-gradient(145deg, #7f1d1d, #ff4b74 52%, #ff9654);
    box-shadow:
        0 0 26px rgba(255,75,116,.78),
        0 0 70px rgba(255,75,116,.36);
}
.confirm-card.modal-not-found h3,
.confirm-card.modal-not-found #modalTitle {
    color: #ffe4e9;
    text-shadow: 0 0 22px rgba(255,75,116,.28);
}
.not-found-card {
    display: block;
    width: 100%;
    margin: 22px 0 16px;
    padding: 22px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 75, 116, .38);
    background:
        radial-gradient(circle at 50% 0%, rgba(255,75,116,.22), transparent 42%),
        rgba(4, 10, 26, .68);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        0 0 40px rgba(255,75,116,.17);
}
.not-found-label {
    display: block;
    margin-bottom: 12px;
    color: #fecdd3;
    font-size: .82rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .22em;
}
.not-found-account {
    display: inline-grid;
    place-items: center;
    min-width: 190px;
    margin: 0 auto 18px;
    padding: 14px 24px 16px;
    border-radius: 20px;
    color: #fff7fb;
    font-size: clamp(2.2rem, 7vw, 4.25rem);
    font-weight: 1000;
    letter-spacing: -0.055em;
    background:
        radial-gradient(circle at 30% 18%, rgba(255,255,255,.42), transparent 22%),
        linear-gradient(135deg, #ff4b74, #fb7185 46%, #ff9654);
    border: 1px solid rgba(254, 205, 211, .78);
    box-shadow:
        inset 0 0 22px rgba(255,255,255,.18),
        0 0 26px rgba(255,75,116,.68),
        0 0 68px rgba(255,150,84,.25);
    text-shadow: 0 3px 18px rgba(0,0,0,.32);
}
.not-found-message {
    display: block;
    color: #f8c6d1;
    line-height: 1.45;
    font-weight: 900;
    font-size: 1.05rem;
}
.not-found-message strong {
    color: #fff;
    text-shadow: 0 0 16px rgba(255,75,116,.45);
}
.modal-not-found-help {
    display: block;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #fecdd3;
    border: 1px solid rgba(255, 75, 116, .34);
    background: rgba(127, 29, 29, .25);
    box-shadow: 0 0 24px rgba(255,75,116,.12);
    line-height: 1.35;
    font-weight: 900;
}
.confirm-card.modal-not-found .not-found-confirm-action {
    color: #fff7f8;
    background: linear-gradient(135deg, #ff4b74, #fb7185 45%, #ff9654);
    box-shadow: 0 16px 42px rgba(255,75,116,.28), 0 0 36px rgba(255,75,116,.22);
}


/* --- Bankana v8: guided update workflow --- */
.update-lookup-form {
    margin-bottom: 22px;
}
.update-lookup-row {
    border-color: rgba(255, 150, 84, .28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 32px rgba(255,150,84,.07);
}
.update-search-action,
.update-commit-action {
    color: #07111f;
    background: linear-gradient(135deg, #ff9654, #f59e0b 52%, #facc15);
    box-shadow: 0 18px 46px rgba(255,150,84,.22), 0 0 38px rgba(245,158,11,.18);
}
.update-editor {
    margin-top: 22px;
    display: grid;
    gap: 18px;
}
.update-client-card {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 150, 84, .42);
    background:
        radial-gradient(circle at 12% 0%, rgba(255,150,84,.24), transparent 34%),
        radial-gradient(circle at 92% 20%, rgba(250,204,21,.13), transparent 35%),
        rgba(4, 10, 26, .60);
    box-shadow: 0 0 42px rgba(255,150,84,.13), inset 0 1px 0 rgba(255,255,255,.07);
    overflow: hidden;
}
.update-client-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
    transform: translateX(-100%);
    animation: countShimmer 5s ease-in-out infinite;
}
.update-card-top,
.update-card-meta {
    position: relative;
    z-index: 1;
}
.update-card-top {
    display: flex;
    align-items: center;
    gap: 18px;
}
.update-client-orb {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    color: #fff7ed;
    font-size: 2rem;
    font-weight: 1000;
    background:
        radial-gradient(circle at 32% 22%, rgba(255,255,255,.48), transparent 22%),
        linear-gradient(145deg, #92400e, #f59e0b 50%, #ff9654);
    border: 1px solid rgba(253, 186, 116, .72);
    box-shadow: 0 0 24px rgba(255,150,84,.58), 0 0 60px rgba(245,158,11,.25);
}
.update-card-label {
    display: block;
    margin-bottom: 8px;
    color: #fdba74;
    font-size: .78rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .22em;
}
.update-card-top h3 {
    margin: 0;
    color: #fff7ed;
    font-size: clamp(1.7rem, 3.2vw, 2.7rem);
    line-height: 1;
    letter-spacing: -0.045em;
    text-shadow: 0 0 24px rgba(255,150,84,.26);
}
.update-card-top p {
    margin: 10px 0 0;
    color: #c7d8f7;
}
.update-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 150, 84, .22);
    background: rgba(2, 6, 23, .46);
}
.update-card-meta span {
    color: #fdba74;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
}
.update-card-meta strong {
    color: #fff7ed;
    font-size: 1.4rem;
    text-shadow: 0 0 20px rgba(255,150,84,.36);
}
.update-edit-form {
    max-width: 980px;
}
.modal-update-text {
    display: block;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #fed7aa;
    border: 1px solid rgba(255,150,84,.40);
    background: rgba(124, 45, 18, .28);
    box-shadow: 0 0 28px rgba(255,150,84,.14);
    line-height: 1.35;
    font-weight: 1000;
}
.confirm-card.modal-update {
    border-color: rgba(255, 150, 84, .54);
    background: radial-gradient(circle at 50% 0%, rgba(255, 150, 84, .24), transparent 42%), rgba(10, 20, 48, .97);
    box-shadow: 0 34px 90px rgba(0,0,0,.66), 0 0 60px rgba(255,150,84,.20);
}
.confirm-card.modal-update .question-orb {
    color: #fff7ed;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.40), transparent 22%),
        linear-gradient(145deg, #92400e, #f59e0b 50%, #ff9654);
    box-shadow: 0 0 26px rgba(255,150,84,.68), 0 0 62px rgba(245,158,11,.24);
}
.confirm-card.modal-update .update-confirm-action {
    color: #07111f;
    background: linear-gradient(135deg, #ff9654, #f59e0b 52%, #facc15);
    box-shadow: 0 16px 42px rgba(255,150,84,.24), 0 0 36px rgba(245,158,11,.20);
}
.update-preview-card {
    border-color: rgba(255,150,84,.30);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 34px rgba(255,150,84,.11);
}
@media (max-width: 760px) {
    .update-card-top { align-items: flex-start; }
    .update-card-meta { display: grid; }
    .update-card-meta strong { font-size: 1.2rem; }
}

/* --- Bankana v9: privacy-first landing menu --- */
.menu-copy {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    gap: 4px;
    min-width: 0;
}
.menu-copy strong {
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.018em;
}
.menu-copy small {
    color: var(--soft);
    font-size: 0.82rem;
    line-height: 1.25;
}
.landing-welcome { display: none; }

body.landing-mode .topbar,
body.landing-mode .stage-card {
    display: none;
}
body.landing-mode .app-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding-block: 38px;
}
body.landing-mode .workspace {
    display: block;
    width: min(100%, 850px);
}
body.landing-mode .menu-card {
    position: static;
    width: 100%;
    padding: 36px 44px 34px;
    border-radius: 36px;
    border-color: rgba(53, 231, 255, 0.42);
    background:
        radial-gradient(circle at 88% 8%, rgba(139, 92, 246, 0.22), transparent 38%),
        radial-gradient(circle at 8% 92%, rgba(53, 231, 255, 0.16), transparent 38%),
        rgba(4, 12, 29, 0.88);
    box-shadow:
        0 0 0 1px rgba(191, 70, 255, 0.16),
        0 30px 100px rgba(0, 0, 0, 0.52),
        0 0 42px rgba(53, 231, 255, 0.14),
        0 0 52px rgba(191, 70, 255, 0.12);
}
body.landing-mode .landing-welcome {
    display: grid;
    justify-items: center;
    text-align: center;
    margin-bottom: 28px;
}
.landing-bank-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 22px;
    color: #e8faff;
    font-size: 2rem;
    border: 1px solid rgba(53, 231, 255, 0.52);
    background: linear-gradient(145deg, rgba(53, 231, 255, 0.24), rgba(139, 92, 246, 0.34));
    box-shadow: 0 0 30px rgba(53, 231, 255, 0.22), 0 0 34px rgba(139, 92, 246, 0.2);
}
.landing-welcome > span {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.34em;
    font-size: 0.8rem;
    font-weight: 1000;
}
.landing-welcome h2 {
    margin: 9px 0 5px;
    font-size: clamp(2.4rem, 7vw, 4.3rem);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #35e7ff, #64a8ff 46%, #bf46ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.landing-welcome p {
    margin: 8px 0 18px;
    color: #c5d5ef;
    font-size: 1.05rem;
}
.landing-welcome small {
    color: var(--soft);
    font-size: 0.96rem;
}
body.landing-mode .menu-header {
    justify-content: center;
    padding-top: 0;
}
body.landing-mode .menu-item {
    min-height: 92px;
    padding: 16px 22px;
    margin-bottom: 14px;
    border-radius: 22px;
}
body.landing-mode .menu-item:hover {
    transform: translateY(-2px) scale(1.005);
}
body.landing-mode .number-orb {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
}
body.landing-mode .menu-copy strong { font-size: 1.2rem; }
body.landing-mode .menu-copy small { font-size: 0.9rem; }
body.landing-mode .menu-arrow { opacity: 1; transform: none; }
body.landing-mode .exit-menu-item { margin-top: 22px; }
body.landing-mode .tip-card {
    justify-content: center;
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 760px) {
    body.landing-mode .app-shell {
        width: min(100% - 24px, 620px);
        padding-block: 18px;
    }
    body.landing-mode .menu-card {
        padding: 26px 18px 22px;
        border-radius: 28px;
    }
    body.landing-mode .menu-item {
        min-height: 84px;
        padding: 13px 15px;
    }
    body.landing-mode .number-orb {
        width: 52px;
        height: 52px;
    }
    body.landing-mode .menu-copy small { display: block; }
    .landing-welcome h2 { letter-spacing: 0.1em; }
}


/* =============================================================
   Bankana v10 — focused client-management workspace
   ============================================================= */

/* Once a menu option is opened, the landing menu disappears and the
   selected workspace gets the full width. Client information never sits
   beside the main menu. */
body.workspace-mode:not(.landing-mode) .workspace {
    display: block;
}

body.workspace-mode:not(.landing-mode) .menu-card {
    display: none !important;
}

body.workspace-mode:not(.landing-mode) .stage-card {
    width: 100%;
    min-height: 0;
    padding: 22px;
}

body.workspace-mode:not(.landing-mode) .screen {
    min-height: 680px;
}

.client-workspace-screen {
    padding: clamp(20px, 3vw, 34px);
}

.client-screen-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.workspace-back-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    padding: 10px 16px 10px 10px;
    border: 1px solid rgba(92, 225, 255, 0.38);
    border-radius: 18px;
    color: #e9faff;
    background: linear-gradient(135deg, rgba(10, 51, 79, 0.82), rgba(29, 35, 91, 0.72));
    box-shadow: 0 0 28px rgba(53, 231, 255, 0.13), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    text-align: left;
    transition: 180ms ease;
}

.workspace-back-action:hover {
    transform: translateX(-4px);
    border-color: rgba(92, 225, 255, 0.7);
    box-shadow: 0 0 38px rgba(53, 231, 255, 0.24), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.workspace-back-orb {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    color: #effcff;
    font-size: 1.45rem;
    font-weight: 900;
    background: linear-gradient(145deg, #0369a1, #2563eb 55%, #7c3aed);
    box-shadow: 0 0 22px rgba(53, 231, 255, 0.4);
}

.workspace-back-action strong,
.workspace-back-action small {
    display: block;
}

.workspace-back-action strong {
    font-size: 0.98rem;
}

.workspace-back-action small {
    margin-top: 3px;
    color: #8ca8cf;
    font-size: 0.72rem;
}

.client-workspace-title {
    margin-bottom: 22px;
}

.client-command-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.7fr) repeat(3, minmax(175px, 0.7fr));
    gap: 14px;
    margin-bottom: 20px;
}

.client-command-search,
.client-command-card {
    min-height: 92px;
    border: 1px solid rgba(140, 176, 255, 0.17);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(9, 19, 43, 0.88), rgba(14, 25, 58, 0.68));
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 14px 34px rgba(0, 0, 0, 0.18);
}

.client-command-search {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
}

.command-icon,
.command-orb {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    color: #eafeff;
    font-size: 1.4rem;
    font-weight: 1000;
    background: linear-gradient(145deg, #075985, #2563eb 55%, #7c3aed);
    box-shadow: 0 0 24px rgba(53, 231, 255, 0.34);
}

.command-search-copy {
    min-width: 0;
    flex: 1;
}

.command-search-copy strong {
    display: block;
    margin: 0 0 8px 2px;
    color: #dff8ff;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.command-search-copy input {
    width: 100%;
    border: 1px solid rgba(106, 190, 255, 0.22);
    border-radius: 13px;
    padding: 10px 12px;
    color: #edfaff;
    outline: none;
    background: rgba(2, 8, 23, 0.72);
    transition: 180ms ease;
}

.command-search-copy input:focus {
    border-color: rgba(53, 231, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(53, 231, 255, 0.1), 0 0 22px rgba(53, 231, 255, 0.12);
}

.client-command-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: #edf8ff;
    text-align: left;
    transition: 180ms ease;
}

.client-command-card:hover {
    transform: translateY(-3px);
}

.client-command-card strong,
.client-command-card small {
    display: block;
}

.client-command-card strong {
    font-size: 0.94rem;
}

.client-command-card small {
    margin-top: 5px;
    color: #8ca8cf;
    font-size: 0.74rem;
    line-height: 1.25;
}

.command-add {
    border-color: rgba(52, 245, 168, 0.26);
}
.command-add:hover {
    border-color: rgba(52, 245, 168, 0.7);
    box-shadow: 0 0 30px rgba(52, 245, 168, 0.16);
}
.command-add .command-orb {
    background: linear-gradient(145deg, #047857, #10b981 50%, #0ea5e9);
    box-shadow: 0 0 24px rgba(52, 245, 168, 0.34);
}

.command-update {
    border-color: rgba(251, 191, 36, 0.24);
}
.command-update:hover {
    border-color: rgba(251, 191, 36, 0.68);
    box-shadow: 0 0 30px rgba(251, 146, 60, 0.16);
}
.command-update .command-orb {
    background: linear-gradient(145deg, #92400e, #f59e0b 48%, #fb7185);
    box-shadow: 0 0 24px rgba(251, 146, 60, 0.34);
}

.command-delete {
    border-color: rgba(251, 113, 133, 0.26);
}
.command-delete:hover {
    border-color: rgba(251, 113, 133, 0.72);
    box-shadow: 0 0 30px rgba(244, 63, 94, 0.18);
}
.command-delete .command-orb {
    background: linear-gradient(145deg, #9f1239, #f43f5e 52%, #db2777);
    box-shadow: 0 0 24px rgba(244, 63, 94, 0.38);
}

.client-filter-tools {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.client-management-table table {
    min-width: 950px;
}

.actions-column {
    width: 230px;
    text-align: center;
}

.client-row-actions {
    text-align: center;
    white-space: nowrap;
}

.client-row-actions .row-action + .row-action {
    margin-left: 8px;
}

.row-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 92px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #eefaff;
    font-size: 0.78rem;
    font-weight: 900;
    transition: 160ms ease;
}

.row-action:hover {
    transform: translateY(-2px);
}

.row-update-action {
    border: 1px solid rgba(251, 191, 36, 0.42);
    background: linear-gradient(135deg, rgba(146, 64, 14, 0.72), rgba(245, 158, 11, 0.36));
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.12);
}
.row-update-action:hover {
    border-color: rgba(251, 191, 36, 0.82);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.22);
}

.row-delete-action {
    border: 1px solid rgba(251, 113, 133, 0.42);
    background: linear-gradient(135deg, rgba(159, 18, 57, 0.7), rgba(244, 63, 94, 0.35));
    box-shadow: 0 0 18px rgba(244, 63, 94, 0.12);
}
.row-delete-action:hover {
    border-color: rgba(251, 113, 133, 0.82);
    box-shadow: 0 0 24px rgba(244, 63, 94, 0.22);
}

@media (max-width: 1120px) {
    .client-command-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .client-command-search {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body.workspace-mode:not(.landing-mode) .topbar {
        display: flex;
    }

    body.workspace-mode:not(.landing-mode) .stage-card {
        display: block !important;
        padding: 10px;
        transform: none !important;
    }

    body.workspace-mode:not(.landing-mode) .screen {
        display: none;
        padding: 18px;
        min-height: 0;
    }

    body.workspace-mode:not(.landing-mode) .screen.active {
        display: block;
    }

    .mobile-menu-back {
        display: none !important;
    }

    .client-screen-navigation {
        align-items: stretch;
    }

    .workspace-back-action {
        min-width: 0;
        flex: 1;
    }

    .client-command-grid {
        grid-template-columns: 1fr;
    }

    .client-command-search {
        grid-column: auto;
    }

    .client-filter-tools {
        grid-template-columns: 1fr;
    }

    .client-management-table table {
        min-width: 860px;
    }
}

@media (max-width: 520px) {
    .client-screen-navigation {
        flex-direction: column;
    }

    .client-screen-navigation .refresh-glow-button {
        width: 100%;
        justify-content: center;
    }

    .workspace-back-action {
        width: 100%;
    }
}


/* =============================================================
   Bankana v11 — operation back navigation
   ============================================================= */
.operation-screen-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 22px;
}

.operation-back-action {
    min-width: 230px;
}

.exit-screen .operation-screen-navigation {
    width: 100%;
    text-align: left;
}

@media (max-width: 760px) {
    .operation-screen-navigation {
        align-items: stretch;
    }

    .operation-back-action {
        width: 100%;
        min-width: 0;
    }
}


/* ================================================================
   V15 — Neon Auth entry screen
   ================================================================ */
.auth-hidden { display: none !important; }
.auth-gate {
    position: relative;
    z-index: 20;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
}
.auth-gate.hidden { display: none; }
.auth-shell {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    overflow: hidden;
    border: 1px solid rgba(76, 209, 255, 0.42);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(4, 20, 38, 0.96), rgba(15, 11, 48, 0.96));
    box-shadow: 0 30px 90px rgba(0,0,0,.5), 0 0 45px rgba(59, 206, 255, .13);
}
.auth-brand {
    min-height: 610px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(25, 218, 255, .2), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(164, 80, 255, .22), transparent 40%);
    border-right: 1px solid rgba(110, 184, 255, .18);
}
.auth-logo {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    margin-bottom: 28px;
    font-size: 30px;
    color: #d9faff;
    background: linear-gradient(145deg, rgba(13, 218, 255, .28), rgba(145, 62, 255, .32));
    border: 1px solid rgba(74, 216, 255, .62);
    box-shadow: 0 0 30px rgba(43, 203, 255, .22);
}
.auth-brand > span { color: #4be9ff; text-transform: uppercase; letter-spacing: .28em; font-weight: 800; }
.auth-brand h1 {
    margin: 12px 0 10px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: .95;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #24e8ff, #a76bff);
    -webkit-background-clip: text;
    color: transparent;
}
.auth-brand p { color: #b8c7e1; font-size: 17px; max-width: 360px; }
.auth-card { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 16px; background: rgba(3, 13, 31, .75); border: 1px solid rgba(103, 153, 220, .2); margin-bottom: 28px; }
.auth-tab { border: 0; border-radius: 12px; padding: 13px; color: #8798b6; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.auth-tab.active { color: white; background: linear-gradient(135deg, rgba(25, 188, 255, .28), rgba(126, 72, 255, .35)); box-shadow: 0 0 22px rgba(48, 194, 255, .12); }
.auth-form { display: grid; gap: 17px; }
.auth-form.hidden { display: none; }
.auth-form label:not(.auth-check) { display: grid; gap: 8px; color: #b9c9e3; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.auth-form input:not([type="checkbox"]) { width: 100%; box-sizing: border-box; border-radius: 14px; border: 1px solid rgba(95, 143, 210, .28); background: rgba(2, 12, 29, .86); color: white; padding: 15px 16px; font: inherit; outline: none; }
.auth-form input:focus { border-color: #2cdcff; box-shadow: 0 0 0 3px rgba(44, 220, 255, .1); }
.auth-check { display: flex; align-items: center; gap: 10px; color: #9cacC5; font-size: 14px; }
.auth-submit { border: 1px solid rgba(54, 222, 255, .7); border-radius: 15px; padding: 15px 18px; color: white; font: inherit; font-weight: 900; cursor: pointer; background: linear-gradient(135deg, #087fae, #6941c7); box-shadow: 0 12px 30px rgba(28, 144, 234, .24); }
.auth-submit:disabled { opacity: .55; cursor: wait; }
.auth-message { min-height: 22px; margin: 18px 0 4px; color: #74f1c4; font-weight: 700; text-align: center; }
.auth-message.bad { color: #ff758f; }
.auth-security-note { color: #71829d; text-align: center; }
.session-user { margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(95, 155, 220, .22); background: rgba(4, 17, 36, .72); border-radius: 16px; }
.session-user.hidden { display: none; }
.session-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; font-weight: 900; background: linear-gradient(135deg, #15c8ef, #8c5cff); }
.session-user > span:nth-child(2) { display: grid; }
.session-user small { color: #8395b2; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.session-user button { border: 1px solid rgba(255, 93, 125, .4); background: rgba(102, 19, 42, .28); color: #ff9caf; border-radius: 10px; padding: 9px 11px; cursor: pointer; }
@media (max-width: 800px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand { min-height: auto; padding: 38px 28px 25px; border-right: 0; border-bottom: 1px solid rgba(110,184,255,.18); }
    .auth-brand h1 { font-size: 42px; }
    .auth-card { padding: 28px; }
    .session-user > span:nth-child(2) { display: none; }
}


/* v18 authentication usability and same-origin session flow */
.auth-tabs.hidden { display: none; }
.password-field {
    position: relative;
    display: block;
}
.password-field input {
    padding-right: 74px !important;
}
.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    padding: 7px 9px;
    color: #9deeff;
    background: rgba(22, 96, 146, .22);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.password-toggle:hover,
.password-toggle:focus-visible {
    color: white;
    background: rgba(38, 184, 230, .3);
    outline: 1px solid rgba(76, 224, 255, .55);
}
.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.auth-text-button {
    border: 0;
    padding: 4px 0;
    color: #70ddff;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}
.auth-text-button:hover,
.auth-text-button:focus-visible { color: white; }
.auth-secondary {
    border: 1px solid rgba(111, 153, 211, .28);
    border-radius: 14px;
    padding: 13px 16px;
    color: #b8c8e2;
    background: rgba(3, 13, 31, .58);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.auth-secondary:hover,
.auth-secondary:focus-visible {
    color: white;
    border-color: rgba(72, 215, 255, .55);
}
.auth-form-heading h2 {
    margin: 0 0 8px;
    color: white;
    font-size: 24px;
}
.auth-form-heading p {
    margin: 0;
    color: #8fa2c1;
    line-height: 1.55;
}
.password-help {
    margin-top: -6px;
    color: #788aa7;
    line-height: 1.45;
}
@media (max-width: 520px) {
    .auth-form-row { align-items: flex-start; flex-direction: column; gap: 8px; }
}
