/* =========================================================
   VERDANT — User Frontend Design System
   Stunning, premium, production-ready
   ========================================================= */


/* =========================================================
   1. TOKENS
   ========================================================= */

:root {
    /* Brand & semantic — HSL channels for var(... / alpha) */
    --c-primary: 159 67% 38%;
    --c-primary-strong: 161 79% 28%;
    --c-primary-soft: 156 73% 95%;
    --c-accent: 214 95% 60%;
    --c-success: 159 67% 38%;
    --c-warning: 35 92% 52%;
    --c-danger: 0 78% 58%;
    --c-info: 214 95% 60%;
    /* Neutrals */
    --c-bg: 220 25% 98%;
    --c-surface: 0 0% 100%;
    --c-surface-2: 220 20% 99%;
    --c-border: 220 15% 91%;
    --c-border-strong: 220 14% 84%;
    --c-text: 222 28% 12%;
    --c-text-muted: 220 10% 46%;
    --c-text-soft: 220 9% 60%;
    /* Convenience colors */
    --primary: hsl(var(--c-primary));
    --primary-strong: hsl(var(--c-primary-strong));
    --accent: hsl(var(--c-accent));
    --success: hsl(var(--c-success));
    --warning: hsl(var(--c-warning));
    --danger: hsl(var(--c-danger));
    --info: hsl(var(--c-info));
    --bg: hsl(var(--c-bg));
    --surface: hsl(var(--c-surface));
    --surface-2: hsl(var(--c-surface-2));
    --border: hsl(var(--c-border));
    --border-strong: hsl(var(--c-border-strong));
    --text: hsl(var(--c-text));
    --text-muted: hsl(var(--c-text-muted));
    --text-soft: hsl(var(--c-text-soft));
    /* Spacing scale (4px base) */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.25rem;
    --s-6: 1.5rem;
    --s-8: 2rem;
    --s-10: 2.5rem;
    --s-12: 3rem;
    --s-16: 4rem;
    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --r-2xl: 28px;
    --r-full: 9999px;
    /* Premium shadows (soft, layered) */
    --sh-1: 0 1px 2px hsl(220 30% 15% / 0.04), 0 1px 3px hsl(220 30% 15% / 0.06);
    --sh-2: 0 1px 2px hsl(220 30% 15% / 0.04), 0 4px 12px hsl(220 30% 15% / 0.06);
    --sh-3: 0 4px 8px hsl(220 30% 15% / 0.04), 0 12px 24px hsl(220 30% 15% / 0.08);
    --sh-4: 0 8px 16px hsl(220 30% 15% / 0.06), 0 24px 48px hsl(220 30% 15% / 0.12);
    --sh-glow: 0 8px 32px hsl(var(--c-primary) / 0.25);
    --ring: 0 0 0 4px hsl(var(--c-primary) / 0.14);
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', sans-serif;
    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 150ms var(--ease);
    --t-base: 220ms var(--ease);
    --t-slow: 380ms var(--ease-out);
    /* Layout */
    --sidebar-w: 272px;
    --header-h: 72px;
    /* Z */
    --z-sidebar: 40;
    --z-header: 30;
    --z-dropdown: 50;
    --z-modal: 60;
}


/* =========================================================
   2. BASE
   ========================================================= */

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

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    background-image: radial-gradient(at 0% 0%, hsl(var(--c-primary) / 0.06) 0px, transparent 50%), radial-gradient(at 100% 0%, hsl(var(--c-accent) / 0.04) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
}

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: 0;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

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


/* Scrollbar (subtle, premium) */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--c-border-strong) / 0.6);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--c-text-soft) / 0.5);
    border: 2px solid transparent;
    background-clip: padding-box;
}


/* Selection */

::selection {
    background: hsl(var(--c-primary) / 0.2);
    color: var(--text);
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

h1 {
    font-size: clamp(1.875rem, 1.3rem + 2vw, 2.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.0625rem;
}

h5 {
    font-size: 0.9375rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.8125rem;
}

.text-md {
    font-size: 0.9375rem;
}

.text-lg {
    font-size: 1.0625rem;
}

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

.text-soft {
    color: var(--text-soft);
}

.text-strong {
    color: var(--text);
    font-weight: 600;
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.numeric {
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   4. UTILITIES
   ========================================================= */

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

.items-center {
    align-items: center;
}

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

.items-end {
    align-items: flex-end;
}

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

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.flex-1 {
    flex: 1;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: var(--s-1);
}

.gap-2 {
    gap: var(--s-2);
}

.gap-3 {
    gap: var(--s-3);
}

.gap-4 {
    gap: var(--s-4);
}

.gap-5 {
    gap: var(--s-5);
}

.gap-6 {
    gap: var(--s-6);
}

.mt-2 {
    margin-top: var(--s-2);
}

.mt-3 {
    margin-top: var(--s-3);
}

.mt-4 {
    margin-top: var(--s-4);
}

.mt-6 {
    margin-top: var(--s-6);
}

.mt-8 {
    margin-top: var(--s-8);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: var(--s-2);
}

.mb-3 {
    margin-bottom: var(--s-3);
}

.mb-4 {
    margin-bottom: var(--s-4);
}

.mb-6 {
    margin-bottom: var(--s-6);
}

.mb-8 {
    margin-bottom: var(--s-8);
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.relative {
    position: relative;
}


/* Grid responsive */

.grid-cols-1 {
    grid-template-columns: 1fr;
}

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

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

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

.col-span-2 {
    grid-column: span 2 / span 2;
}

.col-span-3 {
    grid-column: span 3 / span 3;
}

.col-span-full {
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .col-span-2,
    .col-span-3 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   5. APP SHELL — sidebar / header / main
   ========================================================= */

.app {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
}


/* Sidebar */

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: hsl(var(--c-surface) / 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: var(--z-sidebar);
    transition: transform var(--t-base);
}

.sidebar__brand {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    height: var(--header-h);
    padding: 0 var(--s-6);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.sidebar__brandLink {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    color: inherit;
}

.sidebar__logoImg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.sidebar__logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 16px hsl(var(--c-primary) / 0.3);
}

.sidebar__title {
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
}

.sidebar__nav {
    flex: 1;
    padding: var(--s-4) var(--s-3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.sidebar__section {
    margin-top: var(--s-5);
    padding: 0 var(--s-3);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.sidebar__section:first-child {
    margin-top: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) var(--s-3);
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--t-fast);
    position: relative;
}

.nav-link:hover {
    background: hsl(var(--c-bg) / 0.6);
    color: var(--text);
}

.nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.85;
}

.nav-link.is-active {
    background: linear-gradient(135deg, hsl(var(--c-primary) / 0.12), hsl(var(--c-primary) / 0.04));
    color: var(--primary-strong);
    font-weight: 600;
}

.nav-link.is-active svg {
    opacity: 1;
}

.nav-link.is-active::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
}

.sidebar__footer {
    padding: var(--s-4) var(--s-6);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}


/* Main column */

.main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.header {
    position: sticky;
    top: 0;
    height: var(--header-h);
    background: hsl(var(--c-surface) / 0.8);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--s-8);
    z-index: var(--z-header);
    gap: var(--s-4);
}

.header__left,
.header__right {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.header__title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.header__sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--text-muted);
    align-items: center;
    justify-content: center;
}

.menu-btn:hover {
    background: hsl(var(--c-bg));
    color: var(--text);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-fast);
    position: relative;
}

.icon-btn:hover {
    background: var(--surface-2);
    color: var(--text);
}

.icon-btn .dot {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border: 2px solid var(--surface);
    border-radius: 999px;
}


/* Content */

.content {
    padding: var(--s-8);
    flex: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}


/* Page header */

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-4);
    margin-bottom: var(--s-8);
    flex-wrap: wrap;
}

.page-head__title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-head__sub {
    color: var(--text-muted);
    margin-top: var(--s-1);
    font-size: 0.9375rem;
}

.page-head__actions {
    display: flex;
    gap: var(--s-2);
    align-items: center;
}

.crumbs {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    color: var(--text-soft);
    font-size: 0.8125rem;
    margin-bottom: var(--s-2);
}

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

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

.crumbs__sep {
    opacity: 0.4;
}


/* Sidebar backdrop (mobile) */

