:root {
    --bg-0: #0a0b0f;
    --bg-1: #030405;
    --glass: rgba(20, 22, 27, 0.72);
    --glass-strong: rgba(24, 27, 34, 0.88);
    --line: rgba(255, 255, 255, 0.06);
    --line-strong: rgba(255, 255, 255, 0.12);
    --text: #f0f0f0;
    --text-soft: #c9cbd1;
    --text-muted: #a0a4ab;
    --text-dim: #6b6f76;
    --text-faint: #4a4d55;
    --purple: #b400ff;
    --purple-soft: rgba(180, 0, 255, 0.18);
    --teal: #0abab5;
    --teal-bright: #00ffaa;
    --discord: #5865f2;
    --danger: #ff4d4d;
    --warning: #f59e0b;
    --success: #00ffaa;
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input {
    font-family: "Inter", sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 15%, rgba(180, 0, 255, 0.16), transparent 28%),
        radial-gradient(circle at 80% 25%, rgba(10, 186, 181, 0.10), transparent 24%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    border: 0;
    outline: none;
}

button:disabled,
input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.hidden {
    display: none !important;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.thunderr-body {
    position: relative;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.screen-glow {
    position: fixed;
    width: 460px;
    height: 460px;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.glow-purple {
    top: 2%;
    left: 2%;
    background: radial-gradient(circle, var(--purple), transparent 70%);
}

.glow-teal {
    right: 4%;
    bottom: 8%;
    background: radial-gradient(circle, var(--teal-bright), transparent 70%);
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--purple), var(--teal));
    box-shadow: 0 0 30px rgba(180, 0, 255, 0.35);
}

.brand-bolt {
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-copy strong {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-copy span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.brand-copy-accent {
    color: var(--purple);
}

.site-topbar {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.site-links {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
}

.site-links a:hover {
    color: var(--text);
}

.public-shell {
    min-height: calc(100vh - 96px);
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
}

.hero-orb {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 0, 255, 0.22), rgba(10, 186, 181, 0.08), transparent 70%);
    filter: blur(24px);
}

.login-card {
    width: min(680px, 100%);
    padding: 48px;
    display: grid;
    gap: 18px;
    text-align: center;
    position: relative;
}

.pill-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-pill {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(180, 0, 255, 0.12);
    border: 1px solid rgba(180, 0, 255, 0.28);
    color: var(--text-soft);
    font-size: 0.9rem;
}

.hero-kicker,
.page-kicker,
.eyebrow,
.sidebar-label,
.meta {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
}

.hero-title,
.page-title,
.section-title {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-title {
    font-size: clamp(2.25rem, 4vw, 3.4rem);
}

.page-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.section-title {
    font-size: 1.45rem;
}

.hero-copy,
.page-copy,
.muted-copy {
    color: var(--text-muted);
    line-height: 1.7;
}

.login-footnote {
    color: var(--text-faint);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
    border: 1px solid transparent;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--teal));
    box-shadow: 0 0 30px rgba(10, 186, 181, 0.18);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line-strong);
}

.button-discord {
    color: #fff;
    background: var(--discord);
    box-shadow: 0 0 32px rgba(88, 101, 242, 0.25);
}

.button-danger {
    color: #fff;
    background: rgba(255, 77, 77, 0.16);
    border-color: rgba(255, 77, 77, 0.26);
}

.button-large {
    min-height: 54px;
    width: 100%;
}

.hero-button {
    width: 100%;
    margin-top: 6px;
}

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert-danger {
    background: rgba(255, 77, 77, 0.14);
    border: 1px solid rgba(255, 77, 77, 0.24);
    color: #ffd1d1;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.24);
    color: #ffe2b0;
}

.alert-success {
    background: rgba(0, 255, 170, 0.12);
    border: 1px solid rgba(0, 255, 170, 0.24);
    color: #c6ffee;
}

.app-shell {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 28px;
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.app-sidebar {
    position: sticky;
    top: 18px;
    padding: 20px;
    height: calc(100vh - 36px);
    display: grid;
    align-content: start;
    gap: 16px;
}

.app-main {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.sidebar-user,
.sidebar-balance {
    padding: 16px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar-ring,
.avatar-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(88, 101, 242, 0.5);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.45), rgba(180, 0, 255, 0.3));
}

.avatar-fallback {
    display: grid;
    place-items: center;
    font-weight: 800;
}

.sidebar-user-copy {
    display: grid;
    gap: 4px;
}

.sidebar-user-copy span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.muted-small {
    color: var(--text-dim);
    font-size: 0.8rem;
}

.sidebar-balance-value {
    font-size: 1.9rem;
    color: var(--teal-bright);
    letter-spacing: -0.03em;
}

.sidebar-nav {
    display: grid;
    gap: 18px;
}

.sidebar-group {
    display: grid;
    gap: 10px;
}

.nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 14px;
    color: var(--text-soft);
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(180, 0, 255, 0.12);
    border-color: rgba(180, 0, 255, 0.24);
}

