/* SMS Info — App Design System */

:root {
    --bg: #090c14;
    --bg-2: #0d1320;
    --bg-3: #131c2e;
    --surface: rgba(255, 255, 255, .04);
    --border: #253248;
    --border-soft: rgba(255, 255, 255, .1);
    --accent: #22c55e;
    --accent-strong: #16a34a;
    --accent-soft: rgba(34, 197, 94, .15);
    --accent-2: #3b82f6;
    --accent-2-soft: rgba(59, 130, 246, .15);
    --text: #f0f3fa;
    --muted: #a8b3c6;
    --muted-2: #788498;
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, .15);
    --warn: #f59e0b;
    --warn-soft: rgba(245, 158, 11, .15);
    --radius: 1rem;
    --radius-sm: .65rem;
    --radius-lg: 1.4rem;
    --shadow: 0 10px 40px -12px rgba(0, 0, 0, .6);
    --shadow-glow: 0 0 0 1px rgba(34, 197, 94, .3), 0 12px 44px -14px rgba(34, 197, 94, .4);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 420px at 15% -5%, rgba(34, 197, 94, .1), transparent 60%),
        radial-gradient(900px 460px at 90% -8%, rgba(59, 130, 246, .1), transparent 60%),
        radial-gradient(1000px 500px at 50% 110%, rgba(34, 197, 94, .05), transparent 60%);
}

::selection { background: rgba(34, 197, 94, .35); color: #fff; }

/* ---------- Navbar ---------- */

.navbar {
    background: rgba(13, 19, 32, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding-top: .65rem;
    padding-bottom: .65rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: .3px;
    color: var(--text);
}

.navbar-brand:hover { color: var(--text); }

.navbar-brand .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: .65rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, .18), rgba(59, 130, 246, .14));
    border: 1px solid rgba(34, 197, 94, .35);
    display: grid;
    place-items: center;
    box-shadow: 0 0 22px -4px rgba(34, 197, 94, .45);
}

.navbar-brand .brand-mark img { width: 24px; height: 24px; }

.navbar-brand .brand-text span { color: var(--accent); }

.navbar-toggler { border-color: var(--border); color: var(--text); }
.navbar-toggler:focus { box-shadow: 0 0 0 .15rem rgba(34, 197, 94, .25); }
.navbar-toggler-icon { filter: invert(1); }

.navbar .nav-link {
    color: var(--muted);
    font-weight: 550;
    font-size: .92rem;
    padding: .45rem .8rem;
    border-radius: .6rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: color .15s ease, background .15s ease;
}

.navbar .nav-link i { font-size: .95rem; }

.navbar .nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }

.navbar .nav-link.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.balance-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, .35);
    padding: .38rem .8rem;
    border-radius: .7rem;
    font-weight: 700;
    font-size: .88rem;
    white-space: nowrap;
    transition: transform .15s ease;
}

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

.balance-chip.bump { animation: bump .6s ease; }

@keyframes bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
}

.dropdown-menu {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: .75rem;
    box-shadow: var(--shadow);
    padding: .4rem;
    min-width: 220px;
}

.dropdown-menu .dropdown-header { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .6px; }

.dropdown-menu .dropdown-item {
    color: var(--text);
    border-radius: .55rem;
    padding: .5rem .75rem;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .55rem;
}

.dropdown-menu .dropdown-item i { color: var(--muted); width: 1.1rem; text-align: center; }

.dropdown-menu .dropdown-item:hover { background: rgba(255, 255, 255, .06); color: var(--text); }

.dropdown-divider { border-color: var(--border); }

.dropdown-toggle::after { display: none; }

/* ---------- Buttons ---------- */

.btn { border-radius: .7rem; font-weight: 600; transition: all .18s ease; }

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #04150a;
    font-weight: 700;
    border: none;
    box-shadow: 0 6px 20px -8px rgba(34, 197, 94, .6);
}

.btn-accent:hover, .btn-accent:focus {
    background: linear-gradient(135deg, #27d768, #1db456);
    color: #04150a;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px -8px rgba(34, 197, 94, .7);
}

.btn-accent:active { transform: translateY(0); }

.btn-outline-dim {
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--border);
    color: var(--muted);
}

.btn-outline-dim:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn-danger-soft {
    background: var(--danger-soft);
    border: 1px solid rgba(239, 68, 68, .35);
    color: #f87171;
}