.backdrop {
    position: fixed;
    inset: 0;
    background: hsl(220 30% 10% / 0.4);
    backdrop-filter: blur(4px);
    z-index: 35;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-base);
}

.backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}


/* =========================================================
   6. CARD
   ========================================================= */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    transition: var(--t-base);
}

.card--hover:hover {
    box-shadow: var(--sh-3);
    transform: translateY(-2px);
    border-color: var(--border-strong);
}

.card__head {
    padding: var(--s-5) var(--s-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    border-bottom: 1px solid var(--border);
}

.card__title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.card__sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.card__body {
    padding: var(--s-6);
}

.card__foot {
    padding: var(--s-4) var(--s-6);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
}


/* Surface card (no inner padding container) */

.surface {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}


/* =========================================================
   7. STAT / METRIC CARDS
   ========================================================= */

.stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s-5);
    position: relative;
    overflow: hidden;
    transition: var(--t-base);
}

.stat:hover {
    box-shadow: var(--sh-2);
}

.stat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--s-4);
}

.stat__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: hsl(var(--c-primary) / 0.1);
    color: var(--primary);
}

.stat__icon--success {
    background: hsl(var(--c-success) / 0.1);
    color: var(--success);
}

.stat__icon--warning {
    background: hsl(var(--c-warning) / 0.12);
    color: var(--warning);
}

.stat__icon--danger {
    background: hsl(var(--c-danger) / 0.1);
    color: var(--danger);
}

.stat__icon--info {
    background: hsl(var(--c-info) / 0.1);
    color: var(--info);
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat__value {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    font-variant-numeric: tabular-nums;
    margin-top: var(--s-1);
}

.stat__delta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--s-3);
    font-size: 0.8125rem;
    font-weight: 600;
}

.stat__delta--up {
    color: var(--success);
}

.stat__delta--down {
    color: var(--danger);
}


/* Sparkline (CSS only, decorative) */

.spark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    pointer-events: none;
    opacity: 0.6;
}


/* =========================================================
   8. BALANCE / HERO CARD
   ========================================================= */

.balance {
    position: relative;
    padding: var(--s-8);
    border-radius: var(--r-xl);
    background: radial-gradient(circle at 100% 0%, hsl(155 80% 55% / 0.6), transparent 60%), radial-gradient(circle at 0% 100%, hsl(190 80% 55% / 0.5), transparent 50%), linear-gradient(135deg, hsl(161 79% 22%) 0%, hsl(159 67% 28%) 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: var(--sh-glow), var(--sh-3);
}

.balance::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, hsl(0 0% 100% / 0.08) 1px, transparent 1px), radial-gradient(circle at 75% 75%, hsl(0 0% 100% / 0.06) 1px, transparent 1px);
    background-size: 32px 32px, 24px 24px;
    pointer-events: none;
}

.balance__shape {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, hsl(0 0% 100% / 0.12), transparent 70%);
    top: -120px;
    right: -80px;
    pointer-events: none;
}

.balance>* {
    position: relative;
}

.balance__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.balance__amount {
    font-size: clamp(2.25rem, 1.5rem + 2vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    margin: var(--s-3) 0 var(--s-5);
    line-height: 1.05;
}

.balance__amount small {
    font-size: 0.5em;
    opacity: 0.7;
    font-weight: 600;
    margin-left: 4px;
}

.balance__meta {
    display: flex;
    gap: var(--s-6);
    flex-wrap: wrap;
}

.balance__meta-item {
    font-size: 0.8125rem;
    opacity: 0.85;
}

.balance__meta-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    opacity: 1;
    margin-top: 2px;
}

.balance__actions {
    display: flex;
    gap: var(--s-2);
    margin-top: var(--s-6);
    flex-wrap: wrap;
}


/* =========================================================
   9. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: 0 var(--s-5);
    height: 40px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: var(--t-fast);
    white-space: nowrap;
    user-select: none;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn:active:not(:disabled) {
    transform: translateY(1px);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 1px 2px hsl(var(--c-primary-strong) / 0.3), 0 4px 12px hsl(var(--c-primary) / 0.3);
}

.btn--primary:hover:not(:disabled) {
    box-shadow: 0 1px 2px hsl(var(--c-primary-strong) / 0.4), 0 6px 18px hsl(var(--c-primary) / 0.4);
    transform: translateY(-1px);
}

.btn--secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
    box-shadow: var(--sh-1);
}

.btn--secondary:hover:not(:disabled) {
    background: var(--surface-2);
    border-color: hsl(var(--c-text-soft) / 0.4);
}

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

.btn--ghost:hover:not(:disabled) {
    background: var(--surface-2);
    color: var(--text);
}

.btn--outline {
    color: var(--primary-strong);
    border-color: hsl(var(--c-primary) / 0.3);
    background: hsl(var(--c-primary) / 0.04);
}

.btn--outline:hover:not(:disabled) {
    background: hsl(var(--c-primary) / 0.08);
    border-color: hsl(var(--c-primary) / 0.5);
}

.btn--danger {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 4px 12px hsl(var(--c-danger) / 0.25);
}

.btn--danger:hover:not(:disabled) {
    box-shadow: 0 6px 18px hsl(var(--c-danger) / 0.35);
    transform: translateY(-1px);
}

.btn--white {
    background: #fff;
    color: var(--primary-strong);
}

.btn--white:hover:not(:disabled) {
    background: hsl(var(--c-bg));
}

.btn--sm {
    height: 32px;
    padding: 0 var(--s-3);
    font-size: 0.8125rem;
    border-radius: 8px;
}

.btn--lg {
    height: 48px;
    padding: 0 var(--s-6);
    font-size: 0.9375rem;
    border-radius: 12px;
}

.btn--block {
    display: flex;
    width: 100%;
}

.btn--icon {
    width: 40px;
    padding: 0;
}

.btn--icon.btn--sm {
    width: 32px;
}

.btn-group {
    display: inline-flex;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 10px 0 0 10px;
}

.btn-group .btn:last-child {
    border-radius: 0 10px 10px 0;
}

.btn-group .btn+.btn {
    border-left: 0;
}


/* =========================================================
   10. FORMS
   ========================================================= */

.field {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    margin-bottom: var(--s-5);
}

.field__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2);
}

.field__label .req {
    color: var(--danger);
}

.field__hint {
    font-size: 0.75rem;
    color: var(--text-soft);
}

.field__error {
    font-size: 0.75rem;
    color: var(--danger);
    font-weight: 500;
}

.input,
.select,
.textarea {
    width: 100%;
    height: 44px;
    padding: 0 var(--s-4);
    font-size: 0.875rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    transition: var(--t-fast);
    font-weight: 500;
}

.input::placeholder,
.textarea::placeholder {
    color: var(--text-soft);
    font-weight: 400;
}

.input:hover,
.select:hover,
.textarea:hover {
    border-color: hsl(var(--c-text-soft) / 0.5);
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: var(--ring);
    background: var(--surface);
}

.input.is-error,
.select.is-error,
.textarea.is-error,
.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid {
    border-color: var(--danger);
    background: hsl(var(--c-danger) / 0.02);
}

.input.is-error:focus,
.input.is-invalid:focus,
.select.is-invalid:focus,
.textarea.is-invalid:focus {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px hsl(var(--c-danger) / 0.14);
}

.invalid-feedback {
    font-size: 0.7813rem;
    font-weight: 500;
    color: var(--danger);
    margin-top: var(--s-1);
}

.input:disabled,
.select:disabled,
.textarea:disabled {
    background: var(--surface-2);
    cursor: not-allowed;
    opacity: 0.7;
}

.textarea {
    padding: var(--s-3) var(--s-4);
    height: auto;
    min-height: 96px;
    resize: vertical;
    line-height: 1.5;
}

.select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}


/* Input with icon */

.input-wrap {
    position: relative;
}

.input-wrap__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    pointer-events: none;
    width: 16px;
    height: 16px;
}

.input-wrap__btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--text-soft);
    transition: var(--t-fast);
}

.input-wrap__btn:hover {
    background: var(--surface-2);
    color: var(--text);
}

.input-wrap .input {
    padding-left: 40px;
}

.input-wrap--end .input {
    padding-right: 44px;
    padding-left: var(--s-4);
}

.input-wrap--end .input-wrap__icon {
    left: auto;
    right: 14px;
}


/* Amount input — premium */