.sidebar-logout {
    margin-top: auto;
}

.page-head {
    padding: 6px 2px 0;
}

.split-layout,
.topup-grid,
.admin-overview-grid,
.status-layout {
    display: grid;
    gap: 22px;
}

.dashboard-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.topup-grid {
    grid-template-columns: minmax(0, 1.1fr) 320px;
    align-items: start;
}

.admin-overview-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
}

.status-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack-column,
.feature-stack,
.field-stack,
.summary-stack,
.timeline-list,
.recent-list,
.summary-panel,
.topup-shell {
    display: grid;
    gap: 18px;
}

.section-card {
    padding: 24px;
}

.feature-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card p {
    margin: 6px 0 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.icon-box {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(180, 0, 255, 0.16);
    border: 1px solid rgba(180, 0, 255, 0.3);
    color: #fff;
    font-weight: 800;
}

.price-grid,
.summary-grid,
.stats-grid,
.wallet-grid,
.credit-user-grid,
.bot-grid,
.orders-grid {
    display: grid;
    gap: 18px;
}

.price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-card,
.summary-card,
.stat-card {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.price-card strong,
.summary-card strong,
.stat-card strong {
    display: block;
    margin-top: 10px;
    font-size: 1.42rem;
}

.price-card small,
.price-card span,
.summary-card span,
.stat-card span {
    color: var(--text-muted);
}

.price-card-teal {
    border-color: rgba(0, 255, 170, 0.18);
    box-shadow: inset 0 0 0 1px rgba(0, 255, 170, 0.08);
}

.card-head-row,
.order-card-head,
.bot-card-head,
.log-card-head,
.wallet-head,
.credit-user-head,
.order-meta-row,
.summary-line,
.progress-meta,
.bot-footer,
.status-line,
.pill-summary-row,
.filter-row,
.gate-row,
.copy-row,
.checkout-banner,
.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.live-stock-pill,
.summary-pill {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
}

.summary-pill.success {
    color: var(--success);
}

.summary-pill.neutral {
    color: var(--text-muted);
}

.summary-pill.danger {
    color: var(--danger);
}

.field {
    display: grid;
    gap: 10px;
}

.field span:first-child {
    font-weight: 600;
    color: var(--text-soft);
}

.input {
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.input:focus {
    border-color: rgba(180, 0, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(180, 0, 255, 0.12);
}

.availability-box {
    padding: 14px 16px;
    border-radius: 14px;
    line-height: 1.6;
}

.availability-box.neutral {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

.availability-box.success {
    background: rgba(0, 255, 170, 0.08);
    color: #c4ffee;
}

.availability-box.danger {
    background: rgba(255, 77, 77, 0.08);
    color: #ffd4d4;
}

.toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.toggle-grid.compact {
    gap: 8px;
}

.toggle-button,
.preset-button,
.payment-method,
.step-pill,
.filter-pill {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-soft);
    cursor: pointer;
    transition: all 160ms ease;
}

.toggle-button {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 78px;
}

.toggle-button small {
    color: var(--text-dim);
}

.toggle-button.active,
.preset-button.active,
.payment-method.active,
.step-pill.active,
.filter-pill.active {
    color: var(--text);
    border-color: rgba(180, 0, 255, 0.38);
    background: rgba(180, 0, 255, 0.14);
}

.filter-pill[data-filter="order"].active {
    border-color: rgba(10, 186, 181, 0.36);
    background: rgba(10, 186, 181, 0.14);
}

.filter-pill[data-filter="payment"].active {
    border-color: rgba(180, 0, 255, 0.36);
    background: rgba(180, 0, 255, 0.16);
}

.filter-pill[data-filter="bot"].active {
    border-color: rgba(245, 158, 11, 0.36);
    background: rgba(245, 158, 11, 0.16);
}

.filter-pill[data-filter="system"].active {
    border-color: rgba(107, 111, 118, 0.36);
    background: rgba(107, 111, 118, 0.18);
}

.filter-pill[data-filter="refund"].active {
    border-color: rgba(255, 77, 77, 0.36);
    background: rgba(255, 77, 77, 0.16);
}

.toggle-button.online.active,
.payment-method.active {
    box-shadow: 0 0 0 1px rgba(0, 255, 170, 0.15);
}

.delivery-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.payment-method {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.payment-method-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--method-color, var(--purple));
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.08);
}

.payment-method.active .payment-method-dot {
    background: var(--method-color, var(--purple));
}

.summary-panel {
    align-self: start;
}

.summary-line strong {
    color: var(--teal-bright);
}

.pay-stage {
    display: grid;
    gap: 18px;
}

.pay-amount-box,
.countdown-box {
    padding: 18px;
    border-radius: var(--radius-md);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-amount-box strong,
.countdown-box strong {
    display: block;
    margin-top: 10px;
    font-size: 2rem;
}

.countdown-box.danger-zone {
    border-color: rgba(255, 77, 77, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 77, 77, 0.14);
}

.checkout-banner {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-banner a {
    color: var(--teal-bright);
}

.copy-target {
    flex: 1;
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-wrap: anywhere;
}

.success-card,
.success-stage,
.center-stage {
    display: grid;
    gap: 18px;
}

.center-stage {
    max-width: 860px;
}

.success-orb {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 255, 170, 0.12);
    border: 1px solid rgba(0, 255, 170, 0.22);
    color: var(--success);
    font-weight: 800;
    box-shadow: 0 0 35px rgba(0, 255, 170, 0.18);
}

.success-orb.teal {
    background: rgba(10, 186, 181, 0.12);
    border-color: rgba(10, 186, 181, 0.22);
    color: var(--teal-bright);
}

.inline-action {
    color: var(--teal-bright);
    font-weight: 600;
}

.orders-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.order-card {
    padding: 22px;
    display: grid;
    gap: 16px;
}

.order-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--text-soft);
}

.order-meta-row {
    color: var(--text-dim);
    font-size: 0.88rem;
}

.progress-stack {
    display: grid;
    gap: 10px;
}

.progress-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--purple), var(--teal-bright));
    box-shadow: 0 0 18px rgba(10, 186, 181, 0.18);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: capitalize;
    border: 1px solid transparent;
}

