html {
    font-size: 19px;
}

:root {
    --brand-green: #179C5A;
    --brand-green-dark: #12824b;
    --brand-blue: #236AD7;
    --brand-blue-dark: #1c57b0;
    --panel-bg: #f0f4fb;
    --panel-card: #ffffff;
    --panel-text: #12263f;
    --border-soft: #dde6f2;
    --sidebar-bg-start: #0d1b2f;
    --sidebar-bg-end: #162a45;
    --sidebar-text: #c4d4eb;
    --sidebar-text-hover: #ffffff;
    --sidebar-width: 256px;
    --topbar-height: 64px;
    --radius-card: 18px;
    --radius-sm: 12px;
    --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-card-hover: 0 12px 32px rgba(15, 23, 42, 0.10);
    --dashboard-section-gap: 0.9rem;
}

/* ─── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body.dashboard-body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.925rem;
    background: var(--panel-bg);
    color: var(--panel-text);
    overflow-x: hidden;
}

body.dashboard-body h1, body.dashboard-body h2,
body.dashboard-body h3, body.dashboard-body h4,
body.dashboard-body h5, body.dashboard-body h6 {
    font-weight: 700;
    color: #0f1e33;
}

.dashboard-shell {
    min-height: 100vh;
    align-items: flex-start;
}

.dash-main {
    min-width: 0;
    background: var(--panel-bg);
}

.dashboard-content {
    background: transparent;
    overflow-x: hidden;
}

.page-shell {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--dashboard-section-gap);
}

body.dashboard-body .page-shell > *,
body.dashboard-body .bill-page-shell > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.dashboard-body .page-shell > .row,
body.dashboard-body .bill-page-shell > .row {
    --bs-gutter-y: var(--dashboard-section-gap);
}

body.dashboard-body .page-header-card {
    margin-bottom: 0;
}

/* ─── Sidebar ───────────────────────────────────────────── */
.sidebar {
    position: sticky;
    top: 0;
    width: var(--sidebar-width);
    max-width: 100%;
    flex-shrink: 0;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, var(--sidebar-bg-start) 0%, var(--sidebar-bg-end) 100%);
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    z-index: 200;
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}

.sidebar-brand {
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 18px rgba(35,106,215,.3);
    overflow: hidden;
    padding: 5px;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sidebar-brand-text { line-height: 1.15; }
.sidebar-brand-text .brand-name { font-size: 0.95rem; font-weight: 700; color: #fff; }
.sidebar-brand-text .brand-sub { font-size: 0.72rem; color: rgba(255,255,255,0.45); letter-spacing: .03em; }

.sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    padding: .6rem .65rem 1rem;
    overflow-y: auto;
    overflow-x: visible;
}

.sidebar-nav::-webkit-scrollbar { width: 3px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }

.sidebar-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    padding: .6rem .7rem .25rem;
    margin-top: .3rem;
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .62rem .75rem;
    border-radius: var(--radius-sm);
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: all .2s ease;
    position: relative;
}

.sidebar a .nav-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    opacity: .75;
    transition: opacity .2s;
}

.sidebar a:hover {
    color: var(--sidebar-text-hover);
    background: rgba(255,255,255,.07);
}

.sidebar a:hover .nav-icon { opacity: 1; }

.sidebar a.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(23,156,90,.25), rgba(35,106,215,.2));
    box-shadow: inset 3px 0 0 var(--brand-green);
}

.sidebar a.active .nav-icon { opacity: 1; }

.sidebar-footer {
    margin-top: auto;
    padding: .55rem .65rem .75rem;
    border-top: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.sidebar-footer .small {
    color: rgba(255,255,255,.42) !important;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .75rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.05);
    margin-top: auto;
    margin-bottom: 0;
}

.sidebar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.sidebar-user-info .u-name { font-size: .8rem; font-weight: 600; color: #e2ebf8; }
.sidebar-user-info .u-role { font-size: .68rem; color: rgba(255,255,255,.38); }

.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ─── Sidebar overlay (mobile) ──────────────────────────── */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 23, 42, .5);
    backdrop-filter: blur(2px);
    z-index: 199;
    opacity: 0;
    transition: opacity .28s ease;
}

/* ─── Topbar ─────────────────────────────────────────────── */
.topbar {
    height: var(--topbar-height);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
}

.topbar-left { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.topbar-title {
    font-size: .95rem;
    font-weight: 700;
    color: #0f1e33;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topbar-subtitle { font-size: .75rem; color: #7a8fa8; }

.topbar-right { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

.topbar-user {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .4rem .75rem .4rem .4rem;
    border-radius: 999px;
    background: rgba(35, 106, 215, 0.06);
    border: 1px solid rgba(35, 106, 215, .12);
    cursor: pointer;
    min-width: 0;
}

.topbar-user-toggle {
    appearance: none;
}

.topbar-user-toggle::after {
    display: none;
}

.topbar-user-toggle:hover {
    background: rgba(35, 106, 215, 0.1);
    border-color: rgba(35, 106, 215, .22);
}

.topbar-user-menu {
    min-width: 250px;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: .35rem;
    font-size: .92rem;
}

.topbar-user-menu-header {
    border-bottom: 1px solid rgba(148,163,184,.18);
    margin-bottom: .25rem;
    padding: .2rem .35rem .5rem !important;
}

.topbar-user-menu-header .fw-semibold {
    font-size: 1rem;
    line-height: 1.25;
}

.topbar-user-menu-header .small {
    font-size: .8rem;
}

.topbar-user-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .5rem .65rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: .9rem;
    line-height: 1.25;
}

.topbar-user-menu .dropdown-item:hover {
    background: rgba(35, 106, 215, 0.08);
    color: #163b68;
}

.topbar-user-menu .dropdown-item.active {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    color: #fff;
    box-shadow: 0 8px 18px rgba(35,106,215,.18);
}

.topbar-user-menu .dropdown-item.active span,
.topbar-user-menu .dropdown-item.active i {
    color: inherit;
}

.topbar-user-menu .dropdown-item span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.topbar-user-menu .dropdown-item i {
    font-size: .95rem;
}

.topbar-user-menu .dropdown-item.active .topbar-user-menu-badge {
    background: rgba(255,255,255,.18) !important;
    color: #fff;
}

.topbar-user-menu-badge {
    min-width: 1.25rem;
    font-size: .72rem;
    padding: .2rem .42rem;
}

.topbar-user-menu form {
    margin: 0;
}

.topbar-user-menu .dropdown-item.text-danger {
    font-weight: 600;
}

.topbar-user-menu .dropdown-item.text-danger:hover {
    background: rgba(220,53,69,.08);
}

.topbar-admin-link,
.topbar-logout {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 600;
    transition: all .18s ease;
}

.topbar-admin-link {
    color: #1d4ed8;
    border: 1px solid rgba(35,106,215,.2);
    background: rgba(35,106,215,.08);
}

.topbar-admin-link:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    border-color: transparent;
}

.topbar-logout {
    color: #b53a3a;
    border: 1px solid rgba(220,53,69,.18);
    background: rgba(220,53,69,.06);
}

.topbar-logout:hover {
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
}

.topbar-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    display: grid;
    place-items: center;
    font-size: .7rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.topbar-user-name {
    font-size: .82rem;
    font-weight: 600;
    color: #1d3557;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-green);
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(23,156,90,.2);
}

#sidebarToggle {
    display: none;
    background: none;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: .32rem .55rem;
    color: #3a5170;
    font-size: 1.15rem;
    cursor: pointer;
    line-height: 1;
}

@media (min-width: 992px) {
    body.dashboard-body.menu-horizontal .sidebar,
    body.dashboard-body.menu-horizontal .sidebar-overlay {
        display: none;
    }

    body.dashboard-body.menu-horizontal #sidebarToggle {
        display: none !important;
    }
}

.horizontal-nav-wrap {
    position: sticky;
    top: var(--topbar-height);
    z-index: 95;
    width: 100%;
    margin-top: -1px;
    overflow: visible;
}

.horizontal-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: visible;
    padding: .7rem 1.25rem;
    border-top: 0;
    border-bottom: 1px solid var(--border-soft);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.horizontal-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: .55rem;
    min-width: max-content;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

.horizontal-nav::-webkit-scrollbar { height: 4px; }
.horizontal-nav::-webkit-scrollbar-thumb { background: rgba(35,106,215,.18); border-radius: 999px; }

.horizontal-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border-radius: 12px;
    color: #33506f;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all .18s ease;
}

.horizontal-nav-link:hover {
    color: var(--brand-blue);
    background: rgba(35,106,215,.07);
}

.horizontal-nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    box-shadow: 0 10px 24px rgba(35,106,215,.2);
}

.horizontal-nav-link.horizontal-nav-logout {
    color: #b53a3a;
}

.horizontal-nav-link.horizontal-nav-logout:hover {
    color: #fff;
    background: linear-gradient(135deg, #dc3545, #b02a37);
}


/* ─── Page header ────────────────────────────────────────── */
.page-header-card {
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(35, 106, 215, 0.1);
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, rgba(23,156,90,0.07) 0%, rgba(35,106,215,0.06) 100%);
}

/* ─── Cards ──────────────────────────────────────────────── */
.card {
    border: 1px solid #e4edf7;
    border-radius: var(--radius-card);
    background: var(--panel-card);
    box-shadow: var(--shadow-card);
}

.panel-card {
    padding: 1.25rem;
}

.card:hover { box-shadow: var(--shadow-card-hover); }