.amount-input {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    transition: var(--t-fast);
    padding: var(--s-4);
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
}

.amount-input:focus-within {
    border-color: var(--primary);
    box-shadow: var(--ring);
}

.amount-input__currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-soft);
}

.amount-input__field {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    outline: none;
    min-width: 0;
}

.amount-input__field::placeholder {
    color: hsl(var(--c-text-soft) / 0.6);
}

.amount-input__suffix {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 8px;
    background: var(--surface-2);
    border-radius: 6px;
}


/* Quick amounts */

.chip-row {
    display: flex;
    gap: var(--s-2);
    flex-wrap: wrap;
    margin-top: var(--s-3);
}

.chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--t-fast);
}

.chip:hover {
    background: hsl(var(--c-primary) / 0.08);
    border-color: hsl(var(--c-primary) / 0.3);
    color: var(--primary-strong);
}


/* Checkbox & radio */

.check {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    cursor: pointer;
    font-size: 0.875rem;
    user-select: none;
}

.check input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}


/* Switch */

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch__slider {
    position: absolute;
    inset: 0;
    background: hsl(var(--c-border-strong));
    border-radius: 999px;
    cursor: pointer;
    transition: var(--t-base);
}

.switch__slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px hsl(220 30% 15% / 0.2);
    transition: var(--t-base);
}

.switch input:checked+.switch__slider {
    background: var(--primary);
}

.switch input:checked+.switch__slider::before {
    transform: translateX(16px);
}


/* Selectable card (payment method, etc.) */

.option-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-4);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--t-fast);
}

.option-card:hover {
    border-color: var(--border-strong);
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-card input:checked~.option-card__check {
    background: var(--primary);
    border-color: var(--primary);
}

.option-card input:checked~.option-card__check::after {
    transform: scale(1);
}

.option-card:has(input:checked) {
    border-color: var(--primary);
    background: hsl(var(--c-primary) / 0.04);
    box-shadow: var(--ring);
}

.option-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    flex-shrink: 0;
}

.option-card__body {
    flex: 1;
    min-width: 0;
}

.option-card__title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
}

.option-card__desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.option-card__check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-strong);
    border-radius: 999px;
    position: relative;
    flex-shrink: 0;
    transition: var(--t-fast);
}

.option-card__check::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: #fff;
    border-radius: 999px;
    transform: scale(0);
    transition: var(--t-fast);
}


/* =========================================================
   11. TABLE
   ========================================================= */

.table-wrap {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th,
.table td {
    padding: var(--s-4) var(--s-5);
    text-align: left;
    vertical-align: middle;
}

.table thead th {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    position: sticky;
    top: 0;
}

.table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: var(--t-fast);
}

.table tbody tr:hover {
    background: var(--surface-2);
}

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

.table td.numeric {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}


/* =========================================================
   12. BADGE / PILL
   ========================================================= */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
    flex-shrink: 0;
}

.pill--success {
    background: hsl(var(--c-success) / 0.1);
    color: hsl(var(--c-primary-strong));
}

.pill--warning {
    background: hsl(var(--c-warning) / 0.12);
    color: hsl(35 92% 35%);
}

.pill--danger {
    background: hsl(var(--c-danger) / 0.1);
    color: hsl(0 78% 45%);
}

.pill--info {
    background: hsl(var(--c-info) / 0.1);
    color: hsl(214 95% 45%);
}

.pill--neutral {
    background: hsl(var(--c-border) / 0.6);
    color: var(--text-muted);
}


/* Soft tag (no dot) */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--border);
}


/* =========================================================
   13. ALERTS
   ========================================================= */

.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--s-3);
    padding: var(--s-4) var(--s-5);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.alert svg {
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.alert--success {
    background: hsl(var(--c-success) / 0.06);
    border-color: hsl(var(--c-success) / 0.2);
    color: hsl(var(--c-primary-strong));
}

.alert--warning {
    background: hsl(var(--c-warning) / 0.08);
    border-color: hsl(var(--c-warning) / 0.25);
    color: hsl(35 92% 30%);
}

.alert--danger {
    background: hsl(var(--c-danger) / 0.06);
    border-color: hsl(var(--c-danger) / 0.2);
    color: hsl(0 78% 40%);
}

.alert--info {
    background: hsl(var(--c-info) / 0.06);
    border-color: hsl(var(--c-info) / 0.2);
    color: hsl(214 95% 40%);
}


/* =========================================================
   14. AVATAR
   ========================================================= */

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--c-primary) / 0.18), hsl(var(--c-accent) / 0.18));
    color: var(--primary-strong);
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.avatar--sm {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.avatar--lg {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
}

.avatar--xl {
    width: 96px;
    height: 96px;
    font-size: 1.75rem;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =========================================================
   15. DROPDOWN
   ========================================================= */

.dropdown {
    position: relative;
}

.dropdown__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--sh-3);
    padding: 6px;
    z-index: var(--z-dropdown);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: var(--t-fast);
}

.dropdown.is-open .dropdown__menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown__item {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-2) var(--s-3);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--t-fast);
}

.dropdown__item:hover {
    background: var(--surface-2);
    color: var(--text);
}

.dropdown__item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.dropdown__divider {
    height: 1px;
    background: var(--border);
    margin: 6px 4px;
}

.dropdown__head {
    padding: var(--s-3);
    border-bottom: 1px solid var(--border);
    margin: -6px -6px 6px;
    border-radius: 12px 12px 0 0;
    background: var(--surface-2);
}


/* =========================================================
   16. TABS
   ========================================================= */

.tabs {
    display: inline-flex;
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 12px;
    gap: 2px;
}

.tab {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--t-fast);
}

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

.tab.is-active {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--sh-1);
}


/* =========================================================
   17. EMPTY / LOADING / DIVIDERS
   ========================================================= */

.divider {
    height: 1px;
    background: var(--border);
    margin: var(--s-4) 0;
}

.divider--vert {
    width: 1px;
    height: 24px;
    background: var(--border);
}

.empty {
    text-align: center;
    padding: var(--s-12) var(--s-6);
    color: var(--text-muted);
}

.empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--s-4);
    border-radius: 14px;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    color: var(--text-soft);
}

.empty__title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--s-1);
}


/* =========================================================
   18. ACTIVITY / TRANSACTION LIST
   ========================================================= */

.tx {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-4) var(--s-6);
    border-bottom: 1px solid var(--border);
    transition: var(--t-fast);
}

.tx:last-child {
    border-bottom: 0;
}

.tx:hover {
    background: var(--surface-2);
}

.tx__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.tx__icon--in {
    background: hsl(var(--c-success) / 0.1);
    color: var(--success);
}

.tx__icon--out {
    background: hsl(var(--c-warning) / 0.12);
    color: hsl(35 92% 40%);
}

.tx__body {
    flex: 1;
    min-width: 0;
}

.tx__title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
}

.tx__sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.tx__amount {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-size: 0.9375rem;
    text-align: right;
}

.tx__amount--in {
    color: var(--success);
}

.tx__amount--out {
    color: var(--text);
}

.tx__time {
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-top: 2px;
}


/* =========================================================
   19. AUTH SHELL
   ========================================================= */

.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface);
}

.auth__panel {
    position: relative;
    padding: var(--s-12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at 100% 0%, hsl(155 80% 55% / 0.6), transparent 50%), radial-gradient(circle at 0% 100%, hsl(190 80% 55% / 0.4), transparent 60%), linear-gradient(135deg, hsl(161 79% 22%) 0%, hsl(159 67% 30%) 100%);
    color: #fff;
    overflow: hidden;
}

.auth__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, hsl(0 0% 100% / 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.auth__brand {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    position: relative;
    z-index: 1;
}

.auth__brand-logo {
    width: 40px;
    height: 40px;
    background: hsl(0 0% 100% / 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid hsl(0 0% 100% / 0.25);
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.auth__brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.auth__panel-content {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.auth__panel h1 {
    color: #fff;
    font-size: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.auth__panel p {
    color: hsl(0 0% 100% / 0.8);
    font-size: 1.0625rem;
    max-width: 460px;
    margin-top: var(--s-4);
    line-height: 1.6;
}

.auth__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s-12);
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
}

.auth__head {
    margin-bottom: var(--s-8);
}

.auth__head h2 {
    font-size: 1.875rem;
}

.auth__head p {
    margin-top: var(--s-2);
}

.auth__foot {
    margin-top: var(--s-6);
    padding-top: var(--s-5);
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.auth__foot a {
    color: var(--primary-strong);
    font-weight: 600;
}

.social-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3);
    margin-bottom: var(--s-5);
}

.divider-text {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin: var(--s-5) 0;
    font-size: 0.75rem;
    color: var(--text-soft);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

@media (max-width: 960px) {
    .auth {
        grid-template-columns: 1fr;
    }
    .auth__panel {
        display: none;
    }
    .auth__form {
        padding: var(--s-6);
    }
}


/* =========================================================
   20. LANDING
   ========================================================= */

.landing-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: hsl(var(--c-surface) / 0.85);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}

.landing-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--s-4) var(--s-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-6);
}