.btn-danger-soft:hover { background: rgba(239, 68, 68, .2); color: #fca5a5; }

.btn-ghost { background: transparent; border: 1px solid transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.btn-sm { border-radius: .55rem; }

.btn-lg { border-radius: .8rem; }

.btn:disabled { opacity: .55; }

.btn-loading { pointer-events: none; position: relative; }

/* ---------- Cards ---------- */

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .03));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-hover { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }

.card-hover:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, .5);
    box-shadow: var(--shadow-glow);
}

.glass-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}

.icon-tile {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: .8rem;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    background: var(--accent-soft);
    color: var(--accent);
}

.icon-tile.blue { background: var(--accent-2-soft); color: var(--accent-2); }
.icon-tile.amber { background: var(--warn-soft); color: var(--warn); }
.icon-tile.red { background: var(--danger-soft); color: var(--danger); }
.icon-tile.violet { background: rgba(167, 139, 250, .14); color: #a78bfa; }
.icon-tile.pink { background: rgba(244, 114, 182, .14); color: #f472b6; }
.icon-tile.cyan { background: rgba(34, 211, 238, .14); color: #22d3ee; }

.icon-tile-sm { width: 34px; height: 34px; flex-basis: 34px; border-radius: .6rem; font-size: .95rem; }

/* ---------- Badges / status pills ---------- */

.badge {
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .3px;
    padding: .4em .7em;
    border-radius: .55rem;
    text-transform: capitalize;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .32rem .7rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.status-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 7px;
}

.status-pill.waiting, .status-pill.created {
    background: var(--warn-soft);
    color: var(--warn);
}

.status-pill.waiting::before { animation: pulse-dot 1.6s ease infinite; }

.status-pill.received, .status-pill.paid {
    background: var(--accent-soft);
    color: var(--accent);
}

.status-pill.canceled, .status-pill.expired {
    background: rgba(255, 255, 255, .06);
    color: var(--muted);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.75); }
}

.badge-soft { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(34, 197, 94, .3); }
.badge-soft.blue { background: var(--accent-2-soft); color: var(--accent-2); border-color: rgba(59, 130, 246, .3); }
.badge-soft.amber { background: var(--warn-soft); color: var(--warn); border-color: rgba(245, 158, 11, .3); }
.badge-soft.red { background: var(--danger-soft); color: #f87171; border-color: rgba(239, 68, 68, .3); }
.badge-soft.gray { background: rgba(255, 255, 255, .05); color: var(--muted); border-color: var(--border); }

/* ---------- Forms ---------- */

.form-label { font-weight: 600; font-size: .85rem; color: var(--text); }

.form-control, .form-select {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: .7rem;
    min-height: 44px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, .1);
    border-color: var(--accent);
    color: var(--text);
    box-shadow: 0 0 0 .2rem rgba(34, 197, 94, .2);
}

.form-control::placeholder { color: var(--muted-2); }

.form-control[readonly] { background: rgba(255, 255, 255, .04); opacity: .8; }

.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); background-image: none; }

.form-control.is-invalid:focus { box-shadow: 0 0 0 .2rem rgba(239, 68, 68, .2); }

.form-check-input { background-color: var(--bg-3); border-color: var(--border); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(34, 197, 94, .2); }

.input-icon { position: relative; }

.input-icon > i {
    position: absolute;
    left: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-2);
    z-index: 5;
    pointer-events: none;
}

.input-icon .form-control { padding-left: 2.6rem; }

.input-icon .toggle-password {
    position: absolute;
    right: .6rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--muted-2);
    cursor: pointer;
    z-index: 5;
    padding: .25rem;
}

.input-icon .toggle-password:hover { color: var(--muted); }

/* ---------- Tables ---------- */

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-hover-bg: rgba(255, 255, 255, .05);
}

.table thead th {
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 700;
    border-color: var(--border);
    padding-top: .9rem;
    padding-bottom: .9rem;
    white-space: nowrap;
    background: rgba(255, 255, 255, .02);
}

.table td {
    border-color: var(--border);
    padding-top: .85rem;
    padding-bottom: .85rem;
    vertical-align: middle;
}

.table-hover tbody tr { transition: background .12s ease; }

.text-muted2 { color: var(--muted); }

.font-monospace { font-family: var(--mono); }

/* ---------- Pagination ---------- */

.pagination { gap: .3rem; }

