/* ==========================================
   DEFAULT / DARK THEME (Based on VASBEX Logo)
   ========================================== */
:root {
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --dashboard-bg: #f1f6fd;
    --dashboard-surface: #ffffff;
    --dashboard-soft: #eef4fe;
    --dashboard-line: rgba(16, 70, 150, .1);
    --dashboard-ink: #0b2559;
    --dashboard-muted: #5f7ca3;
    --dashboard-primary: #0b6cf4;
    --dashboard-shadow: 0 1px 2px rgba(10, 50, 120, .05), 0 10px 26px rgba(10, 50, 120, .07);

    /* Brand Accent Colors */
    --brand-gold: #2563eb;
    --brand-blue: #0ea5e9;
    --brand-teal: #06b6d4;
    --brand-navy: #123b73;
    --brand-silver: #b9d9f2;

    /* App Backgrounds */
    --app-bg: #f1f6fd;
    --nav-bg: #ffffff;

    /* Cards */
    --card-bg-top: #ffffff;
    --card-bg-bottom: #eef4fe;

    /* Primary Actions / Accents */
    --primary-accent: #2563eb;
    --secondary-accent: #0ea5e9;
    --success-green: #22c55e;
    --accent-red: #ef4444;

    /* Gradients */
    --main-gradient: radial-gradient(120% 90% at 100% 0%, #2f9bff, transparent 55%), linear-gradient(140deg, #0a63ea, #0840b8 55%, #06267a);

    --gold-gradient: linear-gradient(135deg,
            #f59e0b 0%,
            #fbbf24 100%);

    --dark-gradient: linear-gradient(180deg,
            #ffffff 0%,
            #eef8ff 100%);

    /* Text Colors */
    --text-main: #0b2559;
    --text-muted: #5f7ca3;

    /* Borders & Dividers */
    --border: rgba(16, 70, 150, .1);
    --border-highlight: rgba(16, 70, 150, .18);

    /* Dashboard header */
    --header-surface: #ffffff;
    --header-text: #0b2559;
    --header-muted: #5f7ca3;
    --header-border: rgba(16, 70, 150, .1);
    --header-control-bg: #ffffff;
    --header-control-border: rgba(16, 70, 150, .1);
    --header-control-hover: #f0f9ff;
    --header-icon-bg: #eef4fe;
    --header-avatar-bg: linear-gradient(145deg, #d6eaf6, #ffffff);
    --header-avatar-border: rgba(255, 255, 255, 0.9);
    --header-card-bg: radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.8), transparent 25%), linear-gradient(110deg, #e5f7ff 0%, #d7f1fc 55%, #bde7f8 100%);
}


/* ==========================================
   LIGHT THEME TOGGLE
   Matches VASBEX Reference Screenshot
   ========================================== */

[data-theme="light"] {

    /* App Backgrounds */
    --app-bg: #f1f6fd;
    --nav-bg: #ffffff;

    /* Cards */
    --card-bg-top: #ffffff;
    --card-bg-bottom: #eef4fe;

    /* Primary Actions / Accents */
    --primary-accent: #2563eb;
    --secondary-accent: #0ea5e9;
    --success-green: #22c55e;
    --accent-red: #dc2626;

    /* Gradients */
    --main-gradient: radial-gradient(120% 90% at 100% 0%, #2f9bff, transparent 55%), linear-gradient(140deg, #0a63ea, #0840b8 55%, #06267a);

    --gold-gradient: linear-gradient(135deg,
            #f59e0b 0%,
            #fbbf24 100%);

    --dark-gradient: linear-gradient(180deg,
            #ffffff 0%,
            #f2faff 100%);

    /* Text Colors */
    --text-main: #0b2559;
    --text-muted: #5f7ca3;

    /* Borders & Dividers */
    --border: rgba(16, 70, 150, .1);
    --border-highlight: rgba(16, 70, 150, .18);

    --header-surface: #ffffff;
    --header-text: #0b2559;
    --header-muted: #5f7ca3;
    --header-border: rgba(16, 70, 150, .1);
    --header-control-bg: #ffffff;
    --header-control-border: rgba(16, 70, 150, .1);
    --header-control-hover: #f0f9ff;
    --header-icon-bg: #eef4fe;
    --header-avatar-bg: linear-gradient(145deg, #d6eaf6, #ffffff);
    --header-avatar-border: rgba(255, 255, 255, 0.9);
    --header-card-bg: radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.8), transparent 25%), linear-gradient(110deg, #e5f7ff 0%, #d7f1fc 55%, #bde7f8 100%);
}

[data-theme="dark"] {
    color-scheme: dark;
    --app-bg: #080f1c;
    --nav-bg: #111b2e;
    --card-bg-top: #111b2e;
    --card-bg-bottom: #18263f;
    --text-main: #eaf2ff;
    --text-muted: #8ea6c6;
    --border: rgba(160, 200, 255, .12);
    --border-highlight: #315271;
    --dark-gradient: linear-gradient(180deg, #111b2e 0%, #18263f 100%);
    --dashboard-bg: #080f1c;
    --dashboard-surface: #111b2e;
    --dashboard-soft: #18263f;
    --dashboard-line: rgba(160, 200, 255, .12);
    --dashboard-ink: #eaf2ff;
    --dashboard-muted: #8ea6c6;
    --dashboard-primary: #4aa3ff;
    --dashboard-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);

    --header-surface: #101e30;
    --header-text: #e7f2ff;
    --header-muted: #b3c9e1;
    --header-border: #29445f;
    --header-control-bg: #172a40;
    --header-control-border: #2c4966;
    --header-control-hover: #203852;
    --header-icon-bg: #1b324b;
    --header-avatar-bg: linear-gradient(145deg, #1c3854, #14263b);
    --header-avatar-border: rgba(151, 194, 230, 0.24);
    --header-card-bg: radial-gradient(circle at 88% 20%, rgba(53, 111, 157, 0.28), transparent 28%), linear-gradient(110deg, #18334e 0%, #142b43 55%, #10243a 100%);
}

html {
    min-height: 100%;
    background: var(--app-bg);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--dashboard-ink);
    background: radial-gradient(90% 40% at 50% 0%, #dcebff, transparent 70%), var(--dashboard-bg);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    font: inherit;
}

[data-theme="dark"] body {
    background: radial-gradient(90% 40% at 50% 0%, #12315c, transparent 70%), var(--dashboard-bg);
}


/* Mobile Container Simulation */
.app-container {
    background: color-mix(in srgb, var(--app-bg) 70%, transparent);
    width: 100%;
    max-width: 480px;
    /* Reduced to standard mobile width for better look */
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
    /* Space for bottom nav */
    box-shadow: 0 0 60px rgba(10, 60, 140, .12);
    overflow-x: hidden;
    position: relative;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .app-container {
        box-shadow: 0 0 0 1px var(--border), 0 0 60px rgba(10, 60, 140, .12);
    }
}

/* Header Base Styling */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* User Info Layout */
.user-profile-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid var(--border-highlight);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.greeting-text {
    font-size: 18px;
    color: var(--secondary-accent);
    /* Logo Orange / Gold accent */
    font-weight: 600;
    line-height: 1.2;
}

.userId {
    margin: 2px 0 0 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

/* Right Action Buttons (Theme & Bell Icons) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-highlight);
    background: transparent;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background-color: var(--card-bg-top);
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

/* ==========================================
   BANNER CAROUSEL & TICKER STYLES
   ========================================== */

.dashboard-banner-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
    box-sizing: border-box;
}

/* --- Carousel Container --- */
.banner-carousel {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-highlight);
    overflow: hidden;
    background: var(--card-bg-bottom);
    position: relative;
}

/* --- Banner Card Item --- */
.banner-card {
    position: relative;
    width: 100%;
    min-height: 160px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Text ko niche align karne ke liye */
    padding: 16px;
    box-sizing: border-box;
    border: 1px solid var(--border-highlight);
}

/* Background image pooray card me fill hogi */
.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Image ke upar halka dark gradient taaki bottom text clear dikhe */
.banner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Text Content overlay setup */
.banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.banner-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.banner-subtitle {
    color: #e2e8f0;
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Custom Swiper Pagination Dots position */
.banner-carousel .swiper-pagination {
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
    width: auto !important;
    z-index: 4;
}

.banner-carousel .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.banner-carousel .swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 16px;
    border-radius: 4px;
}

/* --- NEWS TICKER STYLES --- */
.news-ticker-container {
    display: flex;
    align-items: center;
    background: rgb(18 98 243 / 15%);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 10px 16px;
    overflow: hidden;
    gap: 12px;
    margin-top: 10px;
}

[data-theme="light"] .news-ticker-container {
    background: #e2e8f0;
}

.ticker-icon {
    color: var(--secondary-accent, #f39c12);
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 18s linear infinite;
    font-size: 13px;
    color: var(--text-main);
    font-weight: 500;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.ticker-wrapper:hover .ticker-content {
    animation-play-state: paused;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 480px) {
    .banner-card {
        padding: 16px;
        min-height: 135px;
    }

    .banner-content {
        max-width: 70%;
    }

    .banner-title {
        font-size: 15px;
    }

    .banner-subtitle {
        font-size: 11px;
    }

    .banner-card::before {
        width: 80%;
    }
}

/* Container Box */
.rate-card-container {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-highlight, #2a2a2a);
    background: var(--card-bg-bottom, #14110f);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Orange Top Header */
.rate-card-header {
    background: var(--main-gradient);
    padding: .625rem .75rem .6875rem;
    color: #ffffff;
}

.rate-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.rate-title {
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: 0.95;
}

.rate-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    opacity: 0.9;
}

.dot-icon {
    font-size: 8px;
    color: #86efac;
    /* Light green indicator */
}

.rate-main-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency-symbol {
    font-size: 1.5rem;
}

.unit-text {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.85;
    margin-left: 4px;
}

/* Body Content */
.rate-card-body {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: .75rem;
    padding-right: .75rem;
    display: flex;
    flex-direction: column;
    font-size: .75rem;
    line-height: 1rem;
    gap: 5px;
}

/* Info Rows */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.info-label {
    color: var(--text-muted, #888888);
    font-weight: 500;
}

.info-value {
    color: var(--text-main, #f5f5f5);
    font-weight: 600;
}

.info-value.bold-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-accent);
}

.text-orange {
    color: var(--primary-accent);
}

/* Funds Cards Grid */
.funds-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.fund-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding-top: .375rem;
    padding-bottom: .375rem;
    padding-left: .5rem;
    padding-right: .5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fund-card:hover,
.fund-card.active {
    border-color: var(--primary-accent);
    background: rgba(249, 115, 22, 0.05);
}

.fund-name {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: var(--primary-accent);
}

.fund-rate {
    font-size: .75rem;
    font-weight: 800;
    color: var(--text-main, #ffffff);
    margin: 2px 0;
}

.fund-subtext {
    font-size: 9px;
    color: var(--text-muted, #888888);
    font-weight: 500;
}

/* Action Button */
.btn-start-selling {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    background: var(--main-gradient, #f97316);
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 60, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-start-selling:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 60, 255, 0.35);
}

.btn-start-selling:active {
    transform: translateY(0);
}

/* Light Theme Overrides */
[data-theme="light"] .rate-card-container {
    background: #ffffff;
}

[data-theme="light"] .fund-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Quick Navigation Menu Grid */
.quick-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Single Item Wrapper */
.quick-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 6px;
    flex: 1;
}

/* Rounded Icon Box */
.quick-menu-item .icon-box {
    position: relative;
    width: 52px;
    height: 52px;
    background: #f0f6ff;
    /* Default light cream background */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent, #0088ff);
    font-size: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Label Styling */
.quick-menu-item .menu-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #8a99ad);
    transition: color 0.2s ease;
}

/* Hot Badge Styling */
.badge-hot {
    position: absolute;
    top: -8px;
    background: var(--primary-accent, #0088ff);
    color: #ffffff;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    border: 2px solid var(--app-bg, #0b0f19);
    box-shadow: 0 4px 15px rgba(0, 60, 255, 0.35);
    z-index: 2;
}

/* Hover & Active States */
.quick-menu-item:hover .icon-box {
    transform: translateY(-2px);
}

.quick-menu-item.active .icon-box {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 60, 255, 0.35);
}

.quick-menu-item.active .menu-label {
    color: var(--primary-accent, #0088ff);
    /* Dynamic theme accent */
    font-weight: 700;
}

/* Light Theme Overrides */
[data-theme="light"] .quick-menu-item .icon-box {
    background: #e2e8f0;
    color: #475569;
}

[data-theme="light"] .quick-menu-item.active .icon-box {
    background: #ffffff;
    border: 1px solid var(--border-highlight, #cbd5e1);
}

[data-theme="light"] .badge-hot {
    border-color: #ffffff;
}

/* Container Card */
.announcements-card {
    width: 100%;
    max-width: 480px;
    background: var(--card-bg-bottom, #140d07);
    border: 1px solid var(--border-highlight, #2a1f18);
    border-radius: 20px;
    padding: 16px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Section */
.announcements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.announcements-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.megaphone-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #e65100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.title-text-box {
    display: flex;
    flex-direction: column;
}

.announcements-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main, #ffffff);
    letter-spacing: -0.2px;
}

.updates-count {
    font-size: 12px;
    color: var(--text-muted, #a38f82);
    font-weight: 500;
}

.view-all-link {
    color: var(--primary-accent, #e65100);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.view-all-link:hover {
    opacity: 0.8;
}

/* Announcements List */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Announcement Item Base */
.announcement-item {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.announcement-item:hover {
    border-color: rgba(230, 81, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* Left Orange Highlight Stripe */
.announcement-left-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-accent, #e65100);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.announcement-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
}

.announcement-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pin Badge Styling */
.pin-badge {
    background: #ffebd9;
    color: #e65100;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

.arrow-icon {
    font-size: 12px;
    color: var(--text-muted, #a38f82);
}

.arrow-icon.align-right {
    margin-left: auto;
}

.announcement-middle {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.announcement-heading {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main, #ffffff);
    line-height: 1.3;
    flex: 1;
}

.announcement-date {
    font-size: 11px;
    color: var(--primary-accent, #e65100);
    font-weight: 600;
    white-space: nowrap;
}

.announcement-desc {
    margin: 2px 0 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-muted, #a38f82);
    font-weight: 400;
}

/* Highlighted Light Top Card Variant */
.announcement-item.highlighted {
    background: #f1e7dd;
    border: none;
}

.announcement-item.highlighted .announcement-heading {
    color: #ffffff;
    /* Bright text overlay effect */
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.announcement-item.highlighted .announcement-date {
    color: #d85d1b;
}

.announcement-item.highlighted .arrow-icon {
    color: #c4b5a5;
}

/* Light Theme Overrides */
[data-theme="light"] .announcements-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .announcement-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .announcement-item.highlighted {
    background: #f1f5f9;
}

[data-theme="light"] .announcement-item.highlighted .announcement-heading {
    color: #0f172a;
    text-shadow: none;
}

/* Shared floating navigation */
.bottom-nav {
    position: fixed;
    z-index: 1000;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 456px);
    max-width: none;
    height: 68px;
    padding: 0 6px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    box-sizing: border-box;
    border: 1px solid var(--border, rgba(16, 70, 150, .1));
    border-radius: 26px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 34px rgba(8, 40, 100, .2);
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    height: 56px;
    border-radius: 18px;
    color: var(--text-muted, #5f7ca3);
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    transition: color .2s ease, background .2s ease, transform .1s ease;
}

.nav-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    font-size: 20px;
}

.nav-icon-wrapper img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.nav-label {
    font-weight: 600;
    letter-spacing: .1px;
}

.nav-center-action {
    position: relative;
}

.nav-center-action .center-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--main-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 18px rgba(10, 85, 214, .4);
    margin-top: -15px;
    border: 4px solid var(--app-bg, #f1f6fd);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nav-center-action:hover .center-btn {
    transform: scale(1.05);
    box-shadow: 0 10px 22px rgba(10, 85, 214, .45);
}

.nav-center-action .nav-label {
    color: var(--text-muted, #5f7ca3);
}

.nav-item.active {
    background: rgba(11, 108, 244, .12);
    color: #0b6cf4;
    font-weight: 800;
}

[data-theme="dark"] .bottom-nav {
    border-color: var(--border, rgba(160, 200, 255, .12));
    background: rgba(17, 27, 46, .92);
}

[data-theme="dark"] .nav-item.active {
    color: #4aa3ff;
    background: rgba(74, 163, 255, .14);
}

@media (prefers-reduced-motion: reduce) {

    .nav-item,
    .nav-center-action .center-btn {
        transition: none;
    }
}

/* Container Box */
.orders-page-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Banner - Uses Brand Main Gradient */
.orders-header-banner {
    background: var(--main-gradient);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 60, 255, 0.35);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item-card {
    background: var(--dark-gradient);
    border: 1px solid var(--border-highlight);
    border-radius: 14px;
    padding: 14px;
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.order-id {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-main);
    display: block;
}

.order-date {
    font-size: 11px;
    color: var(--text-muted);
}

/* Status Badges */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.status-badge.pending {
    background: rgba(243, 156, 18, 0.15);
    color: var(--secondary-accent);
}

.status-badge.approved {
    background: rgba(0, 210, 211, 0.15);
    color: var(--success-green);
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.order-item-body {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-col small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.order-col strong {
    font-size: 15px;
    color: var(--text-main);
}

.inr-text {
    color: var(--success-green) !important;
}

.order-item-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px dashed var(--border);
    padding-top: 8px;
    justify-content: space-between;
}

.meta-tag {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--card-bg-bottom);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.btn-details {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--primary-accent);
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
}

.load-more-wrapper {
    text-align: center;
    margin-top: 16px;
}

.btn-load-more {
    background: var(--card-bg-top);
    color: var(--primary-accent);
    border: 1px solid var(--border-highlight);
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background: var(--primary-accent);
    color: #ffffff;
}

.header-icon-box {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

.header-text-group {
    display: flex;
    flex-direction: column;
}

.orders-page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.orders-page-subtitle {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Tabs Switcher Container */
.orders-tabs-wrapper {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 6px;
    display: flex;
    gap: 8px;
    margin: 14px 0;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: var(--main-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.3);
}

/* Main Orders Content Card */
.orders-content-card {
    background: var(--dark-gradient);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.empty-state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.empty-state-icon {
    font-size: 48px;
    color: var(--border-highlight);
    margin-bottom: 12px;
}

.empty-state-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.empty-state-subtitle {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Primary Action Pill Button */
.btn-action-primary {
    background: var(--main-gradient);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-action-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 60, 255, 0.35);
}

/* Container Wrapper */
.sell-page-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 10px 90px 10px;
    /* Bottom padding for sticky button & nav */
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Step Progress Banner Header */
.sell-header-banner {
    border: 1px solid rgba(255, 255, 255, .2);

    background: radial-gradient(120% 90% at 100% 0%, #2f9bff, transparent 55%), linear-gradient(140deg, #0a63ea, #0840b8 55%, #06267a);
    color: #fff;
    box-shadow: 0 16px 32px -14px rgba(8, 64, 184, .48);
    border-radius: 20px 20px 0 0;
    padding: 20px 16px 24px 16px;

}

.sell-header-banner:after {
    position: absolute;
    top: -90px;
    right: -55px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, .05), 0 0 0 56px rgba(255, 255, 255, .035);
    content: "";
}


.sell-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

.sell-step-subtitle {
    margin: 4px 0 4px 0;
    font-size: 13px;
    opacity: 0.9;
    font-weight: 600;
}

/* Sending Badge */
.sending-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff26;
    color: var(--text-accent);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid var(--border-active);
}

/* Step Circles Component */
.step-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}

.step-item.active .step-number {
    background: #ffffff;
    color: var(--primary-accent);
    border-color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.step-label {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.8;
}

.step-item.active .step-label {
    opacity: 1;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 -10px 18px -10px;
}

/* Main Content Card Body */
.sell-card-body {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-top: -10px;
    padding: 20px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.section-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Input Styling */
.amount-input-box {
    background: var(--card-bg-top);
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.amount-input-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
}

.currency-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-gold);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 12px;
}

.limit-hint {
    display: block;
    font-size: 11px;
    color: var(--primary-accent);
    font-weight: 700;
    margin: 10px 0 12px 0;
}

/* Quick Selection Buttons */
.quick-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.quick-btn {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 0;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-btn.active {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    background: rgba(243, 156, 18, 0.08);
}

/* Selected Rate Banner */
.selected-rate-banner {
    background: var(--main-gradient);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    margin-bottom: 20px;
}

.selected-tier-name {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: block;
    opacity: 0.9;
}

.rate-price {
    font-size: 20px;
    font-weight: 800;
}

.rate-price small {
    font-size: 11px;
    font-weight: 600;
}

.fee-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
}

/* Tier Selection Grid */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tier-card {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tier-card.active {
    border-color: var(--brand-gold);
    background: rgba(243, 156, 18, 0.08);
}

.tier-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.tier-rate {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.tier-card.active .tier-title,
.tier-card.active .tier-rate {
    color: var(--brand-gold);
}

.card-divider {
    border: none;
    border-top: 1px dashed var(--border-highlight);
    margin: 20px 0;
}

/* Payout Output Summary */
.payout-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.payout-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.payout-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-gold);
}

.payout-usdt {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

/* Notice Info Box */
.notice-info-card {
    background: rgba(0, 136, 255, 0.06);
    border: 1px solid rgba(0, 136, 255, 0.2);
    border-radius: 16px;
    padding: 14px 16px;
    margin-top: 16px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-accent);
    font-size: 13px;
    margin-bottom: 8px;
}

.notice-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* Sticky Action Button at Bottom */
.sticky-action-container {
    position: fixed;
    bottom: 68px;
    /* Above bottom navigation bar */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 10px 16px;
    box-sizing: border-box;
    background: transparent;
    z-index: 99;
}

.btn-continue-transfer {
    width: 100%;
    background: var(--main-gradient);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-continue-transfer:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

.amount-target-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--main-gradient);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 16px;
}

.target-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.target-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.target-left small {
    display: block;
    font-size: 12px;
}

.target-left h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.network-badge {
    border: 1px solid rgb(255 255 255 / .22);
    background: #ffffff29;
    color: var(--text-accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Network Buttons */
.network-select-box {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 16px;
    margin-top: 10px;
}


.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.network-options {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.net-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card-bg-bottom);
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.net-btn.active {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    background: rgba(0, 136, 255, 0.1);
}

.hint-text {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}

/* Alert Warnings */
.alert-warning-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* QR Code Section */
.qr-container-card {
    background: var(--dark-gradient);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 10px;
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.btn-refresh {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
}

.qr-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}


.timer-tag {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.qr-body img {
    border-radius: 12px;
    background: #ffffff;
    padding: 8px;
    width: 100%;
    border: 1px solid var(--border-highlight);
}

/* ==========================================
   Wallet Balance Card Component
   ========================================== */
.wallet-balance-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-gradient);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-balance-card:hover {
    border-color: var(--border-highlight);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Card Column Layout */
.wallet-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wallet-col.right {
    text-align: right;
    align-items: flex-end;
}

/* Labels */
.wallet-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Values / Amounts */
.wallet-amount {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

/* Currency Text Colors */
.fund-amount {
    color: var(--text-main);
}

.inr-amount {
    color: var(--success-green);
}

.official-tag {
    font-size: 12px;
    color: var(--primary-accent);
    font-weight: 600;
}

/* Copy Address Box */
.address-copy-box {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
}

.address-copy-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 10px;
    color: var(--text-main);
    font-size: 12px;
    font-family: monospace;
    outline: none;
}

.btn-copy {
    background: var(--primary-accent);
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.transfer-steps-mini {
    display: flex;
    justify-content: space-between;
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
}

.t-step {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.t-num {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 136, 255, 0.15);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
}

/* --------------------------------------------------
   STEP 3: PROOF & INPUT CARDS
-------------------------------------------------- */
.notice-grid-hints {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.input-card-box {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 16px;
    margin-top: 10px;
}

.sub-label {
    font-size: 11px;
    color: var(--text-muted);
    margin: -4px 0 10px 0;
}

.paste-input-wrapper {
    display: flex;
    gap: 8px;
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
}

.paste-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
}

.btn-paste {
    background: rgba(0, 210, 211, 0.15);
    color: var(--success-green);
    border: 1px solid rgba(0, 210, 211, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.hash-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 11px;
}

/* Screenshot Upload Box */
.upload-area-box {
    background: var(--card-bg-top);
    border: 2px dashed var(--border-highlight);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.upload-area-box:hover {
    border-color: var(--primary-accent);
    background: var(--card-bg-bottom);
}

.upload-icon {
    font-size: 28px;
    color: var(--primary-accent);
    margin-bottom: 8px;
}

.upload-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.upload-sub {
    font-size: 11px;
    color: var(--text-muted);
}


.info-blue-card {
    display: flex;
    gap: 12px;
    background: rgba(0, 136, 255, 0.08);
    border: 1px solid rgba(0, 136, 255, 0.2);
    color: var(--primary-accent);
    padding: 14px;
    border-radius: 14px;
    font-size: 12px;
    margin-top: 10px;
}

.info-blue-card ul {
    margin: 4px 0 0 0;
    padding-left: 16px;
}

.info-blue-card li {
    margin-bottom: 2px;
}

/* --------------------------------------------------
   5. STICKY BOTTOM ACTIONS
-------------------------------------------------- */


.sticky-action-container.dual-btn {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.btn-back {
    flex: 1;
    background: var(--card-bg-top);
    color: var(--text-main);
    border: 1px solid var(--border-highlight);
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.btn-primary-action {
    flex: 2;
    background: var(--primary-accent);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-primary-action:hover {
    opacity: 0.9;
}

/* Wallet Main Container */
.wallet-page-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Navbar */
.wallet-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6px 16px 6px;
}

.wallet-page-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.header-action-icons {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Virtual INR Card Styling */
.virtual-card {
    background: var(--main-gradient);
    border-radius: 24px;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 60, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.virtual-card:after {
    position: absolute;
    top: -90px;
    right: -55px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, .05), 0 0 0 56px rgba(255, 255, 255, .035);
    content: "";
}


.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
}

.brand-name span {
    opacity: 0.8;
}

.vouchers-chip {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-mid-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

/* Glowing Circular Golden Icon Container */
.inr-wallet-icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--main-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    box-shadow:
        0 0 10px rgba(255, 215, 0, 0.6),
        inset 0 0 5px rgba(255, 255, 255, 0.5),
        inset 0 0 8px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 235, 150, 0.6);
    flex-shrink: 0;
}

/* Small Rupee Symbol inside the wallet icon */
.inr-wallet-icon .rupee-symbol {
    position: absolute;
    font-size: 8px;
    top: 52%;
    left: 40%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: 900;
}

.card-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.toggle-balance-btn {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-balance-row {
    margin-bottom: 20px;
}

.balance-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.85;
}

.balance-amount {
    margin: 4px 0 0 0;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.holder-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.holder-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.card-number-mask {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Withdraw Section Card Body */
.withdraw-card-body {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.withdraw-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.withdraw-subtitle {
    margin: 4px 0 16px 0;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Withdraw Input Box */
.withdraw-input-box {
    background: var(--card-bg-top);
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.currency-symbol {
    font-size: 28px;
    font-weight: 800;
    color: #757575;
}

.currency-symbol1 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.withdraw-input-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
}

.limit-text {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin: 10px 0 16px 0;
}

/* Payout Alert Box */
.payout-alert-card {
    background: rgba(243, 156, 18, 0.08);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s ease;
}

.payout-alert-card:hover {
    background: rgba(243, 156, 18, 0.12);
}

.alert-icon {
    font-size: 20px;
    color: var(--brand-gold);
}

.alert-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.alert-info strong {
    font-size: 13px;
    color: var(--brand-gold);
}

.alert-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.alert-arrow {
    font-size: 12px;
    color: var(--brand-gold);
}

.add-account-link-wrapper {
    text-align: right;
    margin-bottom: 18px;
}

.btn-add-account {
    color: var(--brand-gold);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

/* Submit Withdrawal Button */
.btn-submit-withdrawal {
    width: 100%;
    background: var(--main-gradient);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(243, 202, 18, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-withdrawal:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(243, 209, 18, 0.5);
}

/* Wrapper Container */
.me-page-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 10px 20px 10px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header Banner Section */
.me-header-banner {
    background: var(--main-gradient);
    border-radius: 0 0 24px 24px;
    padding: 16px 16px 20px 16px;
    color: #ffffff;
    margin: -10px -10px 16px -10px;
    /* Bleed to top edges */
}



.me-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.app-brand-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

.header-action-icons {
    display: flex;
    gap: 10px;
}

.header-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
}

/* Profile Section */
.profile-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.user-phone {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
    font-weight: 600;
}

.user-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    width: fit-content;
    cursor: pointer;
}

.security-badge {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
}

.security-badge .dot-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
}

/* INR Wallet Card Inside Header */
.me-wallet-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 16px;
}

.wallet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.wallet-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.btn-wallet-open {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wallet-card-balance {
    margin: 12px 0 16px 0;
    font-size: 30px;
    font-weight: 900;
}

.wallet-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-action-light {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.btn-action-light:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Sections Common Styling */
.me-section {
    margin-top: 18px;
}

.section-heading {
    margin: 0 0 10px 4px;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-muted);
}

/* Services Grid Container */
.services-card-grid {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.service-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.bg-gold-light {
    background: rgba(243, 156, 18, 0.12);
    color: var(--brand-gold);
}

.bg-orange-light {
    background: rgba(230, 126, 34, 0.12);
    color: #e67e22;
}

.bg-purple-light {
    background: rgba(155, 89, 182, 0.12);
    color: #9b59b6;
}

.bg-blue-light {
    background: rgba(52, 152, 219, 0.12);
    color: #3498db;
}

/* Inbox & Account List Menu */
.menu-list-card {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.menu-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.menu-item-row:last-child {
    border-bottom: none;
}

.menu-item-row:hover {
    background: var(--card-bg-top);
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
}

.menu-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(243, 156, 18, 0.1);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.menu-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-tag.success {
    font-size: 12px;
    font-weight: 700;
    color: #2ecc71;
}

.menu-arrow {
    font-size: 12px;
    color: var(--text-muted);
}

/* Sign Out Button */
.logout-container {
    margin-top: 20px;
}

.btn-signout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease;
}

.btn-signout:hover {
    background: var(--card-bg-top);
}

/* Container Wrapper */
.team-page-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 10px 20px 10px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Commission Overview Header */
.team-commission-header {
    background: var(--main-gradient);
    border-radius: 20px;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.header-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    opacity: 0.9;
}

.total-earned-amount {
    margin: 4px 0;
    font-size: 34px;
    font-weight: 900;
}

.members-payout-stats {
    margin: 0 0 18px 0;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
}

.rates-row {
    display: flex;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
}

.rate-stat {
    display: flex;
    flex-direction: column;
}

.rate-title {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.8;
}

.rate-value {
    font-size: 16px;
    font-weight: 800;
}

/* Generic Section Cards */
.team-card-section {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.section-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.section-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-desc {
    margin: 6px 0 14px 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Copy Input Boxes */
.copy-input-box {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.box-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.box-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: 0.5px;
}

.box-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.code-value {
    color: #3498db;
    /* Specific blue accent for code */
    letter-spacing: 1px;
}

.btn-copy {
    background: transparent;
    border: none;
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Share Invite Pill Button */
.btn-share-invite {
    width: 100%;
    background: var(--main-gradient);
    color: #ffffff;
    border: none;
    border-radius: 22px;
    padding: 12px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.terms-note-text {
    margin: 12px 0 0 0;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

/* Milestones Styling */
.badge-wallet-credit {
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-blue);
}

.qualified-status-bar {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.qualified-status-bar strong {
    color: var(--text-main);
}

.milestones-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.milestone-item {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.milestone-info {
    display: flex;
    flex-direction: column;
}

.milestone-info strong {
    font-size: 13px;
    color: var(--text-main);
}

.milestone-info small {
    font-size: 11px;
    color: var(--text-muted);
}

.reward-tag {
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-blue);
}

/* Level Cards Grid */
.level-selector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.level-card {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.level-card.active {
    background: rgba(0, 136, 255, 0.08);
    border-color: var(--primary-accent);
}

.level-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary-accent);
}

.level-count {
    margin: 2px 0;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-main);
}

.level-rate {
    font-size: 11px;
    color: var(--brand-blue);
    font-weight: 700;
}

.level-earned {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
}

/* Empty State Box inside Team Members */
.members-stat-right {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-accent);
}

.empty-members-box {
    background: var(--card-bg-top);
    border: 1px dashed var(--border-highlight);
    border-radius: 16px;
    padding: 30px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.empty-icon {
    font-size: 32px;
    color: var(--border-highlight);
    margin-bottom: 10px;
}

.empty-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
}

.empty-sub {
    margin: 4px 0 16px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.btn-share-orange {
    background: var(--main-gradient);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* How It Works Grid */
.toggle-arrow {
    font-size: 12px;
    color: var(--text-muted);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.work-step-box {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 14px;
}

.step-content strong {
    display: block;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.step-content p {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Outer Page Wrapper */
.accounts-page-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 10px 20px 10px;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Main Card Container */
.accounts-main-card {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    margin-bottom: 16px;
}

.accounts-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

/* Add / Cancel Header Button */
.btn-toggle-add {
    background: transparent;
    border: none;
    color: var(--brand-blue);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.btn-toggle-add.is-cancel {
    border: 1px solid var(--brand-blue);
}

/* Empty State Styling */
.empty-accounts-box {
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-wallet-icon {
    font-size: 40px;
    color: var(--text-muted);
    opacity: 0.6;
    margin-bottom: 12px;
}

.empty-account-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #1a5276;
    /* Soft blue highlight as in screenshot */
}

.empty-account-sub {
    margin: 6px 0 0 0;
    font-size: 13px;
    color: #2e86c1;
    font-weight: 500;
}

/* Form Container Box */
.add-account-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-highlight);
    border-radius: 16px;
    padding: 14px;
}

/* Tab Switcher (UPI / Bank) */
.account-type-tabs {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    padding: 3px;
    margin-bottom: 16px;
}


/* Form Controls & Inputs */
.input-form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-input-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-blue);
    opacity: 0.9;
}

.form-input-control {
    width: 100%;
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input-control:focus {
    border-color: var(--primary-accent);
}

.form-input-control::placeholder {
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.7;
}

/* Submit Save Button */
.btn-save-account {
    width: 100%;
    background: var(--main-gradient);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 4px 15px rgba(18, 134, 243, 0.35);
}

/* Saved Accounts Main Container */
.saved-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
}

/* Individual Saved Account Card accoding to dark and light theme */
.saved-account-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg-top);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.3s ease;
}

.saved-account-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Left Section: Icon + Details Group */
.acc-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Square Icon Box */
.acc-icon-box {
    width: 42px;
    height: 42px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-blue);
    flex-shrink: 0;
}

/* Holder Name Text */
.acc-name {
    margin: 0 0 3px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.3px;
}

/* UPI ID / Bank Details Text */
.acc-detail {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    word-break: break-all;
}

/* Right Side Badge (UPI / BANK) */
.acc-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Back To Wallet Button */
.btn-back-wallet {
    display: block;
    width: 100%;
    background: var(--navy-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 800;
    box-sizing: border-box;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Bottom Warning Text */
.account-warning-text {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: var(--brand-blue);
    font-weight: 600;
    line-height: 1.4;
    padding: 0 10px;
}

/* ==========================================
   Rewards Page CSS (Using Root Variables)
   ========================================== */
.rewards-page-wrapper {
    padding: 15px;
    padding-bottom: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Banner Header */
.rewards-header-card {
    background: var(--main-gradient);
    border-radius: 16px;
    padding: .625rem .75rem .5625rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    margin-bottom: 15px;
}

.rewards-header-card .top-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.9;
}

.rewards-header-card .sub-title-text {
    font-size: 14px;
    font-weight: 600;
}

.rewards-header-card .total-amount {
    font-size: 1.375rem;
    font-weight: 800;
}

.rewards-header-card .available-tag {
    font-size: 12px;
    opacity: 0.9;
}

/* Status Stats Box */
.stats-counter-bar {
    display: flex;
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.stat-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* Main Status Filter Tabs */
.status-tab-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.status-tab-btn {
    flex: 1;
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: .25rem .375rem;
    border-radius: 30px;
    font-size: .6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.status-tab-btn.active {
    background: var(--text-main);
    color: var(--app-bg);
    border-color: var(--text-main);
}

.status-tab-btn .badge-pill {
    background: rgba(0, 136, 255, 0.15);
    color: var(--brand-blue);
    padding: .25rem .375rem;
    border-radius: 12px;
    font-size: .6875rem;
    margin-left: 4px;
}

.status-tab-btn .badge-pill-muted {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-muted);
}

/* Horizontal Category Pills */
.category-filter-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 15px;
    scrollbar-width: none;
}

.category-filter-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cat-pill.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

/* How It Works Accordion */
.how-it-works-card {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
}

.how-it-works-wrapper {
    margin-bottom: 15px;
}

.how-it-works-wrapper .how-it-works-card {
    margin-bottom: 0;
}

.how-it-works-title {
    display: flex;
    align-items: center;
    gap: 7px;
}

.how-it-works-title i {
    color: var(--brand-blue);
}

.how-it-works-body {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    padding: 12px 16px;
    color: var(--text-muted);
}

.how-it-works-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.how-it-works-list li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.step-badge {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 136, 255, 0.14);
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 700;
}

.how-it-works-divider {
    height: 1px;
    background: var(--border-highlight);
    margin: 12px 0 10px;
}

.how-it-works-note {
    color: var(--text-muted);
    font-size: 11px;
}

/* ==========================================
   Reward Voucher Card, colored per category
   ========================================== */

/* category color tokens, fallback hex so it still works if root vars missing */
.reward-voucher-card {
    --cat-color: var(--brand-blue);
    --cat-tint: rgba(0, 136, 255, 0.12);
    --cat-tint-strong: rgba(0, 136, 255, 0.22);

    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-left: 4px solid var(--cat-color);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.reward-voucher-card:hover {
    border-color: var(--border-highlight);
    border-left-color: var(--cat-color);
    transform: translateY(-1px);
}

/* category variants, edit hex here to retheme */
.reward-voucher-card.cat-gold {
    --cat-color: var(--brand-gold, #f39c12);
    --cat-tint: rgba(243, 156, 18, 0.12);
    --cat-tint-strong: rgba(243, 156, 18, 0.22);
}

.reward-voucher-card.cat-blue {
    --cat-color: var(--brand-blue, #0088ff);
    --cat-tint: rgba(0, 136, 255, 0.12);
    --cat-tint-strong: rgba(0, 136, 255, 0.22);
}

.reward-voucher-card.cat-teal {
    --cat-color: var(--brand-teal, #00d2d3);
    --cat-tint: rgba(0, 210, 211, 0.12);
    --cat-tint-strong: rgba(0, 210, 211, 0.22);
}

.reward-voucher-card.cat-purple {
    --cat-color: var(--brand-purple, #8b5cf6);
    --cat-tint: rgba(139, 92, 246, 0.12);
    --cat-tint-strong: rgba(139, 92, 246, 0.22);
}

.voucher-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-highlight);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

/* badge is just colored bold text, no bg, matches photo */
.category-badge-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--cat-color);
}

.status-indicator {
    font-size: 12px;
    color: var(--brand-gold, #f39c12);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-indicator i {
    font-size: 8px;
}

/* Card Content Body */
.voucher-content-grid {
    display: flex;
    gap: 12px;
    align-items: center;
}

.voucher-box-left {
    min-width: 80px;
    height: 70px;
    background: var(--cat-tint);
    border: 1px solid var(--cat-tint-strong);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--cat-color);
    text-align: center;
}

.voucher-box-left .v-amount {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    color: var(--cat-color);
}

.voucher-box-left .v-label {
    font-size: 9px;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-top: 3px;
    color: var(--cat-color);
}

.voucher-details-right {
    flex: 1;
}

.voucher-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.voucher-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.voucher-hint-box {
    background: var(--cat-tint);
    border: 1px solid var(--cat-tint-strong);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    color: var(--cat-color);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.voucher-footer-text {
    background: var(--cat-tint);
    border-radius: 6px;
    padding: 8px;
    font-size: 11px;
    color: var(--cat-color);
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

.voucher-step-bar {
    background: var(--cat-tint);
    color: var(--cat-color);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 10px;
}

.view-details-link {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
}

/* Reward detail modal */
.reward-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 12, 16, 0.68);
    backdrop-filter: blur(5px);
}

.reward-modal-box {
    width: 100%;
    max-width: 240px;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    background: var(--header-surface);
    border: 0;
    border-radius: 13px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.reward-modal-top {
    --cat-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 9px 5px;
    background: var(--main-gradient);
    border-bottom: 0;
}

.reward-modal-top.cat-gold,
.reward-modal-top.cat-blue,
.reward-modal-top.cat-teal,
.reward-modal-top.cat-purple {
    --cat-color: #fff;
}

.reward-modal-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reward-modal-top .category-badge-tag,
.reward-modal-top .status-indicator {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    padding: 2px 7px;
    font-size: 9px;
    line-height: 1.2;
}

.reward-modal-top .status-indicator {
    border: 0;
    background: rgba(255, 255, 255, 0.2);
}

.reward-modal-top>.fa-xmark {
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.reward-modal-amount-area {
    position: relative;
    padding: 3px 10px 9px;
    text-align: center;
    background: var(--main-gradient);
}

.reward-modal-amount {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.05;
}

.reward-modal-amount-label,
.section-label {
    /*color: var(--primary-accent);*/
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.reward-modal-amount-label {
    margin-top: 2px;
}

.reward-modal-amount-area::before {

    position: absolute;
    top: 2px;
    left: calc(50% - 43px);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
}

.reward-modal-body {
    max-height: 184px;
    overflow-y: auto;
    padding: 7px 8px 2px;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: #999 #f1f1f1;
}

.reward-modal-title {
    color: #13233f;
    font-size: 12px;
    font-weight: 700;
}

.reward-modal-subtitle,
.section-text {
    color: #59708e;
    font-size: 9px;
    line-height: 1.25;
}

.reward-modal-subtitle {
    margin-top: 2px;
}

.reward-modal-body .voucher-hint-box {
    --cat-color: #e56700;
    --cat-tint: #fff7f0;
    --cat-tint-strong: #ffd4b8;
    margin-top: 6px;
    padding: 5px 7px;
    font-size: 9px;
}

.reward-modal-section {
    margin-top: 5px;
    padding: 6px 7px;
    border: 1px solid #e5edf5;
    border-radius: 6px;
    background: #f7f9fc;
}

.reward-modal-section .section-label {
    color: #8ba0b8;
    font-size: 9px;
}

.section-text {
    margin-top: 3px;
}

.reward-modal-footer {
    padding: 7px 8px 8px;
    background: #fff;
}

.reward-modal-footer form {
    margin: 0;
}

.sell-usdt-btn {
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 10px 16px;
    background: var(--main-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

@media (max-width: 360px) {
    .rewards-page-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .voucher-content-grid {
        align-items: flex-start;
    }

    .voucher-box-left {
        min-width: 72px;
    }
}

/* User dashboard header */
.app-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 14px 10px;
    background: var(--header-surface);
    border: 0;
}

.header-topbar {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    align-self: stretch;
}

.brand-lockup {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--header-text);
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    color: var(--header-text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--header-muted);
    font-size: 10px;
    white-space: nowrap;
}

.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-control {
    list-style: none;
    height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid var(--header-control-border);
    border-radius: 22px;
    color: var(--header-text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: var(--header-control-bg);
    box-shadow: 0 2px 9px rgba(38, 115, 179, 0.08);
}

.language-control::-webkit-details-marker {
    display: none;
}

.language-control::marker {
    content: "";
}

.language-control>i:first-child {
    color: #167bc1;
    font-size: 15px;
}

.language-picker {
    position: relative;
}

.language-picker[open] .language-control {
    border-color: var(--header-border);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    width: 176px;
    max-height: min(360px, 70vh);
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--header-control-border);
    border-radius: 12px;
    background: var(--header-control-bg);
    box-shadow: 0 12px 30px rgba(10, 35, 65, 0.2);
}

.language-menu button {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--header-text);
    text-align: left;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.language-note {
    display: block;
    padding: 6px 10px;
    color: var(--header-muted);
    font-size: 10px;
    line-height: 1.35;
}

.language-menu button:hover,
.language-menu button:focus-visible {
    outline: none;
    background: var(--header-control-hover);
}

.language-menu button[aria-current="true"] {
    color: var(--primary-accent);
    font-weight: 700;
}

.language-status {
    display: none;
    padding: 6px 10px 4px;
    color: var(--header-muted);
    font-size: 11px;
    line-height: 1.35;
}

.language-status:not(:empty) {
    display: block;
}

.google-translate-widget {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

iframe.VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.language-chevron {
    font-size: 9px;
}

.app-header .icon-btn {
    position: relative;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--header-control-border);
    background: var(--header-control-bg);
    color: var(--header-text);
    text-decoration: none;
    font-size: 16px;
}

.app-header .icon-btn:hover {
    background: var(--header-control-hover);
    border-color: var(--header-border);
    color: #0876bd;
}

.app-header .notification-badge {
    top: -13px;
    right: -9px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--header-surface);
    border-radius: 50%;
    font-size: 9px;
}

.app-header .account-btn {
    background: var(--header-icon-bg);
    border-color: var(--header-control-border);
    font-size: 17px;
}

@media (max-width: 420px) {
    .app-header {
        padding-right: 10px;
        padding-left: 10px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .brand-lockup {
        gap: 6px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        font-size: 8px;
    }

    .header-actions {
        gap: 4px;
    }

    .language-control {
        height: 34px;
        gap: 4px;
        padding: 0 7px;
        font-size: 11px;
    }

    .app-header .icon-btn {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

}

@media (max-width: 360px) {
    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .brand-copy small {
        display: none;
    }

    .header-actions {
        gap: 3px;
    }

    .language-control {
        gap: 3px;
        padding: 0 6px;
    }

    .app-header .icon-btn {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
    }
}

/* login css */
/* ==========================================
   Login Page CSS (Using Root Variables)
   ========================================== */



.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Header */
.login-header .login-logo {
    width: 72px !important;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.login-header h2 {
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 4px;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

/* Input Wrapper */
.login-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--dark-gradient);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color 0.2s ease;
}

.login-input-wrapper:focus-within {
    border-color: var(--brand-blue);
}

.login-input-wrapper .text-grey {
    color: var(--text-muted) !important;
    font-size: 14px;
}

.login-input-wrapper .fa-eye,
.login-input-wrapper .fa-eye-slash {
    cursor: pointer;
}

.login-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 14px;
}

.login-input::placeholder {
    color: var(--text-muted);
}

/* Sign In Button */
.signin-btn {
    width: 100%;
    background: var(--main-gradient);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.signin-btn:hover {
    opacity: 0.92;
}

.signin-btn:active {
    transform: scale(0.98);
}

.signin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Links */
.primary-blue {
    color: var(--brand-blue) !important;
    text-decoration: none;
    font-weight: 600;
}

.login-container a {
    color: var(--text-muted);
    text-decoration: none;
}

.login-container a:hover {
    color: var(--text-main);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select.login-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 24px;
    cursor: pointer;
    color-scheme: dark;
}


.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--text-muted);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-wrapper select.login-input option {
    background: var(--card-bg-top);
    color: var(--text-main);
}

/* ==========================================
   Custom Alert
   ========================================== */
.custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg-top);
    border: 1px solid var(--border-highlight);
    border-left: 4px solid var(--brand-blue);
    border-radius: 12px;
    padding: 12px 14px;
    min-width: 260px;
    max-width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.custom-alert:not(.d-none) {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.custom-alert .alert-icon {
    font-size: 18px;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.custom-alert .alert-text {
    flex: 1;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.custom-alert .alert-close {
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    flex-shrink: 0;
    padding: 4px;
}

.custom-alert .alert-close:hover {
    color: var(--text-main);
}

/* status variants, add matching class in JS: success / danger / warning */
.custom-alert.success {
    border-left-color: var(--success-green, #00d2d3);
}

.custom-alert.success .alert-icon {
    color: var(--success-green, #00d2d3);
}

.custom-alert.danger {
    border-left-color: var(--accent-red, #ef4444);
}

.custom-alert.danger .alert-icon {
    color: var(--accent-red, #ef4444);
}

.custom-alert.warning {
    border-left-color: var(--brand-gold, #f39c12);
}

.custom-alert.warning .alert-icon {
    color: var(--brand-gold, #f39c12);
}



/* ==========================================
   Support Page Styles
   ========================================== */
.support-container {
    padding: 15px;
    padding-bottom: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Live Chat Header Banner */
.support-banner {
    background: var(--main-gradient);
    border-radius: 16px;
    padding: 20px;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.25);
}

.support-banner .live-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.support-banner h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 6px 0;
}

.support-banner p {
    font-size: 13px;
    margin: 0;
    opacity: 0.95;
}

/* Navigation Tabs */
.support-tabs {
    display: flex;
    background: var(--dark-gradient);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 4px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn.active {
    background: var(--card-bg-top);
    color: var(--primary-accent);
    border-color: var(--border-highlight);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Content Sections */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Cards */
.support-card {
    background: var(--dark-gradient);
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contact Items */
.channel-box {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.channel-box:last-child {
    margin-bottom: 0;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.channel-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg-top);
    border: 1px solid var(--border-highlight);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
    font-size: 18px;
}

.channel-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.channel-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.copy-btn,
.link-btn {
    color: var(--primary-accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* FAQ Accordion */
.faq-item {
    background: var(--card-bg-bottom);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-header {
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-main);
}

.faq-body {
    padding: 0 14px 14px 14px;
    font-size: 13px;
    color: var(--text-muted);
    display: none;
    line-height: 1.5;
}

.faq-item.open .faq-body {
    display: block;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-accent);
}

.faq-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Forms */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-accent);
    text-transform: uppercase;
    margin-bottom: 6px;
}



.form-control:focus {
    border-color: var(--primary-accent);
}

form-control::placeholder {
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.7;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    text-align: right;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-submit {
    width: 100%;
    background: var(--main-gradient);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.2s;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Account Info Card */
.account-info-box {
    background: var(--dark-gradient);
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    padding: 14px;
}

.account-info-box .info-row {
    font-size: 13px;
    margin-bottom: 4px;
    color: var(--text-muted);
}

.account-info-box .info-row strong {
    color: var(--text-main);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 40px;
    color: var(--primary-accent);
    margin-bottom: 12px;
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.empty-state p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.warning-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

.status-open {
    background: rgba(243, 156, 18, 0.15);
    color: var(--secondary-accent);
}

.status-progress {
    background: rgba(0, 136, 255, 0.15);
    color: var(--primary-accent);
}

.status-resolved {
    background: rgba(0, 210, 211, 0.15);
    color: var(--success-green);
}

.income-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 9999;
}

.income-modal-box {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 75vh;
    overflow-y: auto;
    padding: 16px;
}

.income-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.income-modal-header h4 {
    margin: 0;
    color: var(--text-main);
    font-size: 15px;
}

.income-modal-header i {
    color: var(--text-muted);
    cursor: pointer;
}

/* Page Container */
.announcements-container {
    padding: 15px;
    padding-bottom: 90px;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--app-bg);
    color: var(--text-main);
    font-family: system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

/* Top Bar */
.announce-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.announce-topbar .title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.announce-topbar .back-btn {
    color: var(--text-main);
    font-size: 18px;
    text-decoration: none;
}

.announce-topbar h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.notification-bell {
    position: relative;
    width: 36px;
    height: 36px;
    background: var(--card-bg-top);
    border: 1px solid var(--border-highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: 9px;
    right: 11px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 28px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Announcement Cards */
.announce-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.announce-card {
    background: var(--dark-gradient);
    border: 1px solid var(--border-highlight);
    border-radius: 14px;
    padding: 14px 16px;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.announce-card:active {
    transform: scale(0.98);
}

/* Pinned Card Style */
.announce-card.pinned-highlight {
    background: linear-gradient(180deg, #18202a 0%, #0e0f17 100%);
    border: 1px solid rgba(18, 142, 243, 0.4);
}

[data-theme="light"] .announce-card.pinned-highlight {
    background: linear-gradient(180deg, #f5fbff 0%, #e7f1fe 100%);
    border: 1px solid rgba(34, 80, 230, 0.4);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.pin-badge {
    background: rgba(243, 156, 18, 0.15);
    color: var(--secondary-accent);
    border: 1px solid rgba(243, 156, 18, 0.3);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.announce-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary-accent);
}

.card-body-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.announce-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 4px;
}

.announce-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chevron-icon {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

/* Empty State Style */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: var(--dark-gradient);
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
}

.empty-state i {
    font-size: 40px;
    color: var(--secondary-accent);
    margin-bottom: 12px;
}

/* Detail Popup Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
    box-sizing: border-box;
}

.modal-card {
    background: var(--card-bg-top);
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    color: var(--text-main);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: popup 0.25s ease-out;
}

@keyframes popup {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.modal-date {
    font-size: 12px;
    color: var(--secondary-accent);
    margin-bottom: 15px;
}

.modal-content {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-line;
}

.modal-close-btn {
    width: 100%;
    background: var(--main-gradient);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}


.profile-container {
    padding: 20px 15px;
    padding-bottom: 20px;
    max-width: 550px;
    margin: 0 auto;
    background-color: var(--app-bg);
    color: var(--text-main);
    font-family: system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

.profile-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-topbar .back-btn {
    color: var(--text-main);
    font-size: 18px;
    text-decoration: none;
}

.profile-topbar h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.profile-card {
    background: linear-gradient(180deg, var(--card-bg-top) 0%, var(--card-bg-bottom) 100%);
    border: 1px solid var(--border-highlight);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.form-group-custom {
    margin-bottom: 16px;
}

.form-group-custom label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-icon-box {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-box i {
    position: absolute;
    left: 14px;
    color: var(--primary-accent);
    font-size: 14px;
}

.form-control-custom {
    width: 100%;
    padding: 12px 14px 12px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-highlight);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-control-custom:focus {
    border-color: var(--secondary-accent);
}

.form-control-custom:disabled,
.form-control-custom[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
}

select.form-control-custom {
    appearance: none;
    cursor: pointer;
}

select.form-control-custom option {
    background: var(--card-bg-top);
    color: var(--text-main);
}

.btn-update-profile {
    width: 100%;
    background: var(--main-gradient);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s ease;
}

.btn-update-profile:active {
    transform: scale(0.98);
}


/* Wallet Balance Card Styling */
.wallet-balance-card1 {
    background: linear-gradient(180deg, #ffffff 0%, #f2faff 100%);
    ;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    color: #123b73;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.wallet-card-header1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wallet-label1 {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.wallet-status-badge1 {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: rgba(201, 162, 39, 0.15);
    color: var(--success-green);
    border: 1px solid var(--border-highlight);
    font-weight: 600;
}

.wallet-status-badge1-danger {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: rgba(201, 39, 39, 0.15);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
    font-weight: 600;
}

/* CHANGED: Switched to a vertical column layout so buttons go below the balance */
.wallet-card-body1 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.balance-amount1 {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.amount-val1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--primary-accent);
}

.currency-unit1 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* CHANGED: Made actions container span full width */
.wallet-actions1 {
    display: flex;
    width: 100%;
    gap: 8px;
}

/* CHANGED: Added flex: 1 so both buttons share the full width evenly */
.btn-wallet-action1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Primary Topup Button (Gold Gradient) */
.btn-topup1 {
    background: var(--main-gradient);
    color: #120e05;
    border: none;
}

.btn-topup1:hover {
    opacity: 0.9;
    color: #000;
}

/* Staking Outline Button */
.btn-staking1 {
    background: transparent;
    color: #123b73;
    border: 1px solid var(--border-highlight);
}

.btn-staking1:hover {
    background: var(--border);
    color: var(--primary-accent);
}

/* Announcement Modal Overlay */
.modal-overlay1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    animation: fadeIn 0.3s ease-in-out;
}

/* Modal Main Box */
.announcement-box {
    background: var(--dark-gradient);
    border: 1px solid var(--border-highlight);
    border-radius: 18px;
    width: 100%;
    max-width: 360px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: scaleUp 0.3s ease-in-out;
}

/* Modal Header */
.announcement-header {
    background: var(--card-bg-top);
    color: var(--primary-accent);
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.5px;
}

/* Modal Content Body */
.announcement-content {
    padding: 16px;
    max-height: 60vh;
    overflow-y: auto;
}

.announcement-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--border);
}

#popupBanner {
    border: 0;
    background: transparent;
}

#popupBanner .swiper-slide {
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
}

#popupBanner .banner-card::after {
    display: none;
}

#popupBanner .banner-bg-img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border: 0;
    border-radius: 0;
}

#popupBanner .swiper-pagination {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 8px 0 2px;
}

#popupBanner .swiper-pagination-bullet {
    background: var(--text-muted);
}

#popupBanner .swiper-pagination-bullet-active {
    background: var(--primary-accent) !important;
}

/* Modal Footer / Action Button */
.announcement-footer {
    background: var(--main-gradient);
    color: #120e05;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
    user-select: none;
}

.announcement-footer:hover {
    opacity: 0.9;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


.terms-checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: left;
}

.terms-checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-blue);
    cursor: pointer;
}

.terms-checkbox-wrapper a {
    color: var(--brand-blue);
    text-decoration: none;
    cursor: pointer;
}

.terms-checkbox-wrapper a:hover {
    text-decoration: underline;
}

.theme-toggle-btn {
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.account-switch-text {
    color: var(--text-muted);
    opacity: 1;
}

.btn-edit-account {
    background: var(--main-gradient);
    color: #120e05;
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
    outline: none;
}

.btn-edit-account:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
    color: #ffffff;
}

.btn-edit-account i {
    font-size: 12px;
}

.wallet-toggle1 {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-toggle1:hover {
    background: #eef8ff;
    border-color: var(--secondary-accent);
    transform: scale(1.05);
}

.wallet-toggle1 i {
    font-size: 14px;
}

/* Dashboard trading and community overview */
.dashboard-overview {
    display: grid;
    gap: 14px;
}

.overview-panel {
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--dark-gradient);
    box-shadow: 0 4px 14px rgba(24, 85, 132, 0.08);
}

.leaderboard-panel {
    background: linear-gradient(180deg,
            #ffffff 0%,
            #eef8ff 100%);
    ;
}

.link-banner {
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(24, 85, 132, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-banner:hover,
.link-banner:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(24, 85, 132, 0.16);
}

.link-banner:focus-visible {
    outline: 3px solid var(--primary-accent);
    outline-offset: 3px;
}

.link-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.dashboard-news-panel {
    padding: 12px;
    border-color: #d9edf9;
    background: linear-gradient(180deg, #fff 0%, #f3faff 100%);
}

.dashboard-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 2px 10px;
}

.dashboard-news-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #123b73;
}

.dashboard-news-title>i {
    color: #1688e8;
    font-size: 18px;
}

.dashboard-news-title h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
}

.dashboard-news-view-all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2773bb;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.dashboard-news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d9edf9;
    border-radius: 12px;
    background: #fff;
}

.dashboard-news-image {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: cover;
    background: #eaf5fc;
}

.dashboard-news-content {
    padding: 9px;
}

.dashboard-news-content h3 {
    overflow: hidden;
    margin: 0;
    color: #123b73;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-news-content p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 30px;
    margin: 5px 0 8px;
    color: #637c99;
    font-size: 10px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dashboard-news-content time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5784a9;
    font-size: 9px;
}

.dashboard-news-empty {
    margin: 0;
    padding: 18px 8px;
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
}

[data-theme="dark"] .dashboard-news-panel {
    border-color: var(--border);
    background: var(--dark-gradient);
}

[data-theme="dark"] .dashboard-news-title,
[data-theme="dark"] .dashboard-news-content h3 {
    color: var(--text-main);
}

[data-theme="dark"] .dashboard-news-card {
    border-color: var(--border);
    background: var(--card-bg-bottom);
}

[data-theme="dark"] .dashboard-news-content p,
[data-theme="dark"] .dashboard-news-content time,
[data-theme="dark"] .dashboard-news-view-all {
    color: var(--text-muted);
}

.overview-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.overview-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.leaderboard-panel .overview-title {
    color: #123b73;
}

.overview-title>i {
    flex: 0 0 auto;
    color: var(--primary-accent);
    font-size: 18px;
}

.overview-title h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
}

.overview-live {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 20px;
    background: rgba(34, 197, 94, 0.12);
    color: #16804a;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.overview-live span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.overview-caption {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 10px;
    text-align: right;
    text-transform: capitalize;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.overview-stat {
    min-width: 0;
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--card-bg-bottom);
}

.overview-stat-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
}

.overview-stat-icon-blue {
    background: linear-gradient(145deg, #38bdf8, #2563eb);
}

.overview-stat-icon-green {
    background: linear-gradient(145deg, #4ade80, #16a34a);
}

.overview-stat-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.overview-stat-label {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.overview-stat-content strong {
    overflow: hidden;
    margin-top: 3px;
    color: var(--text-main);
    font-size: clamp(17px, 4.5vw, 23px);
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-stat-content small {
    overflow: hidden;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.leaderboard-description {
    margin: 5px 0 0 26px;
    color: var(--text-muted);
    font-size: 11px;
}

.leaderboard-period-display {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card-bg-bottom);
    color: var(--text-muted);
}

.leaderboard-period-display span {
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.leaderboard-period-display .is-active {
    background: linear-gradient(135deg, #1688e8, #1760c5);
    color: #fff;
}

.leaderboard-period-display i {
    padding: 0 5px;
    color: var(--primary-accent);
    font-size: 12px;
}

.leaderboard-more:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

.leaderboard-list {
    display: grid;
    gap: 7px;
}

.leaderboard-row {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid #d9edf9;
    border-radius: 11px;
    background: #f2faff;
}

.leaderboard-row.is-hidden {
    display: none;
}

.leaderboard-rank {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(120, 137, 157, 0.12);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
}

.leaderboard-rank-top {
    background: rgba(245, 158, 11, 0.16);
    color: #d28a08;
}

.leaderboard-flag {
    flex: 0 0 25px;
    width: 25px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
}

.leaderboard-user {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.leaderboard-user strong {
    overflow: hidden;
    color: #123b73;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-user small {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-volume {
    flex: 0 0 auto;
    color: #123b73;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.leaderboard-volume small {
    color: var(--text-muted);
    font-size: 9px;
}

.leaderboard-empty {
    margin: 0;
    padding: 20px 10px;
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
}

.leaderboard-more {
    display: block;
    margin: 11px auto 0;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: transparent;
    color: var(--primary-accent);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

[data-theme="dark"] .overview-live {
    color: #72e5a5;
}

@media (max-width: 520px) {
    .leaderboard-header {
        flex-wrap: wrap;
    }

    .leaderboard-period-display {
        margin-left: auto;
    }

}

@media (max-width: 380px) {
    .overview-panel {
        padding: 11px;
    }

    .overview-title {
        gap: 6px;
    }

    .overview-title h2 {
        font-size: 13px;
    }

    .overview-live {
        padding: 4px 6px;
        font-size: 8px;
    }

    .overview-caption {
        display: none;
    }

    .overview-stat {
        gap: 7px;
        padding: 8px;
    }

    .overview-stat-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* Trading overview */
.trading-page {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 18px 16px 110px;
    box-sizing: border-box;
    color: var(--dashboard-ink, var(--text-main));
}

.trading-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 24px;
    background: radial-gradient(120% 90% at 100% 0%, #2f9bff, transparent 55%), linear-gradient(140deg, #0a63ea, #0840b8 55%, #06267a);
    color: #fff;
    box-shadow: 0 16px 32px -14px rgba(8, 64, 184, .48);
}

.trading-hero:after {
    position: absolute;
    top: -90px;
    right: -55px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, .05), 0 0 0 56px rgba(255, 255, 255, .035);
    content: "";
}

.trading-hero-copy,
.trading-hero-link {
    position: relative;
    z-index: 1;
}

.trading-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trading-hero h1 {
    margin: 7px 0 4px;
    color: #fff;
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -.025em;
}

.trading-hero p {
    max-width: 240px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    line-height: 1.45;
}

.trading-hero-link {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}

.trading-hero-link span {
    display: none;
}

.trading-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 20px;
}

.trading-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 88px;
    padding: 12px;
    border: 1px solid var(--dashboard-line, var(--border));
    border-radius: 19px;
    background: var(--dashboard-surface, var(--card-bg-top));
    box-shadow: var(--dashboard-shadow, 0 8px 20px rgba(18, 59, 115, .05));
}

.trading-stat-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(145deg, #4cc7ff, #0a72ec);
    color: #fff;
    font-size: 15px;
}

.trading-stat:nth-child(2) .trading-stat-icon,
.trading-stat:nth-child(4) .trading-stat-icon {
    background: linear-gradient(145deg, #4fe39a, #05a860);
}

.trading-stat-label {
    display: block;
    margin-bottom: 4px;
    color: var(--dashboard-muted, var(--text-muted));
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.trading-stat-value {
    display: block;
    overflow-wrap: anywhere;
    color: var(--dashboard-ink, var(--text-main));
    font-size: clamp(16px, 4.4vw, 20px);
    font-weight: 850;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.trading-stat-unit {
    margin-left: 4px;
    color: var(--dashboard-muted, var(--text-muted));
    font-size: 9px;
    font-weight: 700;
}

.trading-board {
    overflow: hidden;
    border: 1px solid var(--dashboard-line, var(--border));
    border-radius: 22px;
    background: var(--dashboard-surface, var(--card-bg-top));
    box-shadow: var(--dashboard-shadow, 0 10px 26px rgba(18, 59, 115, .06));
}

.trading-board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 17px 16px;
    border-bottom: 1px solid var(--dashboard-line, var(--border));
}

.trading-board-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.trading-board-title-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: rgba(11, 108, 244, .1);
    color: var(--dashboard-primary, var(--primary-accent));
    font-size: 16px;
}

.trading-board-title h2 {
    margin: 0;
    color: var(--dashboard-ink, var(--text-main));
    font-size: 15px;
    font-weight: 850;
    line-height: 1.2;
}

.trading-board-title p {
    margin: 4px 0 0;
    color: var(--dashboard-muted, var(--text-muted));
    font-size: 10px;
}

.trading-board-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 99px;
    background: rgba(14, 159, 99, .11);
    color: #0e9f63;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.trading-board-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.trading-table-wrap {
    padding: 4px 10px 10px;
}

.trading-table-head,
.trading-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) minmax(100px, auto);
    align-items: center;
    gap: 8px;
}

.trading-table-head {
    padding: 9px 7px;
    color: var(--dashboard-muted, var(--text-muted));
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.trading-table-head span:last-child {
    text-align: right;
}

.trading-row {
    min-height: 66px;
    margin: 3px 0;
    padding: 8px 7px;
    border: 1px solid transparent;
    border-radius: 15px;
    transition: background .2s, border-color .2s;
}

.trading-row:hover {
    border-color: var(--dashboard-line, var(--border));
    background: var(--dashboard-soft, var(--card-bg-bottom));
}

.trading-rank {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 11px;
    background: var(--dashboard-soft, var(--header-icon-bg));
    color: var(--dashboard-muted, var(--text-muted));
    font-size: 12px;
    font-weight: 850;
}

.trading-rank.top-one {
    background: linear-gradient(145deg, #ffe27a, #f0a500);
    color: #5a3b00;
}

.trading-rank.top-two {
    background: linear-gradient(145deg, #eef2f7, #aab7c8);
    color: #34465c;
}

.trading-rank.top-three {
    background: linear-gradient(145deg, #f3bf92, #c4782f);
    color: #4d2700;
}

.trading-trader {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.trading-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2f9bff, #0a55d6);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.trading-trader-info {
    min-width: 0;
}

.trading-trader-name {
    display: block;
    overflow: hidden;
    color: var(--dashboard-ink, var(--text-main));
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trading-country {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    margin-top: 3px;
    color: var(--dashboard-muted, var(--text-muted));
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trading-flag {
    flex: 0 0 16px;
    width: 16px;
    height: 11px;
    object-fit: cover;
    border-radius: 2px;
}

.trading-volume-cell {
    display: grid;
    justify-items: end;
    gap: 6px;
    min-width: 0;
}

.trading-volume {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: var(--dashboard-ink, var(--text-main));
    font-size: 11px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.trading-volume small {
    color: var(--dashboard-muted, var(--text-muted));
    font-size: 8px;
    font-weight: 700;
}

.trading-volume-track {
    display: block;
    width: min(100%, 96px);
    height: 5px;
    overflow: hidden;
    border-radius: 99px;
    background: var(--dashboard-soft, var(--header-icon-bg));
}

.trading-volume-fill {
    display: block;
    height: 100%;
    min-width: 2px;
    border-radius: inherit;
    background: linear-gradient(90deg, #2f9bff, #0b6cf4);
}

.trading-empty {
    padding: 36px 18px;
    color: var(--dashboard-muted, var(--text-muted));
    font-size: 12px;
    text-align: center;
}

.trading-empty i {
    display: block;
    margin-bottom: 10px;
    color: var(--dashboard-primary, var(--primary-accent));
    font-size: 28px;
}

html[data-theme="dark"] .trading-page .trading-stat,
html[data-theme="dark"] .trading-page .trading-board {
    border-color: var(--dashboard-line);
    background: var(--dashboard-surface);
}

@media (max-width: 360px) {
    .trading-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .trading-board-header {
        flex-wrap: wrap;
    }

    .trading-board-badge {
        margin-left: 48px;
    }

    .trading-stat {
        gap: 8px;
        padding: 10px;
    }

    .trading-stat-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .trading-table-head,
    .trading-row {
        grid-template-columns: 30px minmax(0, 1fr) minmax(86px, auto);
        gap: 6px;
    }

    .trading-volume {
        font-size: 10px;
    }
}

.lk-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 16px 14px 20px;
}

.lk-hero {
    background: var(--main-gradient);
    border-radius: 22px;
    padding: 24px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .28);
}

.lk-hero::before,
.lk-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.lk-hero::before {
    width: 160px;
    height: 160px;
    right: -40px;
    top: -50px;
}

.lk-hero::after {
    width: 90px;
    height: 90px;
    right: 60px;
    bottom: -40px;
}

.lk-hero h2 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.lk-hero p {
    margin: 0;
    font-size: 13px;
    opacity: .9;
    position: relative;
    z-index: 1;
}

.lk-counter {
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.lk-counter-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.lk-bar {
    height: 8px;
    background: rgba(255, 255, 255, .25);
    border-radius: 99px;
    overflow: hidden;
}

.lk-bar span {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: 99px;
    transition: width .4s;
}

.lk-alert {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center;
}

.lk-alert.success {
    background: rgba(34, 197, 94, .12);
    color: var(--success-green);
    border: 1px solid rgba(34, 197, 94, .3);
}

.lk-alert.error {
    background: rgba(239, 68, 68, .12);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, .3);
}

.lk-card {
    margin-top: 16px;
    background: linear-gradient(180deg, var(--card-bg-top), var(--card-bg-bottom));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px 16px;
    box-shadow: 0 6px 18px rgba(18, 59, 115, .06);
}

.lk-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 10px;
}

.lk-platforms {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.lk-pick {
    position: relative;
}

.lk-pick input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.lk-pick label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 2px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--card-bg-top);
    cursor: pointer;
    transition: .2s;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.lk-pick label i {
    font-size: 20px;
    color: var(--c);
}

.lk-pick input:checked+label {
    border-color: var(--primary-accent);
    background: rgba(37, 99, 235, .08);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, .18);
}

.lk-input-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    border: 1.5px solid var(--border);
    background: var(--card-bg-top);
    border-radius: 14px;
    padding: 0 14px;
    transition: .2s;
}

.lk-input-box:focus-within {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.lk-input-box i {
    color: var(--text-muted);
}

.lk-input-box input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 14px 0;
    font-size: 14px;
    color: var(--text-main);
    min-width: 0;
}

.lk-btn {
    width: 100%;
    margin-top: 14px;
    border: 0;
    cursor: pointer;
    background: var(--main-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 14px;
    border-radius: 14px;
    transition: .2s;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
}

.lk-btn:hover {
    transform: translateY(-1px);
}

.lk-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lk-full {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 6px 0;
}

.lk-full i {
    color: var(--success-green);
    font-size: 26px;
    display: block;
    margin-bottom: 6px;
}

.lk-list-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 22px 4px 10px;
}

.lk-list-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.lk-pill {
    background: var(--header-icon-bg);
    color: var(--primary-accent);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    border: 1px solid var(--border);
}

.lk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, var(--card-bg-top), var(--card-bg-bottom));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    transition: .2s;
}

.lk-item:hover {
    border-color: var(--border-highlight);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(18, 59, 115, .08);
}

.lk-ico {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background: var(--c);
}

.lk-info {
    flex: 1;
    min-width: 0;
}

.lk-info strong {
    display: block;
    font-size: 14px;
    color: var(--text-main);
}

.lk-info a {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lk-actions {
    display: flex;
    gap: 6px;
}

.lk-act {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card-bg-top);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
    transition: .2s;
}

.lk-act:hover {
    color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.lk-act.del:hover {
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.lk-actions form {
    margin: 0;
}

.lk-empty {
    text-align: center;
    padding: 30px 10px;
    color: var(--text-muted);
    font-size: 13px;
}

.lk-empty i {
    font-size: 38px;
    color: var(--border-highlight);
    margin-bottom: 10px;
    display: block;
}

@media (max-width: 380px) {
    .lk-platforms {
        grid-template-columns: repeat(4, 1fr);
    }
}

.la-card {
    background: linear-gradient(180deg, var(--card-bg-top), var(--card-bg-bottom));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(18, 59, 115, .07)
}

.la-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 4px 12px
}

.la-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--text-main)
}

.la-bolt {
    color: var(--primary-accent);
    font-size: 22px;
    animation: laPulse 1.6s infinite
}

.la-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    color: var(--success-green);
    background: rgba(34, 197, 94, .12);
    padding: 3px 9px;
    border-radius: 99px
}

.la-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success-green);
    animation: laBlink 1.2s infinite
}

.la-simulated {
    color: #a16207;
    background: rgba(234, 179, 8, .14)
}

.la-simulated i {
    background: #eab308
}

.la-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-accent);
    text-decoration: none
}

.la-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 60px
}

.la-row {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr auto;
    align-items: center;
    gap: 10px;
    background: var(--card-bg-top);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    animation: laIn .55s cubic-bezier(.2, .8, .2, 1)
}

.la-row.leaving {
    animation: laOut .4s forwards
}

.la-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.la-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0
}

.la-ico.deposit {
    background: linear-gradient(135deg, #10b981, #34d399)
}

.la-ico.withdrawal {
    background: linear-gradient(135deg, #f97316, #fb923c)
}

.la-ico.staking {
    background: linear-gradient(135deg, #7c3aed, #a78bfa)
}

.la-ico.commission {
    background: linear-gradient(135deg, #2563eb, #38bdf8)
}

.la-type {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main)
}

.la-amt {
    font-size: 15px;
    font-weight: 800
}

.la-amt.pos {
    color: var(--success-green)
}

.la-amt.neg {
    color: var(--accent-red)
}

.la-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.la-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--main-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.la-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.la-time {
    font-size: 11px;
    color: var(--text-muted)
}

.la-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-accent);
    background: var(--header-icon-bg);
    padding: 6px 10px;
    border-radius: 99px;
    white-space: nowrap
}

.la-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 18px
}

@keyframes laIn {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(.97)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes laOut {
    to {
        opacity: 0;
        transform: translateX(30px)
    }
}

@keyframes laPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.18);
        opacity: .75
    }
}

@keyframes laBlink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .25
    }
}

@media(max-width:480px) {
    .la-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) auto;
        gap: 7px;
        padding: 9px;
    }

    .la-left {
        gap: 7px;
    }

    .la-ico {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 15px;
    }

    .la-type {
        font-size: 12px;
        white-space: nowrap;
    }

    .la-amt {
        font-size: 12px;
        white-space: nowrap;
    }

    .la-user {
        gap: 6px;
    }

    .la-av {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .la-name {
        font-size: 11px;
    }

    .la-time {
        font-size: 10px;
    }

    .la-tag {
        font-size: 9px;
        padding: 5px 7px;
    }
}

/* Dashboard wallet design */
.dashboard-ui .app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--dashboard-line);
}

html[data-theme="dark"] .dashboard-ui .app-header {
    background: rgba(17, 27, 46, .9);
}

.wallet-dashboard {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px 20px;
    color: var(--dashboard-ink);
}

.dashboard-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 18px;
}

.dashboard-greeting-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border: 3px solid var(--dashboard-surface);
    border-radius: 50%;
    background: linear-gradient(145deg, #cfe8ff, #eaf3ff);
    color: #1762c8;
    font-size: 21px;
    box-shadow: var(--dashboard-shadow);
}

.dashboard-greeting-copy {
    flex: 1;
    min-width: 0;
}

.dashboard-greeting-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dashboard-muted);
    font-size: 12px;
    font-weight: 600;
}

.dashboard-greeting-time i {
    color: #f59e0b;
    font-size: 12px;
}

.dashboard-greeting-copy h1 {
    overflow: hidden;
    margin: 1px 0 3px;
    color: var(--dashboard-ink);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-greeting-country {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dashboard-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
}

.dashboard-greeting-country img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
}

.dashboard-greeting-status {
    padding: 7px 10px;
    border: 1px solid var(--dashboard-line);
    border-radius: 20px;
    background: var(--dashboard-surface);
    color: var(--dashboard-muted);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-greeting-status.is-active {
    color: #0e9f63;
}

.dashboard-wallet-hero {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 28px;
    background: radial-gradient(120% 90% at 100% 0%, #2f9bff, transparent 55%), linear-gradient(140deg, #0a63ea, #0840b8 55%, #06267a);
    color: #fff;
    box-shadow: 0 18px 40px -14px rgba(8, 64, 184, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.dashboard-wallet-hero:before {
    position: absolute;
    top: -80px;
    right: -70px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .05), 0 0 0 68px rgba(255, 255, 255, .035);
    content: "";
}

.dashboard-wallet-hero>* {
    position: relative;
}

.dashboard-wallet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard-wallet-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    opacity: .82;
}

.dashboard-wallet-controls {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dashboard-wallet-hero .wallet-status-badge1,
.dashboard-wallet-hero .wallet-status-badge1-danger {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.dashboard-wallet-hero .wallet-toggle1 {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.dashboard-wallet-balance {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 10px 0 4px;
}

.dashboard-wallet-balance .amount-val1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 10.5vw, 44px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.dashboard-wallet-balance .currency-unit1 {
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-wallet-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
}

.dashboard-wallet-hero .wallet-actions1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.dashboard-wallet-hero .btn-wallet-action1 {
    min-height: 48px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 15px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
}

.dashboard-wallet-hero .btn-wallet-action1.btn-topup1 {
    border-color: #fff;
    background: #fff;
    color: #0840b8;
    box-shadow: 0 8px 20px rgba(0, 20, 80, .2);
}

.dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.dashboard-shortcut {
    min-height: 108px;
    padding: 13px 6px 10px;
    border: 1px solid var(--dashboard-line);
    border-radius: 21px;
    background: var(--dashboard-surface);
    color: var(--dashboard-ink);
    text-align: center;
    text-decoration: none;
    box-shadow: var(--dashboard-shadow);
    transition: transform .15s, border-color .15s;
}

.dashboard-shortcut:active {
    transform: scale(.96);
}

.dashboard-shortcut-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 7px;
    border-radius: 15px;
    color: #fff;
    font-size: 20px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, .3);
}

.dashboard-shortcut:nth-child(1) .dashboard-shortcut-icon,
.dashboard-shortcut:nth-child(6) .dashboard-shortcut-icon {
    background: linear-gradient(145deg, #4fe39a, #05a860);
}

.dashboard-shortcut:nth-child(2) .dashboard-shortcut-icon,
.dashboard-shortcut:nth-child(5) .dashboard-shortcut-icon {
    background: linear-gradient(145deg, #4cc7ff, #0a72ec);
}

.dashboard-shortcut:nth-child(3) .dashboard-shortcut-icon {
    background: linear-gradient(145deg, #c15bff, #6a18d4);
}

.dashboard-shortcut:nth-child(4) .dashboard-shortcut-icon {
    background: linear-gradient(145deg, #ffb53f, #ff5c00);
}

.dashboard-shortcut strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.dashboard-shortcut small {
    display: block;
    margin-top: 3px;
    color: var(--dashboard-muted);
    font-size: 9px;
    line-height: 1.25;
}

.dashboard-banner-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 22px;
    padding: 0;
}

.dashboard-ui .dashboard-overview {
    order: 0;
}

.dashboard-ui .banner-carousel {
    order: 2;
    margin-top: 24px;
}

.dashboard-ui .news-ticker-container {
    order: 3;
}

.dashboard-ui .la-card {
    order: 1;
}

.dashboard-overview>.overview-panel {
    padding: 14px;
    border: 1px solid var(--dashboard-line);
    border-radius: 22px;
    background: var(--dashboard-surface);
    box-shadow: var(--dashboard-shadow);
}

.dashboard-overview .overview-title {
    color: var(--dashboard-ink);
}

.dashboard-overview .overview-title h2 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.dashboard-overview .overview-caption {
    color: var(--dashboard-primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-overview .overview-stats {
    gap: 10px;
}

.dashboard-overview .overview-stat {
    min-height: 108px;
    padding: 13px;
    border: 1px solid var(--dashboard-line);
    border-radius: 18px;
    background: var(--dashboard-soft);
}

.dashboard-overview .overview-stat-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 13px;
    font-size: 16px;
}

.dashboard-overview .overview-stat-label {
    font-size: 11px;
}

.dashboard-overview .overview-stat-content strong {
    font-size: clamp(17px, 5.2vw, 22px);
    font-variant-numeric: tabular-nums;
}

.dashboard-overview .overview-stat-content small {
    font-size: 10px;
}

.dashboard-overview .leaderboard-panel {
    padding: 16px 14px;
}

.dashboard-overview .leaderboard-row {
    padding: 10px;
    border-color: var(--dashboard-line);
    border-radius: 15px;
    background: var(--dashboard-surface);
}

.dashboard-overview .leaderboard-user strong {
    font-size: 12px;
}

.dashboard-overview .leaderboard-volume {
    font-size: 12px;
}

.dashboard-overview .dashboard-news-panel {
    padding: 14px;
    border-color: var(--dashboard-line);
    border-radius: 22px;
    background: var(--dashboard-surface);
}



.dashboard-news-card {
    flex: 0 0 78%;
    max-width: 290px;
    border-color: var(--dashboard-line);
    border-radius: 17px;
    background: var(--dashboard-surface);
    scroll-snap-align: start;
}

.dashboard-news-image {
    height: 104px;
}

.dashboard-news-content {
    padding: 12px;
}

.dashboard-news-content h3 {
    font-size: 14px;
}

.dashboard-news-content p {
    min-height: 38px;
    font-size: 12px;
}


html[data-theme="dark"] .dashboard-shortcut,
html[data-theme="dark"] .dashboard-overview>.overview-panel,
html[data-theme="dark"] .dashboard-overview .overview-stat,
html[data-theme="dark"] .dashboard-overview .leaderboard-row,
html[data-theme="dark"] .dashboard-overview .dashboard-news-panel,
html[data-theme="dark"] .dashboard-news-card,
html[data-theme="dark"] .wallet-dashboard .la-row {
    color: var(--dashboard-ink);
    background: var(--dashboard-surface);
    border-color: var(--dashboard-line);
}

@media (max-width: 380px) {
    .dashboard-ui .header-topbar {
        gap: 6px;
    }

    .dashboard-ui .brand-copy small {
        display: none;
    }

    .dashboard-shortcut {
        min-height: 100px;
    }

    .dashboard-wallet-hero {
        padding: 17px;
    }

    .dashboard-greeting-status {
        padding: 6px 8px;
        font-size: 9px;
    }
}

.nw-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 16px 14px 20px
}

.nw-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px
}

.nw-back {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg-top);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: .2s
}

.nw-back:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent)
}

.nw-top h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px
}

.nw-top h2 i {
    color: var(--primary-accent)
}

.nw-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-accent);
    background: var(--header-icon-bg);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 99px
}

.nw-card {
    cursor: pointer;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    background: linear-gradient(180deg, var(--card-bg-top), var(--card-bg-bottom));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 10px;
    transition: .25s;
    animation: nwIn .5s both
}

.nw-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-highlight);
    box-shadow: 0 10px 22px rgba(18, 59, 115, .1)
}

.nw-img {
    width: 112px;
    min-height: 112px;
    border-radius: 13px;
    background: var(--main-gradient);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px
}

.nw-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.nw-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column
}

.nw-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.nw-text {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.nw-meta {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted)
}

.nw-read {
    color: var(--primary-accent);
    font-weight: 700
}

.nw-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px
}

.nw-pg {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--card-bg-top);
    color: var(--text-main);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: .2s
}

.nw-pg:hover {
    border-color: var(--primary-accent);
    color: var(--primary-accent)
}

.nw-pg.active {
    background: var(--main-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .3)
}

.nw-pg.off {
    opacity: .4;
    pointer-events: none
}

.nw-empty {
    text-align: center;
    padding: 50px 10px;
    color: var(--text-muted);
    font-size: 14px
}

.nw-empty i {
    display: block;
    font-size: 42px;
    color: var(--border-highlight);
    margin-bottom: 10px
}



.nw-m-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    display: block
}

@keyframes nwIn {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:380px) {
    .nw-img {
        width: 92px;
        min-height: 92px
    }
}


.payout-account-section {
    margin-top: 18px
}

.pa-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.pa-item {
    position: relative;
    display: block;
    cursor: pointer
}

.pa-item input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer
}

.pa-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    background: var(--card-bg-top);
    transition: .2s
}

.pa-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--header-icon-bg);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.pa-info {
    flex: 1;
    min-width: 0
}

.pa-info strong {
    display: block;
    font-size: 14px;
    color: var(--text-main)
}

.pa-info small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.pa-badge {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary-accent);
    background: var(--header-icon-bg);
    padding: 4px 9px;
    border-radius: 99px
}

.pa-check {
    color: var(--border-highlight);
    font-size: 18px
}

.pa-item input:checked+.pa-card {
    border-color: var(--primary-accent);
    background: rgba(37, 99, 235, .07);
    box-shadow: 0 6px 14px rgba(37, 99, 235, .14)
}

.pa-item input:checked+.pa-card .pa-check {
    color: var(--primary-accent)
}

.pa-manage {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-accent);
    text-decoration: none
}

.pa-empty {
    text-align: center;
    padding: 18px;
    border: 1.5px dashed var(--border-highlight);
    border-radius: 14px;
    color: var(--text-muted)
}

.pa-empty i {
    font-size: 28px;
    color: var(--border-highlight)
}

.pa-empty p {
    margin: 6px 0 10px;
    font-size: 13px
}

.pa-add-btn {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 99px;
    background: var(--main-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none
}