.landing-nav__menu {
    display: flex;
    gap: var(--s-6);
}

.landing-nav__menu a {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.landing-nav__menu a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .landing-nav__menu {
        display: none;
    }
}

.hero {
    position: relative;
    text-align: center;
    padding: var(--s-16) var(--s-6) var(--s-12);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, hsl(var(--c-primary) / 0.12), transparent 60%), radial-gradient(ellipse at bottom, hsl(var(--c-accent) / 0.08), transparent 50%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--s-6);
    box-shadow: var(--sh-1);
}

.hero__badge .pill--success {
    padding: 2px 8px;
    font-size: 0.6875rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: var(--s-5);
}

.hero p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero__actions {
    display: flex;
    gap: var(--s-3);
    justify-content: center;
    margin-top: var(--s-8);
    flex-wrap: wrap;
}

.section {
    padding: var(--s-16) var(--s-6);
}

.section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--s-12);
}

.section__head h2 {
    margin-top: var(--s-3);
}

.section__head p {
    margin-top: var(--s-3);
    font-size: 1.0625rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
}

@media (max-width: 960px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature {
    padding: var(--s-6);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--t-base);
}

.feature:hover {
    border-color: var(--border-strong);
    box-shadow: var(--sh-3);
    transform: translateY(-2px);
}

.feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, hsl(var(--c-primary) / 0.15), hsl(var(--c-accent) / 0.1));
    color: var(--primary-strong);
    display: grid;
    place-items: center;
    margin-bottom: var(--s-4);
}

.feature h4 {
    margin-bottom: var(--s-2);
}

.feature p {
    font-size: 0.9375rem;
}


/* CTA bar */

.cta {
    margin: var(--s-12) auto;
    max-width: 1100px;
    padding: var(--s-12) var(--s-8);
    border-radius: var(--r-2xl);
    text-align: center;
    background: radial-gradient(circle at 100% 0%, hsl(155 80% 55% / 0.4), transparent 50%), radial-gradient(circle at 0% 100%, hsl(190 80% 55% / 0.3), transparent 50%), linear-gradient(135deg, hsl(161 79% 22%) 0%, hsl(159 67% 30%) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    color: #fff;
}

.cta p {
    color: hsl(0 0% 100% / 0.85);
}

.landing-foot {
    padding: var(--s-8) var(--s-6);
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}


/* =========================================================
   21. SETTINGS LIST
   ========================================================= */

.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--border);
}

.settings-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.settings-row:first-child {
    padding-top: 0;
}

.settings-row__body {
    flex: 1;
    min-width: 0;
}

.settings-row__title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
}

.settings-row__desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}


/* Two-column settings layout */

.settings-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--s-8);
}

@media (max-width: 960px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: var(--s-5);
    }
}

.settings-grid__aside h4 {
    margin-bottom: var(--s-1);
}

.settings-grid__aside p {
    font-size: 0.875rem;
}


/* =========================================================
   22. PAGINATION
   ========================================================= */

.pagination {
    display: flex;
    gap: 4px;
    align-items: center;
}

.pagination button,
.pagination a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--t-fast);
}

.pagination button:hover:not(:disabled),
.pagination a:hover {
    background: var(--surface-2);
    color: var(--text);
}

.pagination .is-active {
    background: var(--primary);
    color: #fff;
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* =========================================================
   23. ANIMATIONS
   ========================================================= */

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

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

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeUp 0.5s var(--ease-out) both;
}

.fade-in-1 {
    animation: fadeUp 0.5s var(--ease-out) 0.05s both;
}

.fade-in-2 {
    animation: fadeUp 0.5s var(--ease-out) 0.1s both;
}

.fade-in-3 {
    animation: fadeUp 0.5s var(--ease-out) 0.15s both;
}

.spinning {
    animation: spin 0.8s linear infinite;
}


/* =========================================================
   24. QR CODE / 2FA
   ========================================================= */

.qr-frame {
    width: 200px;
    height: 200px;
    padding: var(--s-4);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--sh-2);
    display: grid;
    place-items: center;
}

.qr-frame svg {
    width: 100%;
    height: 100%;
    color: var(--text);
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-2);
    padding: var(--s-4);
    background: var(--surface-2);
    border: 1px dashed var(--border-strong);
    border-radius: 12px;
}

.code-grid code {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    padding: 6px 10px;
    background: var(--surface);
    border-radius: 6px;
    text-align: center;
    letter-spacing: 0.05em;
}


/* OTP input */

.otp {
    display: flex;
    gap: var(--s-2);
    justify-content: center;
}

.otp input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 1.5px solid var(--border-strong);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font-variant-numeric: tabular-nums;
    transition: var(--t-fast);
}

.otp input:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: var(--ring);
}


/* =========================================================
   25. RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .app {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: var(--sidebar-w);
        transform: translateX(-100%);
        box-shadow: var(--sh-4);
    }
    .sidebar.is-open {
        transform: translateX(0);
    }
    .menu-btn {
        display: inline-flex;
    }
    .header {
        padding: 0 var(--s-5);
    }
    .content {
        padding: var(--s-5);
    }
}

@media (max-width: 640px) {
    .content {
        padding: var(--s-4);
    }
    .header {
        padding: 0 var(--s-4);
    }
    .header__sub {
        display: none;
    }
    .page-head {
        gap: var(--s-3);
        margin-bottom: var(--s-5);
    }
    .page-head__title {
        font-size: 1.5rem;
    }
    .balance {
        padding: var(--s-6);
    }
    .card__head,
    .card__body,
    .card__foot {
        padding-left: var(--s-4);
        padding-right: var(--s-4);
    }
    .table th,
    .table td {
        padding: var(--s-3);
    }
    .table th:not(:first-child):not(:last-child),
    .table td:not(:first-child):not(:last-child) {
        display: none;
    }
}


/* =========================================================
   26. PREMIUM HERO SECTION
   ========================================================= */