.page-link {
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--muted);
    border-radius: .55rem !important;
    margin: 0;
    min-width: 38px;
    text-align: center;
    font-weight: 600;
    transition: all .15s ease;
}

.page-link:hover { background: var(--border); color: var(--text); border-color: var(--border); }

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: var(--accent);
    color: #04150a;
    font-weight: 700;
}

.page-item.disabled .page-link { background: var(--bg-3); border-color: var(--border); color: var(--muted-2); }

/* ---------- Stats ---------- */

.stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .03));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, .12), transparent 70%);
    pointer-events: none;
}

.stat-card .num {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.5px;
    font-family: var(--mono);
    color: var(--text);
}

.stat-card .lbl { color: var(--muted); font-size: .85rem; font-weight: 500; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent-soft);
    border: 1px solid rgba(34, 197, 94, .3);
    color: var(--accent);
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.1rem, 5vw, 3.3rem);
    letter-spacing: -1.5px;
    line-height: 1.12;
}

.hero .gradient {
    background: linear-gradient(120deg, var(--accent), #4ade80 40%, var(--accent-2) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero .lead {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 1.2rem auto 0;
}

.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem; margin-top: 1.8rem; }

.trust-row .trust-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 550;
}

.trust-row .trust-item i { color: var(--accent); font-size: 1.05rem; opacity: .9; }

/* ---------- Step cards (how it works) ---------- */

.step-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.4rem;
    height: 100%;
    transition: transform .18s ease, border-color .18s ease;
}

.step-card:hover { transform: translateY(-3px); border-color: rgba(59, 130, 246, .45); }

.step-card .step-num {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, .05);
    font-family: var(--mono);
}

.step-card h5 { font-weight: 700; }

.step-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Service logo / flag ---------- */

.service-logo {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: .7rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border-soft);
}

.service-logo img { width: 22px; height: 22px; object-fit: contain; }

.service-logo.sm { width: 30px; height: 30px; flex-basis: 30px; border-radius: .55rem; }
.service-logo.sm img { width: 17px; height: 17px; }

.service-logo.lg { width: 52px; height: 52px; flex-basis: 52px; border-radius: .85rem; }
.service-logo.lg img { width: 28px; height: 28px; }

.service-logo .letter-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .95rem;
    color: var(--accent);
}

.service-logo .letter-fallback.tinted { color: #fff; }

.flag-img {
    width: 26px;
    height: 18px;
    border-radius: .3rem;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
    display: inline-block;
    vertical-align: -3px;
}

.flag-img.sm { width: 22px; height: 15px; border-radius: .25rem; }
.flag-img.lg { width: 36px; height: 24px; border-radius: .4rem; }

.flag-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 18px;
    border-radius: .3rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    font-size: .58rem;
    font-weight: 800;
    color: var(--muted);
}

/* ---------- Status stepper ---------- */

.stepper { display: flex; gap: .4rem; margin: 1.2rem 0 1.6rem; }

.stepper .step { flex: 1; position: relative; text-align: center; }

.stepper .step::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.stepper .step:first-child::before { display: none; }

.stepper .step .dot {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--bg-3);
    border: 2px solid var(--border);
    display: grid;
    place-items: center;
    font-size: .8rem;
    color: var(--muted);
    transition: all .3s ease;
}

.stepper .step .lbl { font-size: .72rem; color: var(--muted); margin-top: .4rem; font-weight: 600; }

.stepper .step.done .dot { background: var(--accent); border-color: var(--accent); color: #04150a; }
.stepper .step.done::before { background: var(--accent); }
.stepper .step.active .dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); animation: pulse-ring 2s ease infinite; }
.stepper .step.active .lbl { color: var(--text); }

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 0 5px var(--accent-soft); }
    50% { box-shadow: 0 0 0 9px rgba(34, 197, 94, .08); }
}

/* ---------- Countdown bar ---------- */

.countdown-track {
    height: 8px;
    background: rgba(255, 255, 255, .06);
    border-radius: 999px;
    overflow: hidden;
    margin-top: .8rem;
}

.countdown-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #4ade80);
    transition: width 1s linear;
    width: 100%;
}