.status-pill.awaiting,
.status-pill.payment {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.18);
    color: #ffd28c;
}

.status-pill.active,
.status-pill.completed,
.status-pill.bot {
    background: rgba(0, 255, 170, 0.1);
    border-color: rgba(0, 255, 170, 0.18);
    color: #c7ffef;
}

.status-pill.partial {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.18);
    color: #ffe0a3;
}

.status-pill.failed,
.status-pill.refunded,
.status-pill.refund {
    background: rgba(255, 77, 77, 0.12);
    border-color: rgba(255, 77, 77, 0.18);
    color: #ffd4d4;
}

.status-pill.system,
.status-pill.order {
    background: rgba(180, 0, 255, 0.12);
    border-color: rgba(180, 0, 255, 0.18);
    color: #f1ccff;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card strong {
    font-size: 2rem;
}

.table-shell {
    overflow: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.data-table th {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.timeline-list,
.log-grid {
    max-height: 760px;
    overflow: auto;
}

.timeline-card,
.log-card {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 4px solid transparent;
    display: grid;
    gap: 6px;
}

.timeline-card strong,
.log-card strong {
    line-height: 1.5;
}

.timeline-card span,
.timeline-card small,
.log-card span,
.log-card small {
    color: var(--text-muted);
}

.timeline-card.order,
.log-card[data-log-type="order"] {
    border-left-color: var(--teal);
}

.timeline-card.payment,
.log-card[data-log-type="payment"] {
    border-left-color: var(--purple);
}

.timeline-card.bot,
.log-card[data-log-type="bot"] {
    border-left-color: var(--warning);
}

.timeline-card.system,
.log-card[data-log-type="system"] {
    border-left-color: var(--text-faint);
}

.timeline-card.refund,
.log-card[data-log-type="refund"] {
    border-left-color: var(--danger);
}

.pill-summary-row {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.bot-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bot-card {
    padding: 20px;
    display: grid;
    gap: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background: var(--success);
    box-shadow: 0 0 16px rgba(0, 255, 170, 0.65);
}

.status-dot.idle {
    background: #7f8693;
}

.status-dot.error {
    background: var(--danger);
    box-shadow: 0 0 16px rgba(255, 77, 77, 0.5);
}

.proxy-line {
    color: var(--text-dim);
    font-size: 0.88rem;
    overflow-wrap: anywhere;
}

.bot-highlight {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-highlight strong {
    display: block;
    margin-top: 8px;
    font-size: 1.6rem;
}

.bot-footer {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.gate-card {
    padding: 24px;
}

.gate-row {
    margin-top: 18px;
}

.gate-row .input {
    flex: 1;
}

.wallet-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.wallet-card {
    padding: 20px;
    display: grid;
    gap: 16px;
}

.wallet-card.disabled {
    opacity: 0.7;
}

.wallet-head {
    align-items: flex-start;
}

.wallet-head > div:first-child {
    display: flex;
    gap: 12px;
}

.wallet-head span {
    color: var(--text-muted);
}

.wallet-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(180, 0, 255, 0.16);
    border: 1px solid rgba(180, 0, 255, 0.22);
    font-weight: 800;
}

.wallet-address {
    color: var(--text-soft);
    overflow-wrap: anywhere;
}

.wallet-balance,
.credit-amount {
    color: var(--teal-bright);
    font-size: 1.6rem;
    font-weight: 800;
}

.toggle-switch {
    width: 58px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.toggle-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    transition: transform 160ms ease;
}

.toggle-switch.active {
    background: rgba(0, 255, 170, 0.2);
    border-color: rgba(0, 255, 170, 0.35);
    box-shadow: 0 0 18px rgba(0, 255, 170, 0.18);
}

.toggle-switch.active::after {
    transform: translateX(26px);
}

.toggle-switch:disabled {
    opacity: 0.45;
}

.toggle-switch:disabled::after {
    background: rgba(255, 255, 255, 0.8);
}

.filter-row {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.credit-user-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.credit-user-card {
    padding: 20px;
    display: grid;
    gap: 16px;
}

.user-pill {
    display: flex;
    gap: 14px;
}

.user-pill-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--discord), var(--purple));
    font-weight: 800;
}

.user-pill span,
.user-pill small {
    color: var(--text-muted);
}

.card-actions {
    display: flex;
    justify-content: flex-end;
}

.card-actions .button:disabled {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.inline-editor {
    display: grid;
    gap: 12px;
}

.edit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
}

.empty-card {
    padding: 36px;
    text-align: center;
}

@media (max-width: 1180px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        position: static;
        height: auto;
    }

    .dashboard-layout,
    .topup-grid,
    .admin-overview-grid,
    .status-layout {
        grid-template-columns: 1fr;
    }

    .bot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-topbar,
    .public-shell,
    .app-shell {
        width: min(100%, calc(100% - 20px));
    }

    .login-card,
    .section-card,
    .app-sidebar {
        padding: 20px;
    }

    .preset-grid,
    .payment-method-grid,
    .toggle-grid,
    .delivery-summary,
    .stats-grid.compact,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .site-topbar,
    .card-head-row,
    .order-card-head,
    .bot-card-head,
    .wallet-head,
    .credit-user-head,
    .copy-row,
    .checkout-banner,
    .gate-row {
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .nav-link {
        width: 100%;
    }

    .bot-grid,
    .orders-grid,
    .wallet-grid,
    .credit-user-grid {
        grid-template-columns: 1fr;
    }
}