.wallet-card { border-top: 3px solid var(--brand-green); }
.stat-card { border-top: 3px solid transparent; }
.stat-card-green { border-top-color: var(--brand-green); }
.stat-card-blue  { border-top-color: var(--brand-blue); }
.stat-card-neutral { border-top-color: #8aa4c8; }

/* ─── Mini stat tiles ────────────────────────────────────── */
.mini-stat {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(23,156,90,0.07), rgba(35,106,215,0.07));
    border: 1px solid #e4edf8;
}

.mini-stat strong,
.mini-stat .stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f1e33;
    margin-top: .2rem;
}

/* ─── Dashboard hero ─────────────────────────────────────── */
.dashboard-hero {
    padding: 1.5rem 1.6rem;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #0d1f3c 0%, #236AD7 55%, #179C5A 100%);
    box-shadow: 0 16px 40px rgba(35,106,215,.2);
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}

body.dashboard-body .dashboard-hero .hero-label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.82);
    opacity: 1;
    margin-bottom: .5rem;
}

body.dashboard-body .dashboard-hero h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

body.dashboard-body .dashboard-hero .small {
    color: rgba(255,255,255,.92) !important;
    font-weight: 600;
}

/* ─── Badges & pills ─────────────────────────────────────── */
.info-strip { display: flex; flex-wrap: wrap; gap: 8px; }

.info-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.info-badge.success  { color: #0f6b3c; background: rgba(23,156,90,.13); }
.info-badge.primary  { color: #1f5bb6; background: rgba(35,106,215,.13); }
.info-badge.neutral  { color: #516986; background: rgba(81,105,134,.12); }
.info-badge.danger   { color: #b53a3a; background: rgba(220,53,69,.12); }

.action-needed-list {
    display: grid;
    gap: .8rem;
}

.action-needed-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 1rem;
    border: 1px solid rgba(35,106,215,.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,244,251,.9));
}

.empty-state-panel {
    border: 1px dashed rgba(81,105,134,.3);
    border-radius: 18px;
    padding: 1.15rem;
    text-align: center;
    background: rgba(248,250,252,.86);
}

.empty-state-panel i {
    font-size: 1.55rem;
    color: #7a8fa8;
}

.empty-state-compact {
    padding: 1rem;
}

.table-subtext {
    display: block;
    margin-top: .2rem;
    color: #6b7f97;
    font-size: .76rem;
    line-height: 1.4;
}

body.dashboard-body.theme-dark .action-needed-item,
body.dashboard-body.theme-dark .empty-state-panel {
    background: rgba(15, 23, 42, .86);
    border-color: #243041;
}

body.dashboard-body.theme-dark .table-subtext {
    color: #8ea4c2;
}

.ai-assistant-widget {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .75rem;
}

.ai-assistant-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1rem;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
}

.ai-assistant-panel {
    width: min(390px, calc(100vw - 1.5rem));
    border: 1px solid rgba(35,106,215,.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.ai-assistant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1rem .75rem;
    border-bottom: 1px solid rgba(148,163,184,.16);
}

.ai-assistant-tools {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    padding: .8rem 1rem 0;
}

.ai-feature-chip,
.ai-suggestion-chip {
    border: 1px solid rgba(35,106,215,.14);
    border-radius: 999px;
    background: #fff;
    color: #1f5bb6;
    padding: .35rem .7rem;
    font-size: .75rem;
    font-weight: 600;
}

.ai-feature-chip.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    border-color: transparent;
}

.ai-assistant-thread {
    max-height: 360px;
    overflow-y: auto;
    display: grid;
    gap: .7rem;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(240,244,251,.75), rgba(255,255,255,.95));
}

.ai-bubble {
    max-width: 92%;
    padding: .8rem .9rem;
    border-radius: 16px;
    font-size: .83rem;
    line-height: 1.5;
}

.ai-bubble-assistant {
    background: #fff;
    border: 1px solid rgba(35,106,215,.12);
    color: #183153;
}

.ai-bubble-user {
    margin-left: auto;
    background: linear-gradient(135deg, rgba(23,156,90,.96), rgba(35,106,215,.96));
    color: #fff;
}

.ai-assistant-form {
    padding: .9rem 1rem 1rem;
}

.ai-assistant-form textarea {
    resize: none;
    min-height: 86px;
}

.ai-result-list {
    display: grid;
    gap: .45rem;
}

.ai-result-card {
    display: block;
    padding: .8rem .9rem;
    border-radius: 14px;
    border: 1px solid rgba(35,106,215,.12);
    background: rgba(248,250,252,.92);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.ai-result-card:hover {
    border-color: rgba(23,156,90,.4);
    transform: translateY(-1px);
}

.ai-result-card-fee {
    border-left: 4px solid var(--brand-green);
    background: linear-gradient(135deg, rgba(240,253,244,.95), rgba(248,250,252,.98));
}

.ai-result-primary {
    margin-top: .35rem;
    font-weight: 800;
    color: #166534;
}

.ai-result-secondary {
    margin-top: .2rem;
    font-size: .79rem;
    color: #5b6b80;
}

.ai-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

body.dashboard-body.theme-dark .ai-assistant-panel,
body.dashboard-body.theme-dark .ai-assistant-thread,
body.dashboard-body.theme-dark .ai-result-card,
body.dashboard-body.theme-dark .ai-feature-chip,
body.dashboard-body.theme-dark .ai-suggestion-chip {
    background: #111827;
    border-color: #243041;
    color: #e5edf7;
}

body.dashboard-body.theme-dark .ai-result-card-fee {
    background: linear-gradient(135deg, rgba(20, 83, 45, 0.5), rgba(17, 24, 39, 0.98));
}

body.dashboard-body.theme-dark .ai-result-primary {
    color: #86efac;
}

body.dashboard-body.theme-dark .ai-result-secondary {
    color: #cbd5e1;
}

body.dashboard-body.theme-dark .ai-bubble-assistant {
    background: #0f172a;
    border-color: #243041;
    color: #e5edf7;
}

@media (max-width: 767px) {
    .ai-assistant-widget {
        right: .75rem;
        left: .75rem;
        align-items: stretch;
    }

    .ai-assistant-toggle {
        align-self: flex-end;
    }

    .ai-assistant-panel {
        width: 100%;
    }
}

.balance-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-blue);
    background: rgba(35,106,215,.1);
    border: 1px solid rgba(35,106,215,.18);
}

body.dashboard-body .dashboard-hero .balance-chip {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.2);
    font-weight: 800;
}

.tx-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.tx-badge.credit { color: #0f6b3c; background: rgba(23,156,90,.14); }
.tx-badge.debit  { color: #a33a33; background: rgba(220,53,69,.12); }

.ref-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f4f8fd;
    border: 1px solid #e2ebf7;
    color: #23415f;
    font-size: 0.82rem;
    font-family: 'Courier New', monospace;
}

/* ─── Quick action buttons ───────────────────────────────── */
.action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1rem;
    border-radius: 14px;
    font-size: .87rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s ease;
    border: 1.5px solid transparent;
}

.action-btn-primary {
    color: #fff;
    background: var(--brand-green);
    border-color: var(--brand-green);
}

.action-btn-primary:hover {
    background: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(23,156,90,.25);
}

.action-btn-outline {
    color: var(--brand-blue);
    border-color: rgba(35,106,215,.3);
    background: rgba(35,106,215,.04);
}

.action-btn-outline:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    transform: translateY(-1px);
}

/* ─── Wallet display cards ───────────────────────────────── */
.wallet-tile {
    border: 1px solid #e0ecf8;
    border-radius: 18px;
    padding: 1.1rem;
    background: #fff;
    height: 100%;
    transition: box-shadow .2s;
}

.wallet-tile:hover { box-shadow: 0 10px 28px rgba(35,106,215,.08); }

.wallet-tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: .9rem;
    font-weight: 800;
    color: var(--brand-blue);
    background: rgba(35,106,215,.09);
    margin-bottom: .7rem;
    flex-shrink: 0;
}

.wallet-tile-balance {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f1e33;
    line-height: 1.1;
}

.wallet-tile-code {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--brand-blue);
    margin-bottom: .2rem;
}

/* ─── Soft list ──────────────────────────────────────────── */
.soft-list { padding-left: 0; margin-bottom: 0; list-style: none; }

.soft-list li {
    padding: .7rem .85rem;
    border: 1px solid #eaf0f8;
    border-radius: var(--radius-sm);
    background: #f9fbff;
    margin-bottom: .5rem;
    font-size: .885rem;
}

.soft-list li:last-child { margin-bottom: 0; }