.hero-premium {
    position: relative;
    padding: 100px var(--s-6) 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-premium__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-premium__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-premium__orb--1 {
    width: 600px;
    height: 600px;
    background: hsl(var(--c-primary) / 0.2);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.hero-premium__orb--2 {
    width: 500px;
    height: 500px;
    background: hsl(var(--c-accent) / 0.15);
    top: -100px;
    right: -150px;
    animation-delay: -4s;
}

.hero-premium__orb--3 {
    width: 400px;
    height: 400px;
    background: hsl(160 70% 50% / 0.12);
    bottom: -150px;
    left: 30%;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

.hero-premium__grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(hsl(var(--c-border) / 0.3) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--c-border) / 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-premium__inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-premium__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: hsl(var(--c-surface) / 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    box-shadow: var(--sh-1);
    margin-bottom: var(--s-8);
}

.hero-premium__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px hsl(var(--c-primary) / 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.hero-premium__title {
    font-size: clamp(2.75rem, 2rem + 4vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: var(--s-6);
}

.hero-premium__gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, hsl(280 80% 60%) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-premium__subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: var(--s-8);
}

.hero-premium__actions {
    display: flex;
    gap: var(--s-4);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--s-10);
}

.hero-premium__btn-glow {
    box-shadow: 0 1px 2px hsl(var(--c-primary-strong) / 0.3), 0 8px 24px hsl(var(--c-primary) / 0.35), 0 0 0 1px hsl(var(--c-primary) / 0.1);
}

.hero-premium__btn-glow:hover {
    box-shadow: 0 1px 2px hsl(var(--c-primary-strong) / 0.4), 0 12px 36px hsl(var(--c-primary) / 0.45), 0 0 0 1px hsl(var(--c-primary) / 0.2);
    transform: translateY(-2px);
}

.btn--glass {
    background: hsl(var(--c-surface) / 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    color: var(--text);
    box-shadow: var(--sh-1);
}

.btn--glass:hover {
    background: var(--surface);
    border-color: hsl(var(--c-text-soft) / 0.4);
    box-shadow: var(--sh-2);
}

.hero-premium__proof {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-4) var(--s-6);
    background: hsl(var(--c-surface) / 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    box-shadow: var(--sh-1);
}

.hero-premium__avatars {
    display: flex;
    align-items: center;
}

.hero-premium__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    margin-left: -8px;
    object-fit: cover;
}

.hero-premium__avatar:first-child {
    margin-left: 0;
}

.hero-premium__avatar--initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6563rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-premium__avatar--count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
}

.hero-premium__proof-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-premium__stars {
    display: flex;
    gap: 1px;
    color: hsl(45 100% 50%);
}

.hero-premium__proof-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 640px) {
    .hero-premium {
        padding: 60px var(--s-4) 50px;
        min-height: auto;
    }
    .hero-premium__proof {
        flex-direction: column;
        border-radius: var(--r-lg);
        gap: var(--s-2);
    }
}


/* =========================================================
   27. PREMIUM FAQ
   ========================================================= */

.faq-premium {
    padding: 100px var(--s-6);
    background: linear-gradient(180deg, var(--bg) 0%, hsl(var(--c-primary) / 0.02) 100%);
}

.faq-premium__inner {
    max-width: 820px;
    margin: 0 auto;
}

.faq-premium__header {
    text-align: center;
    margin-bottom: 56px;
}

.faq-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: hsl(var(--c-primary) / 0.08);
    color: var(--primary-strong);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}

.faq-premium__badge svg {
    width: 14px;
    height: 14px;
}

.faq-premium__title {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: var(--s-3);
}

.faq-premium__desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-premium__list {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.faq-premium__item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: var(--t-base);
    overflow: hidden;
}

.faq-premium__item:hover {
    border-color: var(--border-strong);
    box-shadow: var(--sh-2);
}

.faq-premium__item.is-open {
    border-color: hsl(var(--c-primary) / 0.3);
    box-shadow: 0 4px 16px hsl(var(--c-primary) / 0.08);
}

.faq-premium__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-5) var(--s-6);
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-premium__num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: hsl(var(--c-primary) / 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.faq-premium__question {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.faq-premium__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    transition: var(--t-base);
}

.faq-premium__icon svg {
    transition: transform var(--t-base);
}

.faq-premium__item.is-open .faq-premium__icon {
    background: hsl(var(--c-primary) / 0.1);
    color: var(--primary);
    transform: rotate(45deg);
}

.faq-premium__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
    padding: 0 var(--s-6) 0 calc(var(--s-6) + 44px);
}

.faq-premium__item.is-open .faq-premium__answer {
    max-height: 400px;
    padding: 0 var(--s-6) var(--s-6) calc(var(--s-6) + 44px);
}

.faq-premium__answer p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-muted);
}


/* =========================================================
   28. PREMIUM CTA
   ========================================================= */

.cta-premium {
    padding: 80px var(--s-6);
}

.cta-premium__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.cta-premium__card {
    position: relative;
    padding: 80px 60px;
    border-radius: var(--r-2xl);
    background: radial-gradient(ellipse at 20% 50%, hsl(155 80% 55% / 0.5), transparent 50%), radial-gradient(ellipse at 80% 20%, hsl(var(--c-accent) / 0.3), transparent 40%), radial-gradient(ellipse at 60% 90%, hsl(190 80% 55% / 0.3), transparent 40%), linear-gradient(135deg, hsl(161 79% 18%) 0%, hsl(159 67% 25%) 50%, hsl(200 60% 20%) 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px hsl(160 80% 20% / 0.2), 0 20px 60px hsl(160 80% 20% / 0.3);
}

.cta-premium__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-premium__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.cta-premium__orb--1 {
    width: 300px;
    height: 300px;
    background: hsl(180 80% 60% / 0.3);
    top: -100px;
    right: -50px;
    animation: orbFloat 10s ease-in-out infinite;
}

.cta-premium__orb--2 {
    width: 250px;
    height: 250px;
    background: hsl(var(--c-accent) / 0.2);
    bottom: -80px;
    left: -60px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

.cta-premium__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, hsl(0 0% 100% / 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.cta-premium__content {
    position: relative;
    z-index: 1;
}

.cta-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: hsl(0 0% 100% / 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid hsl(0 0% 100% / 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--s-6);
    color: hsl(0 0% 100% / 0.9);
}

.cta-premium__title {
    font-size: clamp(1.75rem, 1.2rem + 2.5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: var(--s-4);
    line-height: 1.15;
}

.cta-premium__desc {
    font-size: 1.0625rem;
    color: hsl(0 0% 100% / 0.8);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.cta-premium__actions {
    margin-top: var(--s-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-4);
}

.cta-premium__btn {
    box-shadow: 0 4px 16px hsl(0 0% 0% / 0.15);
    font-weight: 700;
}

.cta-premium__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px hsl(0 0% 0% / 0.2);
}

.cta-premium__note {
    font-size: 0.8125rem;
    color: hsl(0 0% 100% / 0.6);
    font-weight: 500;
}

@media (max-width: 640px) {
    .cta-premium__card {
        padding: 50px 24px;
    }
}


/* =========================================================
   29. PREMIUM FOOTER
   ========================================================= */

.footer-premium {
    background: hsl(222 28% 6%);
    color: hsl(220 20% 80%);
    padding: 80px var(--s-6) 0;
}

.footer-premium__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-premium__top {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr 0.9fr 1.1fr 1.4fr;
    gap: var(--s-8);
    padding-bottom: 56px;
}

@media (max-width: 1120px) {
    .footer-premium__top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: var(--s-8);
    }
}

@media (max-width: 960px) {
    .footer-premium__top {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-8);
    }
}

@media (max-width: 640px) {
    .footer-premium__top {
        grid-template-columns: 1fr;
    }
}

.footer-premium__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    margin-bottom: var(--s-4);
}

.footer-premium__logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px hsl(var(--c-primary) / 0.4);
}

.footer-premium__logo-mark img {
    max-width: 20px;
    max-height: 20px;
}

.footer-premium__logo-text {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.footer-premium__desc {
    font-size: 0.875rem;
    color: hsl(220 15% 55%);
    line-height: 1.7;
    max-width: 280px;
}

.footer-premium__socials {
    display: flex;
    gap: var(--s-2);
    margin-top: var(--s-5);
}

.footer-premium__social-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: hsl(220 20% 12%);
    border: 1px solid hsl(220 15% 18%);
    display: grid;
    place-items: center;
    color: hsl(220 15% 55%);
    transition: var(--t-fast);
}

.footer-premium__social-link:hover {
    background: hsl(var(--c-primary) / 0.15);
    border-color: hsl(var(--c-primary) / 0.3);
    color: var(--primary);
}

.footer-premium__col-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: hsl(220 15% 70%);
    margin-bottom: var(--s-5);
}

.footer-premium__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
}

.footer-premium__links a,
.footer-premium__links span {
    font-size: 0.875rem;
    color: hsl(220 15% 55%);
    transition: var(--t-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-premium__links a:hover {
    color: #fff;
}

.footer-premium__links--contact svg {
    opacity: 0.6;
    flex-shrink: 0;
}

.footer-premium__address {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-premium__subscribe-text {
    color: hsl(220 15% 55%);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--s-4);
}

.footer-premium__subscribe-form {
    display: flex;
    gap: 8px;
    padding: 4px;
    border-radius: 12px;
    background: hsl(220 20% 10%);
    border: 1px solid hsl(220 15% 18%);
}

.footer-premium__subscribe-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.875rem;
    padding: 9px 10px;
}

.footer-premium__subscribe-form input::placeholder {
    color: hsl(220 15% 45%);
}

.footer-premium__subscribe-form button {
    border: 0;
    border-radius: 9px;
    padding: 0 14px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--t-fast);
}

.footer-premium__subscribe-form button:hover {
    background: var(--primary-strong);
}

.footer-premium__subscribe-error {
    margin-top: 8px;
    color: hsl(0 84% 70%);
    font-size: 0.8125rem;
}