.countdown-bar.warn { background: linear-gradient(90deg, var(--warn), #fbbf24); }
.countdown-bar.danger { background: linear-gradient(90deg, var(--danger), #f87171); }

/* ---------- Number display ---------- */

.number-display {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: var(--mono);
    color: var(--accent);
}

.code-reveal {
    display: inline-block;
    letter-spacing: 5px;
    font-family: var(--mono);
    animation: pop-in .5s cubic-bezier(.2, 1.4, .4, 1);
}

@keyframes pop-in {
    0% { opacity: 0; transform: scale(.7); }
    100% { opacity: 1; transform: scale(1); }
}

.address-display {
    font-family: var(--mono);
    word-break: break-all;
    background: rgba(255, 255, 255, .04);
    border: 1px dashed var(--border);
    padding: .9rem;
    border-radius: .8rem;
    font-size: .9rem;
}

.qr-box {
    background: #fff;
    padding: 1rem;
    border-radius: 1.1rem;
    display: inline-block;
    box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .5);
}

/* ---------- Toasts ---------- */

.toast-stack {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    max-width: min(360px, calc(100vw - 2rem));
}

.toast-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    background: rgba(17, 24, 42, .96);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: .8rem;
    padding: .85rem 1rem;
    box-shadow: var(--shadow);
    animation: toast-in .35s cubic-bezier(.2, 1.2, .4, 1);
    font-size: .88rem;
}

.toast-item.success { border-left-color: var(--accent); }
.toast-item.error { border-left-color: var(--danger); }
.toast-item.info { border-left-color: var(--accent-2); }

.toast-item .toast-icon { font-size: 1.05rem; line-height: 1.3; }
.toast-item.success .toast-icon { color: var(--accent); }
.toast-item.error .toast-icon { color: var(--danger); }
.toast-item.info .toast-icon { color: var(--accent-2); }

.toast-item .toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--muted-2);
    cursor: pointer;
    padding: 0 .2rem;
    font-size: .9rem;
}

.toast-item .toast-close:hover { color: var(--text); }

.toast-item.leaving { animation: toast-out .3s ease forwards; }

@keyframes toast-in {
    from { opacity: 0; transform: translateX(30px) scale(.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(30px); }
}

/* ---------- Alerts fallback ---------- */

.alert { border-radius: .8rem; border: 1px solid var(--border); }
.alert-success { background: var(--accent-soft); border-color: rgba(34, 197, 94, .4); color: #86efac; }
.alert-danger { background: var(--danger-soft); border-color: rgba(239, 68, 68, .4); color: #fca5a5; }
.alert-warning { background: var(--warn-soft); border-color: rgba(245, 158, 11, .4); color: #fde047; }
.alert-secondary { background: rgba(255, 255, 255, .05); border-color: var(--border); color: var(--muted); }

/* ---------- Empty state ---------- */

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--muted);
}

.empty-state .empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: var(--muted-2);
}

/* ---------- Quick amounts ---------- */

.quick-amounts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }

.quick-amount {
    padding: .5rem 1.1rem;
    border-radius: .7rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: all .15s ease;
    user-select: none;
}

.quick-amount:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.quick-amount.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: var(--accent);
    color: #04150a;
    box-shadow: 0 6px 18px -8px rgba(34, 197, 94, .7);
}

/* ---------- Search box ---------- */

.search-box { position: relative; }

.search-box > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-2);
    z-index: 5;
}

.search-box .form-control { padding-left: 2.6rem; }

.search-box .search-clear {
    position: absolute;
    right: .6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted-2);
    cursor: pointer;
    display: none;
}

.search-box.has-text .search-clear { display: block; }

/* ---------- Filter bar ---------- */

.filter-bar {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.4rem;
    display: flex;
    gap: .7rem;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .filter-bar { position: sticky; top: 62px; z-index: 900; backdrop-filter: blur(12px); background: rgba(10, 14, 23, .92); }
}

/* ---------- Mobile bottom nav ---------- */

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(13, 19, 32, .98);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    display: none;
    padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom));
}

.mobile-nav .mn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .4rem .25rem;
    color: var(--muted);
    text-decoration: none;
    font-size: .62rem;
    font-weight: 600;
    border-radius: .6rem;
    transition: color .15s ease;
}

.mobile-nav .mn-item i { font-size: 1.15rem; }

.mobile-nav .mn-item.active { color: var(--accent); }

.mobile-nav .mn-item:hover { color: var(--text); }

@media (max-width: 767.98px) {
    .mobile-nav { display: flex; }
    body { padding-bottom: 66px; }
}

/* ---------- Auth split screen ---------- */