/* ─── Section subtitle ───────────────────────────────────── */
.section-subtitle { color: #6b7f97; font-size: .875rem; margin-bottom: 0; }

/* ─── Forms ──────────────────────────────────────────────── */
.form-label { font-size: .84rem; font-weight: 600; color: #2a3f58; margin-bottom: .35rem; }

.form-control,
.form-select,
select {
    border-radius: var(--radius-sm);
    border: 1px solid #d4e0ef;
    font-size: .9rem;
    color: #1d3247;
    padding: .55rem .85rem;
    transition: border-color .18s, box-shadow .18s;
}

.form-control:focus,
.form-select:focus,
select:focus {
    border-color: rgba(35,106,215,.5);
    box-shadow: 0 0 0 3px rgba(35,106,215,.1);
    outline: none;
}

textarea.form-control { min-height: 100px; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    font-weight: 600;
    font-size: .875rem;
    border-radius: var(--radius-sm);
    transition: all .18s ease;
}

.btn-green {
    color: #fff;
    border-color: var(--brand-green);
    background: var(--brand-green);
}

.btn-green:hover, .btn-green:focus {
    color: #fff;
    border-color: var(--brand-green-dark);
    background: var(--brand-green-dark);
    box-shadow: 0 4px 14px rgba(23,156,90,.28);
}

.btn-outline-primary {
    color: var(--brand-blue);
    border-color: rgba(35,106,215,.38);
}

.btn-outline-primary:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

.text-primary { color: var(--brand-blue) !important; }

/* ─── Tables ─────────────────────────────────────────────── */
.table {
    font-size: .875rem;
}

.table thead th {
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #5078a0;
    background: #f7faff;
    border-bottom: 1px solid #dde8f5;
    padding-top: .9rem;
    padding-bottom: .9rem;
    white-space: nowrap;
}

.table tbody td {
    padding-top: .85rem;
    padding-bottom: .85rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f5fb;
    color: #1e3250;
}

.table tbody tr:hover td { background: rgba(35,106,215,.025); }

.table tbody tr:last-child td { border-bottom: none; }

/* ─── Summary grid ───────────────────────────────────────── */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* ─── Pagination ─────────────────────────────────────────── */
.pagination-wrap { display: flex; justify-content: center; }
.pagination-wrap nav { width: auto; }

.pagination {
    --bs-pagination-color: var(--brand-blue);
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: var(--brand-blue);
    --bs-pagination-hover-border-color: var(--brand-blue);
    --bs-pagination-active-bg: var(--brand-blue);
    --bs-pagination-active-border-color: var(--brand-blue);
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-item .page-link {
    border-radius: var(--radius-sm);
    border: 1px solid #d8e5f5;
    min-width: 38px;
    text-align: center;
    font-weight: 600;
    font-size: .85rem;
}

.pagination .page-item.disabled .page-link { color: #95aac4; background: #f5f8fc; border-color: #e2eaf4; }

/* ─── Brand/sidebar ─────────────────────────────────────── */
.topbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    color: #1d3b6b;
    background: rgba(35,106,215,.08);
    border: 1px solid rgba(35,106,215,.15);
}

/* ─── Icon box ───────────────────────────────────────────── */
.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(23,156,90,.12), rgba(35,106,215,.12));
    color: var(--brand-blue);
}

/* ─── Activity row ───────────────────────────────────────── */
.funding-activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid #f0f5fb;
    gap: 1rem;
}

.funding-activity-item:last-child { border-bottom: none; }

.support-thread-container {
    max-height: min(640px, 70vh);
    overflow-y: auto;
}

.support-message-bubble {
    max-width: 88%;
}

@media (max-width: 767px) {
    .support-thread-container {
        max-height: none;
    }

    .support-message-bubble {
        max-width: 100%;
        width: 100%;
    }
}

/* ─── Deposit / method pills ─────────────────────────────── */
.deposit-wallet-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.deposit-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 500;
    color: #1d4570;
    background: rgba(35,106,215,.07);
    border: 1px solid rgba(35,106,215,.15);
}

.deposit-method-note {
    padding: .9rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(35,106,215,.04);
    border: 1px solid rgba(35,106,215,.12);
}

.method-chip-list { display: flex; flex-wrap: wrap; gap: 6px; }

.method-chip {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: #0f6b3c;
    background: rgba(23,156,90,.12);
    border: 1px solid rgba(23,156,90,.2);
}

/* ─── Mobile layout ──────────────────────────────────────── */
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(280px, calc(100vw - 16px));
        max-width: calc(100vw - 12px);
        height: 100%;
        transform: translateX(-100%);
        z-index: 200;
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 8px 0 40px rgba(10,20,40,.35);
    }

    .sidebar-overlay.open {
        display: block;
        opacity: 1;
    }

    .sidebar-close-btn {
        display: flex;
    }

    .topbar {
        height: auto;
        padding: .7rem .9rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .topbar-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .topbar-right {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: .45rem;
    }

    .status-dot {
        display: none;
    }

    #sidebarToggle { display: inline-flex; }

    body.dashboard-body.menu-horizontal .horizontal-nav-wrap {
        display: none;
    }

    .horizontal-nav-wrap {
        top: 0;
    }

    .horizontal-nav {
        justify-content: flex-start;
        padding: .65rem .95rem;
    }

    .horizontal-nav-inner {
        justify-content: flex-start;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    .page-shell { max-width: 100%; }
    .summary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .topbar { height: auto; padding: .65rem .75rem; }
    .topbar-title {
        font-size: .88rem;
    }
    .topbar-user {
        padding: .3rem .5rem .3rem .3rem;
        gap: .35rem;
    }
    .topbar-avatar {
        width: 28px;
        height: 28px;
        font-size: .68rem;
    }
    .topbar-logout {
        padding: .32rem .55rem;
    }
    .page-shell { padding: 0; }
    .page-header-card,
    .panel-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .dashboard-hero h2 { font-size: 1.5rem; }
    .horizontal-nav-link { padding: .5rem .75rem; font-size: .82rem; }
}

/* ─── Dark theme ────────────────────────────────────────── */
body.dashboard-body.theme-dark {
    background: #0b1220;
    color: #e5edf7;
    color-scheme: dark;
}

body.dashboard-body.theme-dark .dash-main,
body.dashboard-body.theme-dark .dashboard-content {
    background: #0b1220;
}

body.dashboard-body.theme-dark h1,
body.dashboard-body.theme-dark h2,
body.dashboard-body.theme-dark h3,
body.dashboard-body.theme-dark h4,
body.dashboard-body.theme-dark h5,
body.dashboard-body.theme-dark h6 {
    color: #f8fbff;
}

body.dashboard-body.theme-dark .topbar {
    background: rgba(11, 18, 32, 0.92);
    border-bottom-color: rgba(148,163,184,.18);
    box-shadow: 0 1px 6px rgba(0,0,0,.22);
}

body.dashboard-body.theme-dark .topbar-title,
body.dashboard-body.theme-dark .topbar-user-name {
    color: #f8fbff;
}

body.dashboard-body.theme-dark .topbar-subtitle,
body.dashboard-body.theme-dark .section-subtitle,
body.dashboard-body.theme-dark .text-muted,
body.dashboard-body.theme-dark .form-text,
body.dashboard-body.theme-dark .small {
    color: #93a8c1 !important;
}

body.dashboard-body.theme-dark .form-label {
    color: #c9d8eb;
}

body.dashboard-body.theme-dark .topbar-user {
    background: rgba(35, 106, 215, 0.14);
    border-color: rgba(35, 106, 215, 0.25);
}

body.dashboard-body.theme-dark .topbar-user-toggle:hover {
    background: rgba(59,130,246,.18);
    border-color: rgba(59,130,246,.32);
}

body.dashboard-body.theme-dark .topbar-user-menu {
    background: #111827;
    border-color: rgba(148,163,184,.18);
}

body.dashboard-body.theme-dark .topbar-user-menu-header {
    border-bottom-color: rgba(148,163,184,.18);
}

body.dashboard-body.theme-dark .topbar-admin-link {
    color: #bfdbfe;
    border-color: rgba(59,130,246,.28);
    background: rgba(37,99,235,.12);
}

body.dashboard-body.theme-dark .topbar-admin-link:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    border-color: transparent;
}

body.dashboard-body.theme-dark .topbar-logout {
    color: #fda4af;
    border-color: rgba(239,68,68,.3);
    background: rgba(239,68,68,.08);
}

body.dashboard-body.theme-dark .topbar-logout:hover {
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
}

body.dashboard-body.theme-dark #sidebarToggle {
    color: #dbe7f5;
    border-color: rgba(148,163,184,.25);
}

body.dashboard-body.theme-dark .horizontal-nav {
    background: rgba(17, 24, 39, 0.92);
    border-color: #243041;
}

body.dashboard-body.theme-dark .horizontal-nav-link {
    color: #dbe7f5;
}

body.dashboard-body.theme-dark .horizontal-nav-link:hover {
    color: #fff;
    background: rgba(35,106,215,.18);
}

body.dashboard-body.theme-dark .page-header-card,
body.dashboard-body.theme-dark .card,
body.dashboard-body.theme-dark .mini-stat,
body.dashboard-body.theme-dark .wallet-tile,
body.dashboard-body.theme-dark .deposit-method-note,
body.dashboard-body.theme-dark .account-detail-card {
    background: #111827;
    border-color: #243041;
    color: #e5edf7;
    box-shadow: 0 12px 26px rgba(0,0,0,.22);
}

body.dashboard-body.theme-dark .page-header-card {
    background: linear-gradient(135deg, rgba(23,156,90,.16) 0%, rgba(35,106,215,.14) 100%);
}

body.dashboard-body.theme-dark .mini-stat strong,
body.dashboard-body.theme-dark .mini-stat .stat-val,
body.dashboard-body.theme-dark .wallet-tile-code,
body.dashboard-body.theme-dark .wallet-tile-balance,
body.dashboard-body.theme-dark .card h6 {
    color: #f8fbff;
}

body.dashboard-body.theme-dark .soft-list li {
    background: #0f172a;
    border-color: #243041;
    color: #e5edf7;
}

body.dashboard-body.theme-dark .soft-list li strong {
    color: #f8fbff;
}

body.dashboard-body.theme-dark .deposit-pill,
body.dashboard-body.theme-dark .ref-chip {
    background: #0f172a;
    border-color: #2b3a50;
    color: #dbe7f5;
}