.footer-premium__bottom {
    padding: var(--s-6) 0;
    border-top: 1px solid hsl(220 15% 14%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--s-4);
}

.footer-premium__bottom p {
    font-size: 0.8125rem;
    color: hsl(220 15% 40%);
}

.footer-premium__bottom-links {
    display: flex;
    gap: var(--s-5);
}

.footer-premium__bottom-links a {
    font-size: 0.8125rem;
    color: hsl(220 15% 45%);
    transition: var(--t-fast);
}

.footer-premium__bottom-links a:hover {
    color: #fff;
}


/* =========================================================
   30. PREMIUM SIDEBAR ENHANCEMENTS
   ========================================================= */

.sidebar__user {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3);
    border-radius: 12px;
    background: hsl(var(--c-bg) / 0.6);
    border: 1px solid var(--border);
}

.sidebar__user-info {
    flex: 1;
    min-width: 0;
}

.sidebar__user-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar__user-email {
    font-size: 0.6875rem;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar__logout-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    transition: var(--t-fast);
}

.sidebar__logout-btn:hover {
    background: hsl(var(--c-danger) / 0.08);
    border-color: hsl(var(--c-danger) / 0.3);
    color: var(--danger);
}

.nav-link__icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-link__icon svg {
    width: 18px;
    height: 18px;
}


/* =========================================================
   31. PREMIUM AUTH PANEL
   ========================================================= */

.auth__panel-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth__panel-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.auth__panel-orb--1 {
    width: 400px;
    height: 400px;
    background: hsl(180 80% 60% / 0.3);
    top: -100px;
    right: -80px;
    animation: orbFloat 12s ease-in-out infinite;
}

.auth__panel-orb--2 {
    width: 300px;
    height: 300px;
    background: hsl(var(--c-accent) / 0.25);
    bottom: -80px;
    left: -60px;
    animation: orbFloat 12s ease-in-out infinite reverse;
}

.auth__panel-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, hsl(0 0% 100% / 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

.auth__features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    margin-top: auto;
}

.auth__feature-item {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) var(--s-4);
    background: hsl(0 0% 100% / 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid hsl(0 0% 100% / 0.12);
    border-radius: 12px;
    transition: var(--t-fast);
}

.auth__feature-item:hover {
    background: hsl(0 0% 100% / 0.12);
    border-color: hsl(0 0% 100% / 0.2);
}

.auth__feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: hsl(0 0% 100% / 0.12);
    display: grid;
    place-items: center;
    color: hsl(0 0% 100% / 0.9);
    flex-shrink: 0;
}

.auth__feature-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
}

.auth__feature-desc {
    font-size: 0.6875rem;
    color: hsl(0 0% 100% / 0.6);
    margin-top: 1px;
}


/* =========================================================
   32. SIDEBAR V2 (Dark)
   ========================================================= */

.sidebar-v2 {
    position: sticky;
    top: 0;
    height: 100vh;
    width: var(--sidebar-w);
    background: hsl(220 25% 10%);
    display: flex;
    flex-direction: column;
    z-index: var(--z-sidebar);
    transition: transform var(--t-base);
    overflow: hidden;
}

.sidebar-v2__brand {
    flex-shrink: 0;
}

.sidebar-v2__brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.sidebar-v2__logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px hsl(var(--c-primary) / 0.4);
}

.sidebar-v2__logo-mark img {
    max-width: 20px;
    max-height: 20px;
}

.sidebar-v2__logo-text {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.sidebar-v2__nav {
    flex: 1;
    padding: var(--s-2) var(--s-3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-v2__section {
    margin-top: var(--s-5);
    padding: 0 var(--s-3);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: hsl(220 15% 45%);
    margin-bottom: var(--s-2);
}

.sidebar-v2__link {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: 10px 12px;
    border-radius: 10px;
    color: hsl(220 15% 65%);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--t-fast);
    text-decoration: none;
}

.sidebar-v2__link:hover {
    background: hsl(220 20% 15%);
    color: hsl(220 15% 85%);
}

.sidebar-v2__link.is-active {
    background: hsl(var(--c-primary) / 0.15);
    color: hsl(var(--c-primary-soft));
    font-weight: 600;
}

.sidebar-v2__link-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-v2__link-icon svg {
    width: 18px;
    height: 18px;
}

.sidebar-v2__footer {
    padding: var(--s-4);
    flex-shrink: 0;
}

.sidebar-v2__cta {
    padding: var(--s-4);
    background: linear-gradient(135deg, hsl(220 25% 14%), hsl(220 25% 16%));
    border: 1px solid hsl(220 15% 20%);
    border-radius: 12px;
}

.sidebar-v2__cta-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: hsl(220 15% 85%);
    margin-bottom: 4px;
}

.sidebar-v2__cta-desc {
    font-size: 0.6875rem;
    color: hsl(220 15% 50%);
    line-height: 1.4;
    margin-bottom: var(--s-3);
}

.sidebar-v2__cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--t-fast);
}

.sidebar-v2__cta-btn:hover {
    background: var(--primary-strong);
}

@media (max-width: 1024px) {
    .app {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
    }

    .main,
    .content {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .sidebar-v2 {
        position: fixed;
        inset: 0 auto 0 0;
        transform: translateX(-100%);
        box-shadow: var(--sh-4);
    }
    .sidebar-v2.is-open {
        transform: translateX(0);
    }
}


/* =========================================================
   33. HEADER V2
   ========================================================= */

.header-v2 {
    position: sticky;
    top: 0;
    height: var(--header-h);
    background: hsl(var(--c-surface) / 0.92);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--s-6);
    z-index: var(--z-header);
    gap: var(--s-4);
}

.header-v2__left {
    display: flex;
    align-items: center;
    gap: var(--s-4);
}

.header-v2__right {
    display: flex;
    align-items: center;
    gap: var(--s-3);
}

.header-v2__menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--text-muted);
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--surface);
}

@media (max-width: 1024px) {
    .header-v2__menu-btn {
        display: inline-flex;
    }
}

.header-v2__search {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding: 8px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 0.8125rem;
    cursor: pointer;
    min-width: 240px;
    transition: var(--t-fast);
}

.header-v2__search:hover {
    border-color: var(--border-strong);
}

.header-v2__search-keys {
    margin-left: auto;
    display: flex;
    gap: 3px;
}

.header-v2__search-keys kbd {
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .header-v2__search {
        display: none;
    }
}

.header-v2__icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
    transition: var(--t-fast);
    cursor: pointer;
}

.header-v2__icon-btn:hover {
    background: var(--surface-2);
    color: var(--text);
}

.header-v2__notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border: 2px solid var(--surface);
    border-radius: 50%;
}

.header-v2__lang-dropdown {
    position: relative;
}

.header-v2__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--t-fast);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-soft);
}

.header-v2__lang-btn:hover {
    border-color: var(--border-strong);
    background: var(--surface-2);
}

.header-v2__lang-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.header-v2__lang-globe {
    font-size: 1rem;
    line-height: 1;
}

.header-v2__lang-code {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.header-v2__lang-menu {
    min-width: 160px;
}

.header-v2__lang-menu .dropdown__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-v2__lang-menu .dropdown__item--active {
    background: var(--surface-2);
    font-weight: 600;
}

.header-v2__divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    margin: 0 var(--s-2);
}

.header-v2__user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 5px 5px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--t-fast);
}

.header-v2__user-btn:hover {
    border-color: var(--border-strong);
    box-shadow: var(--sh-1);
}

.header-v2__user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--c-primary) / 0.18), hsl(var(--c-accent) / 0.18));
    color: var(--primary-strong);
    font-weight: 600;
    font-size: 0.75rem;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.header-v2__user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.header-v2__user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-v2__user-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.header-v2__user-role {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.header-v2__verified {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 640px) {
    .header-v2__user-info {
        display: none;
    }
}


/* =========================================================
   34. DASHBOARD V2 COMPONENTS
   ========================================================= */

.dash-welcome {
    margin-bottom: var(--s-6);
}

.dash-welcome__title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.dash-welcome__sub {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-4);
    margin-bottom: var(--s-6);
}

@media (max-width: 1024px) {
    .dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dash-stats {
        grid-template-columns: 1fr;
    }
}