.auth-wrap { min-height: calc(100vh - 140px); }

.auth-panel {
    background: linear-gradient(160deg, rgba(34, 197, 94, .08), rgba(59, 130, 246, .06) 60%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.auth-panel::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, .12), transparent 70%);
    top: -80px;
    right: -80px;
}

.auth-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 2.2rem;
}

/* ---------- Admin layout ---------- */

.admin-layout { display: flex; gap: 1.5rem; align-items: flex-start; }

.admin-sidebar {
    flex: 0 0 220px;
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.admin-sidebar .as-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .85rem;
    border-radius: .7rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    border: 1px solid transparent;
    transition: all .15s ease;
}

.admin-sidebar .as-item i { width: 1.1rem; text-align: center; }

.admin-sidebar .as-item:hover { color: var(--text); background: rgba(255, 255, 255, .04); }

.admin-sidebar .as-item.active {
    color: var(--accent);
    background: var(--accent-soft);
    border-color: rgba(34, 197, 94, .3);
}

@media (max-width: 991.98px) {
    .admin-layout { flex-direction: column; }
    .admin-sidebar { position: static; flex-direction: row; flex-wrap: wrap; flex-basis: auto; width: 100%; }
    .admin-sidebar .as-item { flex: 1; justify-content: center; min-width: 130px; }
}

/* ---------- Footer ---------- */

.footer {
    border-top: 1px solid var(--border);
    background: rgba(13, 19, 32, .8);
    color: var(--muted);
    font-size: .85rem;
    margin-top: 5rem;
}

.footer .f-brand { font-weight: 800; color: var(--text); font-size: 1rem; }

.footer .f-brand span { color: var(--accent); }

.footer h6 { color: var(--text); font-size: .8rem; text-transform: uppercase; letter-spacing: .8px; font-weight: 700; }

.footer a { color: var(--muted); text-decoration: none; transition: color .15s ease; }

.footer a:hover { color: var(--accent); }

.footer .pay-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    padding: .3rem .7rem;
    border-radius: .6rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
}

.footer .pay-badge i { font-size: .95rem; color: var(--accent); }

/* ---------- FAQ ---------- */

.accordion-item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: .8rem !important;
    margin-bottom: .7rem;
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: var(--text);
    font-weight: 600;
    padding: 1rem 1.25rem;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) { background: rgba(34, 197, 94, .05); color: var(--accent); }

.accordion-button::after {
    filter: invert(1) hue-rotate(180deg) saturate(3);
}

.accordion-body { color: var(--muted); font-size: .92rem; }

/* ---------- Modals ---------- */

.modal-content { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); }
.modal-header, .modal-footer { border-color: var(--border); }
.modal-title { font-weight: 700; font-size: 1.05rem; }
.btn-close { filter: invert(1); }

/* ---------- Misc ---------- */

.section-title { font-weight: 800; letter-spacing: -.4px; }

.section-sub { color: var(--muted); }

.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.page-heading h3 { margin: 0; font-weight: 800; letter-spacing: -.4px; }

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(34, 197, 94, .3);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin .8s linear infinite;
    vertical-align: -3px;
}

.spinner.light { border-color: rgba(255, 255, 255, .25); border-top-color: #fff; }
.spinner-lg { width: 40px; height: 40px; border-width: 4px; }

@keyframes spin { to { transform: rotate(360deg); } }

.copy-feedback {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity .2s ease;
}

.copy-feedback.show { opacity: 1; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp .5s ease both; }

.fade-in-up-1 { animation: fadeInUp .5s .05s ease both; }
.fade-in-up-2 { animation: fadeInUp .5s .12s ease both; }
.fade-in-up-3 { animation: fadeInUp .5s .19s ease both; }

.checkmark-anim {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 2px solid var(--accent);
    display: grid;
    place-items: center;
    font-size: 2.1rem;
    color: var(--accent);
    animation: pop-in .6s cubic-bezier(.2, 1.6, .4, 1);
}

.checkmark-anim.red { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); }

.link-dim { color: var(--accent); text-decoration: none; font-weight: 600; }
.link-dim:hover { color: #4ade80; text-decoration: underline; }

hr { border-color: var(--border); opacity: 1; }

.progress { background: rgba(255, 255, 255, .06); border-radius: 999px; }
.progress-bar { background: linear-gradient(90deg, var(--accent), #4ade80); }

.list-group-item {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