body.dashboard-body.theme-dark .form-control,
body.dashboard-body.theme-dark .form-select,
body.dashboard-body.theme-dark textarea.form-control {
    background: #0f172a;
    border-color: #324054;
    color: #e5edf7;
}

body.dashboard-body.theme-dark .form-control::placeholder,
body.dashboard-body.theme-dark textarea.form-control::placeholder {
    color: #7f96b4;
}

body.dashboard-body.theme-dark .form-control:focus,
body.dashboard-body.theme-dark .form-select:focus {
    background: #0f172a;
    color: #fff;
    border-color: rgba(35,106,215,.5);
    box-shadow: 0 0 0 .2rem rgba(35,106,215,.18);
}

body.dashboard-body.theme-dark .form-select option {
    background: #0f172a;
    color: #e5edf7;
}

body.dashboard-body.theme-dark .method-chip {
    color: #bbf7d0;
    background: rgba(23,156,90,.16);
    border-color: rgba(23,156,90,.28);
}

body.dashboard-body.theme-dark .funding-activity-item {
    background: #0f172a;
    border-color: #243041;
    border-bottom-color: #243041;
    color: #e5edf7;
}

body.dashboard-body.theme-dark .funding-activity-item .fw-semibold {
    color: #f8fbff;
}

body.dashboard-body.theme-dark #card-element,
body.dashboard-body.theme-dark .StripeElement {
    background: #0f172a;
    color: #e5edf7;
    border-color: #324054;
}

body.dashboard-body.theme-dark .modal-body hr {
    border-color: #243041;
    opacity: 1;
}

body.dashboard-body.theme-dark .table {
    color: #e5edf7;
    --bs-table-color: #e5edf7;
    --bs-table-bg: transparent;
    --bs-table-border-color: #243041;
    --bs-table-striped-bg: rgba(148,163,184,.04);
    --bs-table-hover-bg: rgba(35,106,215,.08);
}

body.dashboard-body.theme-dark .table th,
body.dashboard-body.theme-dark .table td {
    border-color: #243041;
}

body.dashboard-body.theme-dark .table > :not(caption) > * > * {
    background-color: transparent;
    color: #e5edf7;
}

body.dashboard-body.theme-dark .table thead th {
    color: #d2dff0;
    background: #0f172a;
}

body.dashboard-body.theme-dark .table tbody tr:hover td {
    background: rgba(35,106,215,.08);
}

body.dashboard-body.theme-dark .alert {
    color: #e5edf7;
    border-color: transparent;
}

body.dashboard-body.theme-dark .alert-success {
    background: rgba(23,156,90,.16);
    border-color: rgba(23,156,90,.28);
    color: #dff8ea;
}

body.dashboard-body.theme-dark .alert-warning {
    background: rgba(245,158,11,.16);
    border-color: rgba(245,158,11,.26);
    color: #fef3c7;
}

body.dashboard-body.theme-dark .alert-danger {
    background: rgba(220,53,69,.16);
    border-color: rgba(220,53,69,.26);
    color: #ffe0e4;
}

body.dashboard-body.theme-dark .alert-info {
    background: rgba(13,110,253,.14);
    border-color: rgba(13,110,253,.22);
    color: #dbe7f5;
}

body.dashboard-body.theme-dark .bg-light,
body.dashboard-body.theme-dark .bg-light-subtle,
body.dashboard-body.theme-dark .bg-white,
body.dashboard-body.theme-dark .text-bg-light,
body.dashboard-body.theme-dark .list-group-item,
body.dashboard-body.theme-dark .dropdown-menu,
body.dashboard-body.theme-dark .dropdown-item {
    background: #0f172a !important;
    color: #e5edf7 !important;
    border-color: #243041 !important;
}

body.dashboard-body.theme-dark .text-dark,
body.dashboard-body.theme-dark .text-black,
body.dashboard-body.theme-dark .text-body {
    color: #f8fbff !important;
}

body.dashboard-body.theme-dark .modal-content,
body.dashboard-body.theme-dark .modal-header,
body.dashboard-body.theme-dark .modal-footer {
    background: #111827;
    color: #e5edf7;
    border-color: #243041;
}

body.dashboard-body.theme-dark .btn-close {
    filter: invert(1) grayscale(100%);
}

body.dashboard-body.theme-dark .badge.text-bg-light,
body.dashboard-body.theme-dark .badge.bg-light,
body.dashboard-body.theme-dark .badge.text-bg-secondary {
    background: #1f2937 !important;
    color: #e5edf7 !important;
    border-color: #324054 !important;
}

body.dashboard-body.theme-dark .btn-outline-primary,
body.dashboard-body.theme-dark .btn-outline-secondary,
body.dashboard-body.theme-dark .btn-outline-success,
body.dashboard-body.theme-dark .btn-outline-danger {
    background: transparent;
}

body.dashboard-body.theme-dark .btn-outline-primary {
    color: #9bc2ff;
    border-color: rgba(72,139,255,.45);
}

body.dashboard-body.theme-dark .btn-outline-primary:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

body.dashboard-body.theme-dark .btn-outline-secondary {
    color: #dbe7f5;
    border-color: #445468;
}

body.dashboard-body.theme-dark .btn-outline-secondary:hover {
    background: #334155;
    border-color: #334155;
    color: #fff;
}

body.dashboard-body.theme-dark .btn-outline-success {
    color: #86efac;
    border-color: rgba(34,197,94,.42);
}

body.dashboard-body.theme-dark .btn-outline-success:hover {
    background: #179c5a;
    border-color: #179c5a;
    color: #fff;
}

body.dashboard-body.theme-dark .btn-outline-danger {
    color: #fda4af;
    border-color: rgba(239,68,68,.45);
}

body.dashboard-body.theme-dark .btn-outline-danger:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

body.dashboard-body.theme-dark .nav-pills .nav-link {
    color: #dbe7f5;
    background: #0f172a;
    border: 1px solid #243041;
}

body.dashboard-body.theme-dark .nav-pills .nav-link.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
}

body.dashboard-body.theme-dark .progress {
    background: #0f172a;
}

body.dashboard-body.theme-dark .border,
body.dashboard-body.theme-dark .border-top,
body.dashboard-body.theme-dark .border-bottom,
body.dashboard-body.theme-dark .border-start,
body.dashboard-body.theme-dark .border-end,
body.dashboard-body.theme-dark hr {
    border-color: #243041 !important;
}

body.dashboard-body.theme-dark .table-striped > tbody > tr:nth-of-type(odd) > * {
    color: #e5edf7;
    --bs-table-accent-bg: rgba(148,163,184,.04);
}

body.dashboard-body.theme-dark .pagination .page-link {
    background: #111827;
    border-color: #243041;
    color: #e5edf7;
}

body.dashboard-body.theme-dark .pagination .page-link:hover {
    background: #1f2937;
    color: #fff;
}

body.dashboard-body.theme-dark .pagination .active > .page-link {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

body.dashboard-body.theme-dark .pagination .disabled > .page-link {
    background: #0f172a;
    color: #6f85a3;
}

/* ─── Auth ─────────────────────────────────────────────── */
.auth-section { padding: 1.5rem 0 3rem; }
.auth-wrapper { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-page-intro { max-width: 440px; margin: 0 auto 1.15rem; }
.auth-page-intro h2 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.2; }
.auth-page-intro p { font-size: .96rem; }

.auth-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(35,106,215,.1);
}

.auth-card {
    width: 100%;
    border: 1px solid #e4edf8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15,23,42,.05);
}

.auth-card-header { padding-bottom: .2rem; }
.auth-form { margin-top: 1rem; }
.auth-form label { font-weight: 600; color: #23415f; margin-bottom: .4rem; }
.auth-form .form-control { min-height: 48px; border-radius: 14px; }

.sidebar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.sidebar-user-info .u-name { font-size: .8rem; font-weight: 600; color: #e2ebf8; }
.sidebar-user-info .u-role { font-size: .68rem; color: rgba(255,255,255,.38); }

.sidebar-footer-actions {
    display: grid;
    gap: .5rem;
    margin-top: .75rem;
}

.sidebar-footer-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding: .6rem .75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
    color: rgba(255,255,255,.82);
    background: rgba(35,106,215,.12);
    border: 1px solid rgba(35,106,215,.18);
    transition: all .18s ease;
}

.sidebar-footer-link:hover,
.sidebar-footer-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(35,106,215,.9), rgba(23,156,90,.9));
    border-color: transparent;
}

.sidebar-a-logout {
    display: flex !important;
    align-items: center !important;
    gap: .65rem !important;
    width: 100% !important;
    padding: .6rem .75rem !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    background: transparent !important;
    color: rgba(255, 255, 255, .4) !important;
    font-size: .875rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-align: left !important;
    transition: all .18s ease !important;
}

.sidebar-a-logout:hover {
    color: #fca5a5 !important;
    background: rgba(239, 68, 68, .1) !important;
}