.dash-stat {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: var(--s-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: var(--t-base);
}

.dash-stat:hover {
    box-shadow: var(--sh-2);
    border-color: var(--border-strong);
}

.dash-stat__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.dash-stat__icon--primary {
    background: hsl(var(--c-primary) / 0.1);
    color: var(--primary);
}

.dash-stat__icon--success {
    background: hsl(var(--c-success) / 0.1);
    color: var(--success);
}

.dash-stat__icon--warning {
    background: hsl(var(--c-warning) / 0.1);
    color: var(--warning);
}

.dash-stat__icon--info {
    background: hsl(var(--c-info) / 0.1);
    color: var(--info);
}

.dash-stat__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dash-stat__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.dash-stat__value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.dash-stat__delta {
    font-size: 0.6875rem;
    color: var(--text-soft);
    margin-top: 2px;
}

.dash-stat__delta--up {
    color: var(--success);
}

.dash-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--s-5);
}

@media (max-width: 960px) {
    .dash-grid {
        grid-template-columns: 1fr;
    }
}

.dash-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
}

.dash-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.dash-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-5) var(--s-5);
    border-bottom: 1px solid var(--border);
}

.dash-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.dash-card__action {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    background: hsl(var(--c-primary) / 0.06);
    transition: var(--t-fast);
}

.dash-card__action:hover {
    background: hsl(var(--c-primary) / 0.12);
}

.dash-card__body {
    padding: var(--s-5);
}

.dash-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-8) 0;
    color: var(--text-soft);
}

.dash-empty p {
    font-size: 0.875rem;
}


/* Transaction list */

.dash-txn-list {
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.dash-txn {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) 0;
    border-bottom: 1px solid hsl(var(--c-border) / 0.5);
}

.dash-txn:last-child {
    border-bottom: 0;
}

.dash-txn__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.dash-txn__icon--in {
    background: hsl(var(--c-success) / 0.1);
    color: var(--success);
}

.dash-txn__icon--out {
    background: hsl(var(--c-warning) / 0.1);
    color: var(--warning);
}

.dash-txn__info {
    flex: 1;
    min-width: 0;
}

.dash-txn__title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-txn__date {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-soft);
    margin-top: 2px;
}

.dash-txn__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.dash-txn__amount {
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.dash-txn__amount--in {
    color: var(--success);
}

.dash-txn__amount--out {
    color: var(--text);
}

.dash-txn__status {
    font-size: 0.625rem;
    padding: 2px 8px;
}


/* Quick actions */

.dash-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-action {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) var(--s-2);
    border-radius: 10px;
    text-decoration: none;
    transition: var(--t-fast);
    color: inherit;
}

.dash-action:hover {
    background: var(--surface-2);
}

.dash-action__icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.dash-action__icon--primary {
    background: hsl(var(--c-primary) / 0.1);
    color: var(--primary);
}

.dash-action__icon--success {
    background: hsl(var(--c-success) / 0.1);
    color: var(--success);
}

.dash-action__icon--warning {
    background: hsl(var(--c-warning) / 0.1);
    color: var(--warning);
}

.dash-action__icon--info {
    background: hsl(var(--c-info) / 0.1);
    color: var(--info);
}

.dash-action__text {
    flex: 1;
    min-width: 0;
}

.dash-action__title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.dash-action__desc {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.dash-action__arrow {
    color: var(--text-soft);
    opacity: 0;
    transition: var(--t-fast);
}

.dash-action:hover .dash-action__arrow {
    opacity: 1;
    color: var(--text-muted);
}


/* Account status */

.dash-status-list {
    display: flex;
    flex-direction: column;
}

.dash-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid hsl(var(--c-border) / 0.5);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.dash-status-item:last-child {
    border-bottom: 0;
}

.dash-status-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.dash-status-badge--success {
    background: hsl(var(--c-success) / 0.12);
    color: var(--success);
}

.dash-status-badge--warning {
    background: hsl(var(--c-warning) / 0.12);
    color: var(--warning);
}

.dash-status-badge--muted {
    background: hsl(var(--c-border));
    color: var(--text-soft);
}

.dash-status-text {
    font-size: 0.75rem;
    font-weight: 600;
}

.dash-status-text--active {
    color: var(--success);
}


/* =========================================================
   35. CONTACT SECTION
   ========================================================= */

.contact-section {
    padding: 80px 0;
    position: relative;
}

.contact-section__header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-section__badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: hsl(var(--c-primary) / 0.08);
    color: var(--primary-strong);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--s-3);
}

.contact-section__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.contact-section__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--s-6);
    align-items: start;
}

@media (max-width: 991px) {
    .contact-section__grid {
        grid-template-columns: 1fr;
    }
}

.contact-section__form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    box-shadow: var(--sh-2);
}

.contact-section__info {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
}

.contact-section__info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--s-3);
    padding: var(--s-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}

.contact-section__info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-section__info-item strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.contact-section__info-item a,
.contact-section__info-item span {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
}

.contact-section__info-item a:hover {
    text-decoration: underline;
}


/* =========================================================
   36. DATA TABLE V2 – Modern table system for user panel
   ========================================================= */

.dtv2-page__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--s-4);
    margin-bottom: var(--s-5);
    flex-wrap: wrap;
}

.dtv2-page__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}

.dtv2-page__subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.dtv2-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--t-fast);
}

.dtv2-action-btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px hsl(var(--c-primary) / 0.3);
}

.dtv2-action-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px hsl(var(--c-primary) / 0.4);
    color: #fff;
}

.dtv2-action-btn--outline {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.dtv2-action-btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* Stats Row */

.dtv2-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--s-4);
    margin-bottom: var(--s-5);
}

.dtv2-stat {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-4);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}

.dtv2-stat__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dtv2-stat__icon--total {
    background: hsl(var(--c-primary) / 0.08);
    color: var(--primary);
}

.dtv2-stat__icon--success {
    background: hsl(142 71% 45% / 0.08);
    color: hsl(142 71% 35%);
}

.dtv2-stat__icon--warning {
    background: hsl(40 90% 50% / 0.08);
    color: hsl(40 90% 40%);
}

.dtv2-stat__icon--danger {
    background: hsl(0 72% 51% / 0.08);
    color: hsl(0 72% 45%);
}

.dtv2-stat__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.1rem;
}

.dtv2-stat__value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.dtv2-stat__note {
    font-size: 0.7rem;
    color: var(--text-muted);
}


/* Filter Bar */

.dtv2-filters {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    margin-bottom: var(--s-4);
    flex-wrap: wrap;
}

.dtv2-search {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 360px;
}

.dtv2-search__input {
    width: 100%;
    padding: 0.55rem 1rem 0.55rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.8125rem;
    background: var(--surface);
    color: var(--text);
    outline: none;
    transition: var(--t-fast);
}

.dtv2-search__input:focus {
    border-color: var(--primary);
    box-shadow: var(--ring);
}

.dtv2-search__icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    opacity: 0.5;
}

.dtv2-filter-select {
    padding: 0.55rem 2rem 0.55rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--surface);
    color: var(--text);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
    transition: var(--t-fast);
}

.dtv2-filter-select:focus {
    border-color: var(--primary);
    box-shadow: var(--ring);
}

.dtv2-filter-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.8125rem;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: var(--t-fast);
}

.dtv2-filter-date:hover {
    border-color: var(--primary);
}


/* Table Card */

.dtv2-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.dtv2-table-wrap {
    overflow-x: auto;
}

.dtv2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.dtv2-table thead th {
    padding: 0.85rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.dtv2-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid hsl(var(--c-border) / 0.5);
    vertical-align: middle;
    color: var(--text);
}

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

.dtv2-table tbody tr:hover {
    background: hsl(var(--c-primary) / 0.02);
}

.dtv2-trx {
    display: flex;
    flex-direction: column;
}

.dtv2-trx__id {
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--text);
}