.sidebar-close-btn {
    display: none;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

/* ─── Landing Page ──────────────────────────────────────── */
body.landing-body {
    background: #f8fbff;
    color: #12263f;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Shared public page offset */
.site-main > section:first-child.hero-slider,
.site-main > section:first-child.pricing-hero,
.site-main > section:first-child.info-page-hero {
    margin-top: -72px;
}

.site-main > section:first-child.section {
    margin-top: -72px;
    padding-top: 162px;
}

.site-main > section:first-child.auth-section {
    margin-top: -72px;
    padding-top: calc(3rem + 72px);
}

/* Navbar */
.landing-navbar {
    background: rgba(10, 22, 40, 0.88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    transition: background .3s ease, box-shadow .3s ease;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}
.landing-navbar.scrolled {
    background: rgba(10, 22, 40, 0.97) !important;
    box-shadow: 0 4px 28px rgba(0,0,0,0.26);
}
.landing-navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem !important;
    border-radius: 8px;
    transition: all .2s ease;
}
.landing-navbar .nav-link:hover { color: #fff !important; background: rgba(255,255,255,0.08); }
.nav-logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.nav-brand-sub  { font-size: 0.63rem; color: rgba(255,255,255,0.42); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.btn-nav-login {
    color: rgba(255,255,255,0.85) !important; font-weight: 600 !important; font-size: 0.87rem !important;
    padding: 0.44rem 0.95rem !important; border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 10px !important; background: transparent !important; transition: all .2s ease !important;
}
.btn-nav-login:hover { color: #fff !important; border-color: rgba(255,255,255,0.42) !important; background: rgba(255,255,255,0.08) !important; }
.landing-navbar form { margin: 0; }
.landing-navbar form .btn { width: 100%; }
.btn-nav-cta {
    color: #fff !important; font-weight: 700 !important; font-size: 0.87rem !important;
    padding: 0.48rem 1.2rem !important; border: none !important; border-radius: 10px !important;
    background: linear-gradient(135deg, #179C5A, #236AD7) !important;
    box-shadow: 0 4px 14px rgba(35,106,215,0.35) !important; transition: all .2s ease !important;
}
.btn-nav-cta:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 20px rgba(35,106,215,0.45) !important; }

/* Hero Slider */
.hero-slider { margin-top: -72px; position: relative; overflow: hidden; }
.hero-slide {
    position: relative; min-height: 700px; padding-top: 110px; padding-bottom: 80px;
    overflow: hidden; color: #fff;
}
.hero-slide-1 {
    background: radial-gradient(ellipse at top right, rgba(23,156,90,0.28), transparent 55%),
                linear-gradient(135deg, #0b1f3a 0%, #1255a8 55%, #0e7a44 100%);
}
.hero-slide-2 {
    background: radial-gradient(ellipse at bottom left, rgba(35,106,215,0.4), transparent 55%),
                linear-gradient(135deg, #0f1d38 0%, #236AD7 60%, #1a4fa8 100%);
}
.hero-slide-3 {
    background: radial-gradient(ellipse at top left, rgba(23,156,90,0.35), transparent 50%),
                linear-gradient(135deg, #0d2518 0%, #179C5A 55%, #1f5fb5 100%);
}
.hero-slide::before {
    content:''; position:absolute; top:-100px; right:-100px; width:600px; height:600px;
    border-radius:50%; background:rgba(255,255,255,0.03); pointer-events:none;
}
.hero-slide-container { position: relative; z-index: 2; height: 100%; }
.hero-kicker {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
    border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22);
    margin-bottom: 1.25rem; color: rgba(255,255,255,0.9);
}
.hero-kicker::before {
    content:''; width:7px; height:7px; border-radius:50%; background:#4ade80; flex-shrink:0;
    box-shadow:0 0 0 3px rgba(74,222,128,0.25);
}
.hero-heading {
    font-size: clamp(1.9rem, 4.5vw, 3.3rem); font-weight: 900; line-height: 1.1;
    margin-bottom: 1.25rem; color: #fff; letter-spacing: -0.02em;
}
.hero-accent {
    background: linear-gradient(135deg, #4ade80, #60a5fa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.05rem; line-height: 1.65; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.5rem; }
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 6px; padding: 0.75rem 1.7rem;
    border-radius: 14px; font-size: 0.95rem; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, #179C5A, #236AD7); border: none;
    text-decoration: none; box-shadow: 0 6px 20px rgba(35,106,215,0.4); transition: all .22s ease;
}
.btn-hero-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(35,106,215,0.5); }
.btn-hero-outline {
    display: inline-flex; align-items: center; gap: 6px; padding: 0.75rem 1.7rem;
    border-radius: 14px; font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.28);
    text-decoration: none; backdrop-filter: blur(6px); transition: all .22s ease;
}
.btn-hero-outline:hover { color: #fff; background: rgba(255,255,255,0.17); border-color: rgba(255,255,255,0.45); }
.hero-stats { display: flex; align-items: center; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; margin-right: 1.2rem; }
.hero-stat-val   { font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-label { font-size: 0.74rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); margin-right: 1.2rem; }

/* Phone / App Mockup */
.hero-mockup { perspective: 1000px; }
.mock-phone {
    width: 290px; border-radius: 22px; background: rgba(255,255,255,0.96);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3), 0 10px 20px rgba(0,0,0,0.2);
    overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); transition: transform .3s ease;
}
.mock-phone:hover { transform: rotateY(-3deg) rotateX(2deg); }
.mock-screen { padding: 1rem; }
.mock-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.85rem; font-size: 0.82rem; font-weight: 700; color: #0f1e33;
}
.mock-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: linear-gradient(135deg, #179C5A, #236AD7); color: #fff;
    font-size: 0.6rem; font-weight: 800; display: grid; place-items: center;
}
.mock-balance-card {
    border-radius: 14px; padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #1255a8, #179C5A); color: #fff; margin-bottom: 0.7rem;
}
.mock-balance-label { font-size: 0.65rem; opacity: 0.8; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.25rem; }
.mock-balance-amount { font-size: 1.5rem; font-weight: 900; line-height: 1; margin-bottom: 0.2rem; }
.mock-balance-change { font-size: 0.7rem; opacity: 0.8; }
.mock-actions-row { display: flex; gap: 5px; margin-bottom: 0.7rem; }
.mock-action {
    flex: 1; text-align: center; padding: 0.38rem 0.3rem; border-radius: 9px;
    background: rgba(35,106,215,0.07); border: 1px solid rgba(35,106,215,0.14);
    font-size: 0.62rem; font-weight: 700; color: #1255a8; cursor: default;
}
.mock-tx-label { font-size: 0.64rem; font-weight: 700; color: #7a8fa8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.45rem; }
.mock-tx { display: flex; align-items: center; gap: 0.55rem; padding: 0.38rem 0; border-bottom: 1px solid #f1f5fb; }
.mock-tx:last-child { border-bottom: none; }
.mock-tx-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.65rem; font-weight: 700; flex-shrink: 0; }
.mock-tx-credit { background: rgba(23,156,90,0.12); color: #179C5A; }
.mock-tx-debit  { background: rgba(220,53,69,0.1);  color: #c0392b; }
.mock-tx-info { flex: 1; min-width: 0; }
.mock-tx-info span { display: block; font-size: 0.7rem; font-weight: 600; color: #1e3250; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-tx-info small { display: block; font-size: 0.62rem; color: #7a8fa8; }
.mock-tx-amount { font-size: 0.78rem; font-weight: 800; flex-shrink: 0; }
.mock-credit { color: #179C5A; }
.mock-debit  { color: #c0392b; }
.mock-month  { font-size: 0.66rem; color: #7a8fa8; font-weight: 500; }
.mock-kpi-row { display: flex; gap: 5px; margin-bottom: 0.7rem; }
.mock-kpi { flex: 1; text-align: center; padding: 0.45rem 0.25rem; border-radius: 9px; background: rgba(35,106,215,0.06); border: 1px solid rgba(35,106,215,0.1); }
.mock-kpi-val { font-size: 0.78rem; font-weight: 800; color: #0f1e33; white-space: nowrap; }
.mock-kpi-lbl { font-size: 0.58rem; color: #7a8fa8; margin-top: 1px; }
.mock-chart-label { font-size: 0.64rem; font-weight: 700; color: #7a8fa8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.45rem; }
.mock-bar-chart { display: flex; align-items: flex-end; gap: 5px; height: 65px; margin-bottom: 0.7rem; }
.mock-bar { flex: 1; border-radius: 5px 5px 0 0; background: rgba(35,106,215,0.2); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px; }
.mock-bar.active { background: linear-gradient(180deg, #236AD7, #179C5A); }
.mock-bar span { font-size: 0.56rem; color: rgba(255,255,255,0.9); font-weight: 700; }
.mock-payment-row { display: flex; flex-wrap: wrap; gap: 4px; }
.mock-pay-badge { padding: 3px 7px; border-radius: 6px; background: rgba(23,156,90,0.1); color: #179C5A; font-size: 0.63rem; font-weight: 700; border: 1px solid rgba(23,156,90,0.2); }
.mock-rate-live { font-size: 0.66rem; color: #179C5A; font-weight: 700; background: rgba(23,156,90,0.1); padding: 2px 6px; border-radius: 6px; }
.mock-fx-from, .mock-fx-to { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0.75rem; border-radius: 11px; margin-bottom: 0.45rem; }
.mock-fx-from { background: rgba(35,106,215,0.08); border: 1px solid rgba(35,106,215,0.18); }
.mock-fx-to   { background: rgba(23,156,90,0.08);  border: 1px solid rgba(23,156,90,0.18); }
.mock-fx-currency { display: flex; align-items: center; gap: 5px; font-size: 0.76rem; font-weight: 700; color: #1e3250; }
.mock-flag { font-size: 0.9rem; }
.mock-fx-amount { font-size: 0.95rem; font-weight: 800; color: #0f1e33; }
.mock-fx-result { color: #179C5A; }
.mock-fx-arrow { text-align: center; font-size: 1rem; margin: 0.22rem 0; color: #7a8fa8; }
.mock-rate-tag { text-align: center; font-size: 0.65rem; color: #7a8fa8; padding: 0.28rem; background: rgba(0,0,0,0.04); border-radius: 7px; margin-bottom: 0.55rem; font-weight: 500; }
.mock-currencies-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 0.6rem; }
.mock-curr-chip { padding: 3px 7px; border-radius: 6px; background: rgba(35,106,215,0.07); color: #236AD7; font-size: 0.6rem; font-weight: 700; border: 1px solid rgba(35,106,215,0.15); }
.mock-exchange-btn { width: 100%; text-align: center; padding: 0.5rem; border-radius: 9px; background: linear-gradient(135deg, #179C5A, #236AD7); color: #fff; font-size: 0.76rem; font-weight: 700; cursor: default; }

/* Carousel Controls */
.hero-indicators { bottom: 24px !important; }
.hero-indicators [data-bs-target] { width: 28px !important; height: 4px !important; border-radius: 2px !important; border-top: none !important; border-bottom: none !important; background: rgba(255,255,255,0.38) !important; transition: width .3s, background .3s !important; }
.hero-indicators .active { width: 48px !important; background: #fff !important; }
.hero-prev, .hero-next { width: 44px !important; height: 44px !important; background: rgba(255,255,255,0.14) !important; border-radius: 50% !important; border: 1px solid rgba(255,255,255,0.24) !important; backdrop-filter: blur(6px) !important; transition: background .2s !important; top: 50% !important; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,0.27) !important; }
.hero-prev { left: 16px !important; }
.hero-next { right: 16px !important; }

/* Trust Strip */
.trust-strip-section { background: #fff; border-bottom: 1px solid #edf2f9; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.trust-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px;
    border-radius: 12px; font-weight: 600; font-size: 0.84rem; color: #23415f;
    background: #f5f9ff; border: 1px solid #e0eaf8; box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    transition: all .2s ease;
}
.trust-badge:hover { background: rgba(35,106,215,0.06); border-color: rgba(35,106,215,0.25); color: #236AD7; transform: translateY(-1px); }
.trust-badge i { color: #179C5A; font-size: 1rem; }

/* Section spacing */
.section-landing    { padding: 96px 0; }
.section-landing-sm { padding: 64px 0; }
.section-light { background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%); }
.section-dark  {
    background: linear-gradient(135deg, #0d1b2f 0%, #113059 55%, #0d2415 100%); color: #fff;
}
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5 { color:#fff; }
.section-dark .text-muted { color: rgba(255,255,255,0.64) !important; }

/* Section headings */
.landing-kicker {
    display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px;
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: rgba(35,106,215,0.1); color: #236AD7;
}
.landing-kicker.kicker-light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.landing-kicker.kicker-green { background: rgba(23,156,90,0.1); color: #179C5A; }
.section-heading { max-width: 700px; margin: 0 auto; }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #0f1e33; }

/* Feature cards */
.feature-card {
    padding: 1.5rem; background: #fff; border: 1px solid #e5edf8; border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05); transition: all .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(35,106,215,0.1); border-color: rgba(35,106,215,0.2); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 14px; font-size: 1.3rem; background: linear-gradient(135deg,rgba(23,156,90,0.1),rgba(35,106,215,0.12)); color: #236AD7; }
.feature-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: #0f1e33; }
.feature-card p  { font-size: 0.87rem; color: #6b7f97; margin: 0; line-height: 1.6; }

/* Split visual cards */
.split-visual {
    padding: 1.5rem; border-radius: 22px; background: rgba(255,255,255,0.6);
    border: 1px solid #e2edf8; box-shadow: 0 20px 50px rgba(15,23,42,0.08); backdrop-filter: blur(4px);
}
.split-visual img { display: block; width: 100%; border-radius: 14px; }

/* Use case cards */
.use-case-card {
    padding: 1rem 1.2rem; background: rgba(255,255,255,0.75); border: 1px solid #e5edf8;
    border-radius: 14px; border-left: 3px solid #179C5A; transition: all .2s ease;
}
.use-case-card:hover { background: #fff; box-shadow: 0 8px 20px rgba(15,23,42,0.06); }
.use-case-card h5 { font-size: 0.94rem; font-weight: 700; color: #0f1e33; margin-bottom: 0.3rem; }
.use-case-card p  { font-size: 0.86rem; color: #6b7f97; margin: 0; }

/* Security pillars */
.security-pillar {
    padding: 1.75rem; border-radius: 18px; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1); text-align: center; transition: all .25s ease;
}
.security-pillar:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.security-icon { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.55rem; background: linear-gradient(135deg,rgba(23,156,90,0.2),rgba(35,106,215,0.2)); border: 1px solid rgba(255,255,255,0.1); color: #fff; }
.security-pillar h5 { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 0.55rem; }
.security-pillar p  { font-size: 0.87rem; color: rgba(255,255,255,0.64); margin: 0; line-height: 1.6; }

/* Coverage items */
.coverage-item {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem;
    border-radius: 14px; background: #fff; border: 1px solid #e5edf8;
    box-shadow: 0 4px 14px rgba(15,23,42,0.04);
}
.coverage-item > i { font-size: 1.35rem; color: #179C5A; flex-shrink: 0; }
.coverage-title { font-size: 0.88rem; font-weight: 700; color: #0f1e33; }
.coverage-sub   { font-size: 0.76rem; color: #7a8fa8; }

/* Soft list */
.soft-list { padding-left: 0; margin-bottom: 0; list-style: none; }
.soft-list li {
    padding: 0.65rem 0.85rem; border: 1px solid #eaf0f8; border-radius: 12px; background: #f9fbff;
    margin-bottom: 0.5rem; font-size: 0.89rem; display: flex; align-items: center; gap: 0.65rem; color: #1e3250;
}
.soft-list li::before { content:''; width:6px; height:6px; border-radius:50%; background:linear-gradient(135deg,#179C5A,#236AD7); flex-shrink:0; }

/* How it works steps */
.how-step {
    padding: 1.6rem 1.4rem; background: #fff; border: 1px solid #e5edf8; border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05); text-align: center; transition: all .25s ease;
}
.how-step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(35,106,215,0.1); }
.how-step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 900; font-size: 1.05rem; color: #fff; background: linear-gradient(135deg,#179C5A,#236AD7); margin-bottom: 1rem; box-shadow: 0 6px 18px rgba(35,106,215,0.28); }
.how-step h6 { font-size: 0.96rem; font-weight: 700; color: #0f1e33; margin-bottom: 0.4rem; }
.how-step p  { font-size: 0.86rem; color: #6b7f97; margin: 0; line-height: 1.6; }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: #e5edf8; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,42,0.07); }
.stat-item { background: #fff; padding: 1.75rem 1.5rem; text-align: center; }
.stat-item-val {
    font-size: 2.2rem; font-weight: 900; line-height: 1; margin-bottom: 0.4rem;
    background: linear-gradient(135deg,#179C5A,#236AD7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-item-label { font-size: 0.84rem; color: #6b7f97; font-weight: 500; }

/* Testimonial card */
.testimonial-card {
    padding: 2rem; background: #fff; border: 1px solid #e5edf8; border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06); position: relative;
}
.testimonial-card::before { content:'"'; position:absolute; top:-8px; left:1.5rem; font-size:5rem; line-height:1; color:rgba(35,106,215,0.1); font-family:Georgia,serif; pointer-events:none; }
.testimonial-text { font-size: 1rem; line-height: 1.7; color: #2a3f5f; margin-bottom: 1.25rem; padding-top: 0.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,#179C5A,#236AD7); display:grid; place-items:center; font-size:0.85rem; font-weight:800; color:#fff; flex-shrink:0; }
.testimonial-name { font-size: 0.9rem; font-weight: 700; color: #0f1e33; }
.testimonial-role { font-size: 0.77rem; color: #7a8fa8; }

/* CTA Section */
.cta-section {
    padding: 100px 0; background: linear-gradient(135deg,#0d1b2f 0%,#1255a8 50%,#0c6434 100%);
    position: relative; overflow: hidden;
}
.cta-section::before { content:''; position:absolute; top:-30%; right:-10%; width:500px; height:500px; border-radius:50%; background:rgba(255,255,255,0.04); pointer-events:none; }
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-inner h2 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); font-weight: 900; color: #fff; margin-bottom: 1rem; letter-spacing:-0.02em; }
.cta-inner p  { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 2rem; line-height: 1.65; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Partner strip (kept for compat) */
.partner-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-pill { padding: 9px 15px; border-radius: 12px; font-weight: 600; font-size: 0.84rem; color: #23415f; background: #fff; border: 1px solid #e3edf8; box-shadow: 0 4px 12px rgba(15,23,42,0.04); transition: all .2s ease; }
.logo-pill:hover { border-color: rgba(35,106,215,0.3); color: #236AD7; transform: translateY(-1px); }

/* Footer */
.site-footer { background: #080f1e; color: #e2e8f0; }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-logo-img { width: 38px; height: 38px; flex-shrink: 0; }
.footer-brand-name { font-size: 1.12rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.footer-brand-sub  { font-size: 0.63rem; color: rgba(255,255,255,0.36); letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-top: 1px; }
.footer-tagline { font-size: 0.87rem; color: rgba(255,255,255,0.48); line-height: 1.65; margin-bottom: 1.5rem; max-width: 300px; }
.footer-social { display: flex; gap: 9px; }
.footer-social-link { width: 37px; height: 37px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; color: rgba(255,255,255,0.58); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); text-decoration: none; transition: all .2s ease; }
.footer-social-link:hover { color: #fff; background: linear-gradient(135deg,#179C5A,#236AD7); border-color: transparent; transform: translateY(-2px); }
.footer-col-title { font-size: 0.78rem; font-weight: 700; color: #fff; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-nav-list { list-style: none; padding: 0; margin: 0; }
.footer-nav-list li { margin-bottom: 0.52rem; }
.footer-nav-list a { font-size: 0.87rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color .18s ease; }
.footer-nav-list a:hover { color: rgba(255,255,255,0.88); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer-contact-item i { color: #179C5A; flex-shrink: 0; margin-top: 2px; font-size: 0.95rem; }
.footer-badge { display: inline-flex; align-items: center; font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.footer-divider { border-color: rgba(255,255,255,0.07); margin: 2rem 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; padding-bottom: 2rem; }
.footer-bottom-text { font-size: 0.8rem; color: rgba(255,255,255,0.33); }
.footer-bottom-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.36); text-decoration: none; transition: color .18s ease; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

@media (max-width: 991px) {
    .sidebar { width: 210px; }
    .summary-grid { grid-template-columns: 1fr; }
    .section-landing { padding: 72px 0; }
    .hero-slide { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
    .hero-heading { font-size: clamp(1.7rem, 5vw, 2.5rem); }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 767px) {
    .page-shell { max-width: 100%; }
    .section-landing { padding: 56px 0; }
    .hero-slide { padding-top: 88px; }
    .hero-heading { font-size: 1.75rem; }
    .hero-sub { font-size: 0.95rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* Deposit page styles */
.deposit-wallet-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.deposit-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    color: #23415f;
    background: #f4f8fd;
    border: 1px solid #dfe9f6;
}

.deposit-method-note,
.account-detail-card {
    padding: 1rem;
    border: 1px solid #e4edf8;
    border-radius: 16px;
    background: #f8fbff;
}

.method-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.method-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f5bb6;
    background: rgba(35, 106, 215, 0.1);
}

.funding-activity-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 0.9rem 0.95rem;
    border: 1px solid #e5edf8;
    border-radius: 14px;
    background: #fbfdff;
}

body.dashboard-body.theme-dark .funding-activity-item {
    background: #0f172a;
    border-color: #243041;
}

@media (max-width: 767px) {
    .funding-activity-item {
        flex-direction: column;
    }
}

/* ─── Footer / Info Pages ───────────────────────────────── */
.info-page-hero {
    padding: 110px 0 78px;
    background: radial-gradient(ellipse at top right, rgba(23,156,90,0.28), transparent 52%),
                linear-gradient(135deg, #0b1f3a 0%, #1255a8 58%, #0d6a39 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.info-page-hero::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.info-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
}
.info-page-sub {
    font-size: 1.03rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    margin-bottom: 1.35rem;
    max-width: 620px;
}
.info-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.info-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
}
.info-badge-soft {
    background: rgba(35,106,215,0.08);
    color: #236AD7;
    border-color: rgba(35,106,215,0.15);
}
.split-visual-dark {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.16);
}
.split-visual-dark img {
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
}
.info-page-panel {
    background: linear-gradient(135deg, rgba(23,156,90,0.06), rgba(35,106,215,0.08));
}
.contact-form-shell {
    padding: 1.7rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e5edf8;
    box-shadow: 0 14px 34px rgba(15,23,42,0.07);
}
.contact-form-head { margin-bottom: 1.15rem; }
.contact-form-head h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f1e33;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}
.contact-form-head p {
    margin: 0;
    color: #6b7f97;
    font-size: 0.92rem;
}
.contact-form-shell .form-label {
    font-weight: 600;
    color: #23415f;
    margin-bottom: 0.4rem;
}
.contact-form-shell .form-control,
.contact-form-shell .form-select {
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: #fbfdff;
    border: 1px solid #dfe9f6;
}
.contact-form-shell .form-control:focus,
.contact-form-shell .form-select:focus {
    background: #fff;
    border-color: #236AD7;
    box-shadow: 0 0 0 3px rgba(35,106,215,0.12);
}
.contact-form-shell textarea.form-control {
    min-height: 150px;
}
.contact-submit-btn {
    padding: 0.82rem 1.15rem;
    border-radius: 12px;
    font-weight: 700;
}
.contact-alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    border: 1px solid transparent;
}
.contact-alert-success {
    background: rgba(22,163,74,0.08);
    color: #166534;
    border-color: rgba(22,163,74,0.18);
}
.contact-alert-error {
    background: rgba(239,68,68,0.08);
    color: #b91c1c;
    border-color: rgba(239,68,68,0.18);
}

/* ─── Error Pages ───────────────────────────────────────── */
.error-page-section {
    padding: 112px 0 80px;
    background:
        radial-gradient(circle at top right, rgba(23,156,90,0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(35,106,215,0.12), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}
.error-card {
    background: #fff;
    border: 1px solid #e5edf8;
    border-radius: 28px;
    padding: 2.3rem 1.4rem;
    box-shadow: 0 24px 60px rgba(15,23,42,0.09);
}
.error-code {
    font-size: clamp(3.2rem, 9vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.9rem;
    background: linear-gradient(135deg, #179C5A, #236AD7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Pricing Page ──────────────────────────────────────── */
.pricing-hero {
    padding: 108px 0 80px;
    background: radial-gradient(ellipse at top right, rgba(23,156,90,0.25), transparent 50%),
                linear-gradient(135deg, #0b1f3a 0%, #1255a8 55%, #0e7a44 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing-hero::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 500px; height: 500px; border-radius: 50%;
    background: rgba(255,255,255,0.03); pointer-events: none;
}
.pricing-hero-heading {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.025em;
    margin-bottom: 1rem; color: #fff; line-height: 1.1;
}
.pricing-hero-sub {
    font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 620px;
    margin: 0 auto 2rem; line-height: 1.65;
}
.pricing-toggle-wrap {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 18px; border-radius: 999px;
}
.pricing-toggle-label { font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.5); }
.pricing-label-active { color: #fff; }
.pricing-toggle {
    width: 42px; height: 22px; border-radius: 999px; background: rgba(255,255,255,0.2);
    position: relative; cursor: pointer; transition: background .25s;
}
.pricing-toggle.on { background: linear-gradient(135deg, #179C5A, #236AD7); }
.pricing-toggle-knob {
    position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; transition: transform .25s;
}
.pricing-toggle.on .pricing-toggle-knob { transform: translateX(20px); }

/* Plan cards */
.pricing-card {
    padding: 1.75rem; background: #fff; border: 1px solid #e5edf8; border-radius: 22px;
    box-shadow: 0 8px 28px rgba(15,23,42,0.06); display: flex; flex-direction: column;
    transition: box-shadow .25s, transform .25s; position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(35,106,215,0.12); }
.pricing-featured {
    background: linear-gradient(160deg, #0c1e40 0%, #1255a8 60%, #0e6e38 100%);
    border: none; color: #fff; box-shadow: 0 20px 50px rgba(35,106,215,0.3);
}
.pricing-featured:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(35,106,215,0.4); }
.pricing-popular-badge {
    display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.24);
    margin-bottom: 1rem; width: fit-content;
}
.pricing-card-top    { margin-bottom: 0.75rem; }
.pricing-plan-icon {
    width: 52px; height: 52px; border-radius: 16px; margin-bottom: 0.85rem;
    background: linear-gradient(135deg, rgba(23,156,90,0.12), rgba(35,106,215,0.12));
    color: #236AD7; display: grid; place-items: center; font-size: 1.35rem;
}
.pricing-icon-featured { background: rgba(255,255,255,0.18); color: #fff; }
.pricing-plan-name  { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.4rem; }
.pricing-plan-desc  { font-size: 0.87rem; line-height: 1.6; opacity: 0.75; margin: 0; }
.pricing-price-wrap { margin: 1rem 0 0.65rem; }
.pricing-price-main {
    display: block; font-size: 1.85rem; font-weight: 900; letter-spacing: -0.02em;
    background: linear-gradient(135deg, #179C5A, #236AD7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-price-white { background: none !important; -webkit-text-fill-color: #fff !important; }
.pricing-price-sub  { font-size: 0.8rem; opacity: 0.65; margin-top: 2px; display: block; }
.pricing-fee-note {
    font-size: 0.79rem; color: #6b7f97; background: rgba(35,106,215,0.07);
    border: 1px solid rgba(35,106,215,0.14); border-radius: 10px;
    padding: 7px 12px; margin-bottom: 1.1rem;
}
.pricing-fee-note-light {
    color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2);
}
.pricing-feature-list { list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1; }
.pricing-feature-list li {
    display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.87rem;
    padding: 0.38rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); color: #2a3f5f;
}
.pricing-featured .pricing-feature-list li {
    color: rgba(255,255,255,0.82); border-bottom-color: rgba(255,255,255,0.1);
}
.pricing-feature-list li i { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.pricing-featured .pricing-feature-list li i { color: #4ade80 !important; opacity: 1 !important; }
.pricing-btn-primary {
    padding: 0.72rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: 0.9rem;
    background: rgba(255,255,255,0.2) !important; color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3) !important; transition: all .2s ease !important;
}
.pricing-btn-primary:hover { background: rgba(255,255,255,0.3) !important; transform: translateY(-1px); }
.pricing-btn-outline {
    padding: 0.72rem 1.5rem; border-radius: 12px; font-weight: 700; font-size: 0.9rem;
    background: linear-gradient(135deg, #179C5A, #236AD7) !important;
    color: #fff !important; border: none !important;
    box-shadow: 0 4px 16px rgba(35,106,215,0.25) !important; transition: all .2s ease !important;
}
.pricing-btn-outline:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(35,106,215,0.35) !important; }

/* Section headings (reused on pricing) */
.pricing-section-h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; color: #0f1e33; letter-spacing: -0.02em; margin-bottom: 0; }
.pricing-section-sub { font-size: 0.98rem; color: #6b7f97; max-width: 590px; margin: 0.5rem auto 0; line-height: 1.65; }

/* Fee explainer blocks */
.fee-block {
    padding: 1.7rem; border-radius: 20px; background: #fff; border: 1px solid #e5edf8;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}
.fee-block-featured {
    background: linear-gradient(135deg, #f0f7ff, #edfaf3); border-color: rgba(35,106,215,0.2);
    box-shadow: 0 12px 32px rgba(35,106,215,0.1);
}
.fee-block-icon {
    width: 52px; height: 52px; border-radius: 16px; margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(23,156,90,0.12), rgba(35,106,215,0.12));
    color: #236AD7; display: grid; place-items: center; font-size: 1.35rem;
}
.fee-block-icon-featured { background: linear-gradient(135deg, #179C5A, #236AD7); color: #fff; }
.fee-block h5 { font-size: 1rem; font-weight: 700; color: #0f1e33; margin-bottom: 0.6rem; }
.fee-block p  { font-size: 0.87rem; color: #6b7f97; line-height: 1.65; margin-bottom: 0.9rem; }
.fee-example  { display: flex; flex-wrap: wrap; gap: 6px; }
.fee-tag { font-size: 0.76rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: rgba(35,106,215,0.08); color: #236AD7; border: 1px solid rgba(35,106,215,0.15); }
.fee-tag-green { background: rgba(23,156,90,0.1); color: #179C5A; border-color: rgba(23,156,90,0.2); }

/* Compare table */
.pricing-compare-table-wrap { overflow-x: auto; border-radius: 18px; box-shadow: 0 10px 32px rgba(15,23,42,0.07); }
.pricing-compare-table { width: 100%; border-collapse: collapse; background: #fff; }
.pricing-compare-table thead tr { background: linear-gradient(135deg, #0c1e40, #1255a8); }
.pricing-compare-table th { padding: 1rem 1.25rem; text-align: center; color: #fff; font-weight: 700; font-size: 0.9rem; }
.compare-feature-col { text-align: left !important; width: 36%; }
.compare-featured-col { background: rgba(255,255,255,0.12); }
.pricing-compare-table td { padding: 0.7rem 1.25rem; border-bottom: 1px solid #f0f5fc; font-size: 0.88rem; text-align: center; color: #1e3250; }
.pricing-compare-table td:first-child { text-align: left; }
.compare-section-row td { background: #f5f9ff; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7f97; padding: 0.55rem 1.25rem; text-align: left !important; }
.compare-yes { color: #179C5A; font-size: 1rem; }
.compare-no  { color: #c0ccda; font-size: 1rem; }

/* Pricing FAQ accordion */
.pricing-faq .accordion-item { border: 1px solid #e5edf8; border-radius: 14px !important; margin-bottom: 0.6rem; overflow: hidden; }
.pricing-faq .accordion-button { font-weight: 600; font-size: 0.95rem; color: #1e3250; background: #fff; border-radius: 14px !important; }
.pricing-faq .accordion-button:not(.collapsed) { color: #236AD7; background: rgba(35,106,215,0.04); box-shadow: none; }
.pricing-faq .accordion-body { font-size: 0.9rem; color: #6b7f97; line-height: 1.7; padding: 0 1.25rem 1.1rem; background: #fff; }

/* ─── Auth Split Layout ──────────────────────────────────── */
.auth-section { padding: 3rem 0 6rem; }
.auth-split-card {
    display: flex; border-radius: 24px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(15,23,42,0.12); border: 1px solid #dce8f5;
    max-width: 940px; margin: 0 auto; min-height: 580px;
}
.auth-brand-col {
    flex: 0 0 42%; padding: 2.5rem; display: flex; flex-direction: column;
    background: linear-gradient(160deg, #0b1f3a 0%, #1255a8 55%, #0e6e38 100%);
    position: relative; overflow: hidden; color: #fff;
}
.auth-brand-col::before {
    content: ''; position: absolute; bottom: -60px; right: -60px;
    width: 320px; height: 320px; border-radius: 50%;
    background: rgba(255,255,255,0.04); pointer-events: none;
}
.auth-brand-inner { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.auth-brand-logo-link { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-bottom: 2rem; }
.auth-logo-img  { width: 38px; height: 38px; flex-shrink: 0; }
.auth-logo-name { font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.auth-logo-sub  { font-size: 0.62rem; color: rgba(255,255,255,0.42); text-transform: uppercase; letter-spacing: 0.05em; }
.auth-brand-tagline { margin-bottom: 1.75rem; }
.auth-brand-tagline h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 800; line-height: 1.25; color: #fff; margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.auth-panel-accent { background: linear-gradient(135deg, #4ade80, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-brand-tagline p { font-size: 0.87rem; color: rgba(255,255,255,0.65); line-height: 1.65; margin: 0; }
.auth-trust-list { list-style: none; padding: 0; margin: 0 0 auto; }
.auth-trust-list li {
    display: flex; align-items: center; gap: 0.6rem; font-size: 0.84rem;
    color: rgba(255,255,255,0.78); padding: 0.42rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.auth-trust-list li:last-child { border-bottom: none; }
.auth-trust-list li i { color: #4ade80; font-size: 0.9rem; flex-shrink: 0; }
.auth-panel-stats {
    display: flex; align-items: center; flex-wrap: wrap;
    padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.25rem;
}
.auth-panel-stat { display: flex; flex-direction: column; }
.auth-panel-stat-val   { font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1; }
.auth-panel-stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.auth-panel-stat-div   { width: 1px; height: 30px; background: rgba(255,255,255,0.18); margin: 0 0.85rem; }
.auth-form-col  { flex: 1; background: #fff; padding: 2.5rem; display: flex; align-items: center; }
.auth-form-inner { width: 100%; max-width: 380px; margin: 0 auto; }
.auth-form-head { margin-bottom: 1.5rem; }
.auth-form-kicker {
    display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    background: rgba(35,106,215,0.1); color: #236AD7; margin-bottom: 0.75rem;
}
.auth-form-head h3 { font-size: 1.6rem; font-weight: 800; color: #0f1e33; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.auth-form-head p  { font-size: 0.9rem; color: #6b7f97; margin: 0; }
.auth-submit { margin-bottom: 0.5rem !important; }
.auth-input-wrap { position: relative; }
.auth-input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #a0b0c8; font-size: 0.9rem; pointer-events: none; }
.auth-input-padded { padding-left: 2.5rem !important; background: #f8fbff !important; border-color: #dde6f3 !important; }
.auth-input-padded:focus { background: #fff !important; border-color: #236AD7 !important; box-shadow: 0 0 0 3px rgba(35,106,215,0.12) !important; }
.auth-forgot-link { font-size: 0.82rem; font-weight: 600; color: #236AD7; text-decoration: none; }
.auth-forgot-link:hover { text-decoration: underline; }
.auth-footer-note {
    margin-top: 1rem;
    padding-top: 0.85rem;
    text-align: center;
    border-top: 1px solid #edf2f8;
}
.auth-security-note {
    text-align: center; margin-top: 1.1rem; font-size: 0.77rem; color: #a0b0c8;
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.auth-security-note i { color: #179C5A; }
.auth-form-message {
    display: none;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(15,23,42,0.05);
}
.auth-form-message.is-visible { display: flex; }
.auth-form-message.is-error {
    background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(251,113,133,0.1));
    border-color: rgba(239,68,68,0.18);
}
.auth-form-message.is-success {
    background: linear-gradient(135deg, rgba(22,163,74,0.08), rgba(59,130,246,0.1));
    border-color: rgba(22,163,74,0.18);
}
.auth-message-icon {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    flex-shrink: 0; font-size: 1rem;
}
.auth-form-message.is-error .auth-message-icon {
    background: rgba(239,68,68,0.12); color: #dc2626;
}
.auth-form-message.is-success .auth-message-icon {
    background: rgba(22,163,74,0.12); color: #15803d;
}
.auth-message-copy { min-width: 0; }
.auth-message-title {
    font-size: 0.82rem; font-weight: 800; color: #0f1e33; margin-bottom: 2px;
}
.auth-message-body {
    font-size: 0.82rem; line-height: 1.55; color: #52657f;
}

@media (max-width: 991px) {
    .auth-brand-col { flex: 0 0 40%; padding: 2rem; }
    .auth-form-col  { padding: 2rem; }
}
@media (max-width: 767px) {
    .auth-section { padding: 2rem 0 4.5rem; }
    .auth-split-card { flex-direction: column; border-radius: 18px; }
    .auth-brand-col  { flex: none; padding: 1.75rem; }
    .auth-trust-list { display: none; }
    .auth-panel-stats { padding-top: 0.75rem; margin-top: 0.75rem; }
    .auth-brand-tagline h2 { font-size: 1.3rem; }
    .auth-form-col   { padding: 1.75rem; }
    .auth-form-inner { max-width: 100%; }
    .pricing-hero,
    .info-page-hero { padding: 88px 0 60px; }
    .info-page-title { font-size: 1.9rem; }
}