.dtv2-trx__sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dtv2-method {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dtv2-method__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.dtv2-method__icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.dtv2-method__info {
    display: flex;
    flex-direction: column;
}

.dtv2-method__name {
    font-weight: 600;
    color: var(--text);
}

.dtv2-method__detail {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dtv2-amount {
    font-weight: 700;
    white-space: nowrap;
}

.dtv2-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.dtv2-badge--success {
    background: hsl(142 71% 45% / 0.1);
    color: hsl(142 71% 32%);
}

.dtv2-badge--warning {
    background: hsl(40 90% 50% / 0.1);
    color: hsl(35 90% 38%);
}

.dtv2-badge--danger {
    background: hsl(0 72% 51% / 0.1);
    color: hsl(0 72% 42%);
}

.dtv2-badge--info {
    background: hsl(210 80% 50% / 0.1);
    color: hsl(210 80% 40%);
}

.dtv2-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.dtv2-date {
    white-space: nowrap;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.dtv2-date__time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.dtv2-action-menu {
    position: relative;
    display: inline-flex;
}

.dtv2-action-dots {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--t-fast);
}

.dtv2-action-dots:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* Pagination */

.dtv2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: var(--s-3);
}

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

.dtv2-pagination {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dtv2-pagination li {}

.dtv2-pagination .page-link,
.dtv2-pagination a,
.dtv2-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: var(--t-fast);
}

.dtv2-pagination .page-link:hover,
.dtv2-pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.dtv2-pagination .active .page-link,
.dtv2-pagination .active span,
.dtv2-pagination span[aria-current="page"] {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px hsl(var(--c-primary) / 0.3);
}

.dtv2-pagination .disabled .page-link,
.dtv2-pagination .disabled span {
    opacity: 0.4;
    pointer-events: none;
}


/* Empty State */

.dtv2-empty {
    padding: var(--s-8) var(--s-4);
    text-align: center;
    color: var(--text-muted);
}

.dtv2-empty__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--s-3);
    border-radius: 50%;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.dtv2-empty__text {
    font-size: 0.875rem;
}


/* =========================================================
   36. PRINT
   ========================================================= */

@media print {
    .sidebar-v2,
    .header-v2,
    .sidebar,
    .header,
    .btn,
    .icon-btn {
        display: none !important;
    }
    .app {
        grid-template-columns: 1fr;
    }
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    body {
        background: #fff;
    }
}


/* =========================================================
   37. PREMIUM FEATURES
   ========================================================= */

.features-premium {
    padding: 100px var(--s-6);
    position: relative;
}

.features-premium__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.features-premium__header {
    text-align: center;
    margin-bottom: 56px;
}

.features-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: hsl(var(--c-primary) / 0.08);
    color: var(--primary-strong);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}

.features-premium__badge svg {
    width: 14px;
    height: 14px;
}

.features-premium__title {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: var(--s-3);
}

.features-premium__desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-premium__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
}

.features-premium__card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--s-8) var(--s-6);
    overflow: hidden;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.features-premium__card:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--c-primary) / 0.35);
    box-shadow: var(--sh-3);
}

.features-premium__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: linear-gradient(135deg, hsl(var(--c-primary) / 0.12), hsl(var(--c-accent) / 0.08));
    border: 1px solid hsl(var(--c-primary) / 0.15);
    margin-bottom: var(--s-5);
    transition: var(--t-base);
    font-size: 20px;
}

.features-premium__card:hover .features-premium__icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 8px 20px hsl(var(--c-primary) / 0.35);
}

.features-premium__card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: var(--s-2);
}

.features-premium__card-desc {
    font-size: 0.9063rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.features-premium__card-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: hsl(var(--c-primary) / 0.07);
    filter: blur(40px);
    opacity: 0;
    transition: opacity var(--t-slow);
    pointer-events: none;
}

.features-premium__card:hover .features-premium__card-glow {
    opacity: 1;
}

@media (max-width: 991px) {
    .features-premium__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-premium {
        padding: 64px var(--s-4);
    }
    .features-premium__grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   38. PREMIUM STATS BAND
   ========================================================= */

.stats-premium {
    padding: 20px var(--s-6);
}

.stats-premium__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.stats-premium__band {
    position: relative;
    border-radius: var(--r-2xl);
    background: linear-gradient(135deg, hsl(160 30% 10%), hsl(200 35% 12%));
    padding: var(--s-12) var(--s-8);
    overflow: hidden;
    box-shadow: var(--sh-4);
}

.stats-premium__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stats-premium__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
}

.stats-premium__orb--1 {
    width: 340px;
    height: 340px;
    background: hsl(var(--c-primary) / 0.25);
    top: -140px;
    left: -80px;
}

.stats-premium__orb--2 {
    width: 300px;
    height: 300px;
    background: hsl(var(--c-accent) / 0.2);
    bottom: -140px;
    right: -60px;
}

.stats-premium__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
    text-align: center;
}

.stats-premium__item {
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
}

.stats-premium__item+.stats-premium__item {
    border-left: 1px solid hsl(0 0% 100% / 0.08);
}

.stats-premium__value {
    font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 30%, hsl(var(--c-primary) / 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

.stats-premium__label {
    font-size: 0.8438rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: hsl(150 15% 72%);
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .stats-premium__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--s-8);
    }
    .stats-premium__item:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .stats-premium {
        padding: 12px var(--s-4);
    }
    .stats-premium__band {
        padding: var(--s-8) var(--s-5);
    }
}


/* =========================================================
   39. PREMIUM STEPS (HOW IT WORKS)
   ========================================================= */

.steps-premium {
    padding: 100px var(--s-6);
    background: linear-gradient(180deg, transparent 0%, hsl(var(--c-primary) / 0.025) 55%, transparent 100%);
}

.steps-premium__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.steps-premium__header {
    text-align: center;
    margin-bottom: 64px;
}

.steps-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: hsl(var(--c-primary) / 0.08);
    color: var(--primary-strong);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}

.steps-premium__badge svg {
    width: 14px;
    height: 14px;
}

.steps-premium__title {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: var(--s-3);
}

.steps-premium__desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

.steps-premium__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-8);
}

.steps-premium__num-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: var(--s-5);
}

.steps-premium__num {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 20px hsl(var(--c-primary) / 0.3);
    flex-shrink: 0;
}

.steps-premium__connector {
    flex: 1;
    height: 2px;
    margin: 0 var(--s-4);
    background: repeating-linear-gradient(90deg, hsl(var(--c-primary) / 0.35) 0 8px, transparent 8px 16px);
    border-radius: 2px;
}

.steps-premium__step-title {
    font-size: 1.0938rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: var(--s-2);
}

.steps-premium__step-desc {
    font-size: 0.9063rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 860px) {
    .steps-premium {
        padding: 64px var(--s-4);
    }
    .steps-premium__track {
        grid-template-columns: 1fr;
        gap: var(--s-8);
        max-width: 480px;
        margin: 0 auto;
    }
    .steps-premium__connector {
        display: none;
    }
}


/* =========================================================
   40. PREMIUM TESTIMONIALS
   ========================================================= */

.reviews-premium {
    padding: 100px var(--s-6);
}

.reviews-premium__inner {
    max-width: 1160px;
    margin: 0 auto;
}

.reviews-premium__header {
    text-align: center;
    margin-bottom: 56px;
}

.reviews-premium__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: hsl(45 90% 55% / 0.12);
    color: hsl(38 85% 38%);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}

.reviews-premium__badge svg {
    width: 14px;
    height: 14px;
}

.reviews-premium__title {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: var(--s-3);
}

.reviews-premium__desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

.reviews-premium__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-5);
    align-items: stretch;
}

.reviews-premium__card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--s-8) var(--s-6) var(--s-6);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.reviews-premium__card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--sh-3);
}

.reviews-premium__stars {
    display: flex;
    gap: 2px;
    color: hsl(45 100% 50%);
    margin-bottom: var(--s-4);
}

.reviews-premium__quote {
    font-size: 0.9688rem;
    line-height: 1.75;
    color: var(--text);
    margin: 0 0 var(--s-6);
    flex: 1;
}

.reviews-premium__person {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding-top: var(--s-4);
    border-top: 1px solid var(--border);
}

.reviews-premium__avatar {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    box-shadow: var(--sh-1);
}

.reviews-premium__meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.reviews-premium__name {
    font-size: 0.9063rem;
    font-weight: 700;
    color: var(--text);
}

.reviews-premium__role {
    font-size: 0.7813rem;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .reviews-premium__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .reviews-premium {
        padding: 64px var(--s-4);
    }
}


/* Shared captcha component */

.captcha-widget__img {
    height: 45px;
    max-width: 100%;
    border-radius: 6px;
}

.captcha-widget__refresh-icon {
    width: 16px;
    height: 16px;
}
