/* GlobalTradeSync — Luxury App CSS (Auth + Dashboard) */

@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Page preloader ── */
.preloader-wrapper {
    position: fixed; inset: 0; z-index: 99999;
    background: #0B0E11;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s;
}
.preloader-wrapper.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.lux-loader {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 5px; height: 36px;
}
.lux-loader span {
    display: inline-block; width: 5px; border-radius: 3px;
    background: #F0B90B; transform-origin: bottom center;
    animation: eq-bar 0.85s ease-in-out infinite;
}
.lux-loader span:nth-child(1) { height: 55%; animation-delay: 0s;    }
.lux-loader span:nth-child(2) { height: 90%; animation-delay: 0.13s; }
.lux-loader span:nth-child(3) { height: 40%; animation-delay: 0.26s; }
.lux-loader span:nth-child(4) { height: 75%; animation-delay: 0.39s; }
.lux-loader span:nth-child(5) { height: 55%; animation-delay: 0.52s; }
@font-face {
    font-family: 'AllGenders';
    src: url('/fonts/all-genders-v4/All-Genders-Light-v4.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AllGenders';
    src: url('/fonts/all-genders-v4/All-Genders-Regular-v4.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AllGenders';
    src: url('/fonts/all-genders-v4/All-Genders-Bold-v4.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* Force Cabin everywhere except icon fonts */

* {
    font-family: 'Cabin', sans-serif !important;
}

.ti,
[class*=" ti-"],
[class^="ti-"] {
    font-family: 'tabler-icons' !important;
}



/* Global text size boost — clamp all small text up */

html {
    font-size: 16px;
}

body {
    font-size: 15px;
}

small,
.text-sm,
.text-xs {
    font-size: 13px !important;
}


/* Bump 10px/11px labels to 12px */

[style*="font-size:10px"],
[style*="font-size: 10px"],
[style*="font-size:11px"],
[style*="font-size: 11px"] {
    font-size: 13px !important;
}


/* Bump 12px to 13px */

[style*="font-size:12px"],
[style*="font-size: 12px"] {
    font-size: 14px !important;
}


/* Bump 13px to 15px */

[style*="font-size:13px"],
[style*="font-size: 13px"] {
    font-size: 15px !important;
}


/* ============================================================
   Variables
   ============================================================ */

:root {
    /* ── Gold — pure yellow gold ── */
    --gold: #C9A84C;
    --gold-light: #E2C060;
    --gold-bright: #F0D048;
    --gold-pale: #F7ECBA;
    --gold-dark: #8A6820;
    --gold-glow: rgba(201, 168, 76, 0.12);
    --gold-border: rgba(255, 255, 255, .06);
    --gold-border-md: rgba(255, 255, 255, .1);
    --gold-border-strong: rgba(255, 255, 255, .16);
    --bg-void: #0B0C11;
    --bg-deep: #0B0C11;
    --bg-base: #0B0C11;
    --bg-card: #13141C;
    --bg-raised: #191A25;
    --bg-elevated: #1E2030;
    --text-primary: #FFFFFF;
    --text-secondary: #BCBCBC;
    --text-muted: #808080;
    --text-faint: #3E3A30;
    --green: #4EC87A;
    --red: #DC5252;
    --blue: #5090E0;
    --color-accent: #C9A84C;
    --color-success: #4EC87A;
    --color-warning: #E8A020;
    --color-error: #DC5252;
    --color-info: #5090E0;
    --color-teal: #4EC8C8;
    --color-bg: #0B0C11;
    --color-panel: #0B0C11;
    --color-text: #F5F0E6;
    --color-muted: #7A7060;
    --color-border: rgba(201, 168, 76, 0.16);
    --grad-gold: linear-gradient(135deg, #8A6820 0%, #C9A84C 40%, #E2C060 70%, #C9A84C 100%);
    /* ── Dashboard / app accent (Binance yellow) ── */
    --yw: #F0B90B;
    --yw-dim: rgba(240, 185, 11, 0.12);
    --yw-glow: rgba(240, 185, 11, 0.18);
    --app-bg: #0B0C11;
    --app-bg2: #13141C;
    --app-bg3: #191A25;
    --app-gl: rgba(255, 255, 255, 0.035);
    --app-glb: rgba(255, 255, 255, 0.06);
    --app-fg2: #9499B7;
    --app-fg3: #5A5F7A;
    --font: 'Cabin', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-2xl: 32px;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   Reset
   ============================================================ */

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

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%
}

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

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

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

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

p {
    color: var(--text-primary)
}

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

ul,
ol {
    list-style: none
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 10px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold)
}


/* ============================================================
   Loader
   ============================================================ */

#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-void);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: opacity .5s, visibility .5s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(201, 168, 76, 0.18);
    border-top-color: var(--gold);
    animation: spin 0.9s linear infinite;
}

.loader-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--text-muted);
    text-transform: uppercase;
}

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


/* ============================================================
   Auth page — luxury split screen
   ============================================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
}

/* Kill Bootstrap/browser focus ring inside auth */
.auth-right *:focus {
    outline: none !important;
    box-shadow: none !important;
}
.auth-right .form-control:focus {
    border: 1.5px solid #F0B90B !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Left panel — light/white */
.auth-left {
    flex: 1;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #F5F5F0;
    border-right: 1px solid #E8E4DC;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px;
}

.auth-left::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(240,185,11,.08) 0%, transparent 65%),
                radial-gradient(ellipse 40% 40% at 80% 80%, rgba(240,185,11,.04) 0%, transparent 60%);
}

.auth-left::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(240,185,11,.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(240,185,11,.06) 1px, transparent 1px);
    background-size: 48px 48px;
}

.auth-left__content {
    position: relative;
    z-index: 1;
}

.auth-left__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 56px;
}

.auth-left__logo img {
    height: 36px;
    width: auto;
}

.auth-left__quote {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #1E2329;
    margin-bottom: 20px;
}

.auth-left__quote em {
    font-style: normal;
    color: #F0B90B;
    -webkit-text-fill-color: #F0B90B;
}

.auth-left__sub {
    font-size: 15px;
    line-height: 1.7;
    color: #707A8A;
    max-width: 380px;
    margin-bottom: 40px;
}

.auth-left__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-left__feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: #474D57;
}

.auth-left__feat::before {
    content: '✦';
    color: #F0B90B;
    font-size: 11px;
    flex-shrink: 0;
}

.auth-left__bottom {
    position: absolute;
    bottom: 32px;
    left: 56px;
    right: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    border-top: 1px solid #E0DAD0;
    padding-top: 24px;
}

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

.auth-left__stat-val {
    font-size: 22px;
    font-weight: 800;
    color: #F0B90B;
    letter-spacing: -0.03em;
}

.auth-left__stat-lbl {
    font-size: 11px;
    color: #9DA5AE;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-left__sep {
    width: 1px;
    height: 32px;
    background: #E0DAD0;
}

@media(max-width:991px) {
    .auth-left {
        display: none;
    }
}


/* Right: form panel — dark Binance-style */

.auth-right {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    background: #1E2026;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px;
    overflow-y: auto;
}

@media(max-width:991px) {
    .auth-right {
        max-width: none;
        background: #1E2026;
    }
}

@media(max-width:600px) {
    .auth-right {
        padding: 32px 20px;
    }
}

.auth-right__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 40px;
}

.auth-right__top img {
    height: 32px;
    width: auto;
}

.auth-right__logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.auth-right__logo-link:hover {
    opacity: 1;
}

@media(min-width:992px) {
    .auth-right__top {
        display: flex;
        justify-content: flex-end;
    }
    .auth-right__top .auth-right__logo-link {
        display: none;
    }
}

.auth-right__heading {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.auth-right__sub {
    font-size: 14px;
    color: #848E9C;
    margin-bottom: 32px;
}

/* Tab switcher — pill style */
.auth-tabs-wrap {
    display: flex;
    background: #2B2F36;
    border: none;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 28px;
}

.auth-tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #848E9C;
    cursor: pointer;
    background: none;
    border: none;
    transition: color .25s, background .25s, box-shadow .25s;
}

.auth-tab-btn.active {
    background: #FFFFFF;
    color: #1E2026;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

.auth-panel {
    display: block;
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: opacity .3s ease, max-height .35s ease;
}

.auth-panel.active {
    opacity: 1;
    pointer-events: auto;
    max-height: 2000px;
}

/* Error box */
.auth-errors {
    background: rgba(224,82,82,.08);
    border: 1px solid rgba(224,82,82,.28);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.auth-errors p {
    color: #f87171;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   Form Components — light Binance style
   ============================================================ */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #EAECEF;
    margin-bottom: 8px;
    letter-spacing: 0;
    text-transform: none;
}

.input-wrap {
    position: relative;
}

.input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #474D57;
    font-size: 16px;
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    min-height: 48px;
    background: #2B2F36;
    color: #EAECEF;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 15px;
    transition: border-color 0.18s;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.input-wrap .form-control {
    padding-left: 46px;
}

.form-control:focus {
    border: 1.5px solid #F0B90B;
    background: #2B2F36;
    box-shadow: none !important;
    outline: none !important;
}

.form-control::placeholder {
    color: #474D57 !important;
    opacity: 1;
}

/* Country/phone select */
select.form-control,
#phoneCodeSelect {
    background: #2B2F36 !important;
    color: #EAECEF !important;
    border: 1px solid rgba(255,255,255,.1) !important;
}

select.form-control option,
#phoneCodeSelect option {
    background: #2B2F36 !important;
    color: #EAECEF !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

@media(max-width:480px) {
    .form-row {
        grid-template-columns: 1fr
    }
}


/* ============================================================
   Buttons
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font)
}

.btn-primary {
    background: #F0B90B;
    color: #1E2026;
    box-shadow: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.btn-primary:hover {
    background: #F8D12F;
    transform: none;
    box-shadow: none;
    filter: none;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--gold-border)
}

.btn-secondary:hover {
    border-color: var(--gold-border-md);
    color: var(--gold)
}

.btn-danger {
    background: rgba(224, 82, 82, 0.15);
    color: #f87171;
    border: 1px solid rgba(224, 82, 82, 0.3)
}

.btn-danger:hover {
    background: rgba(224, 82, 82, 0.25)
}

.btn-success {
    background: rgba(82, 200, 122, 0.15);
    color: var(--green);
    border: 1px solid rgba(82, 200, 122, 0.3)
}

.btn-warning {
    background: rgba(240, 160, 48, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(240, 160, 48, 0.3)
}

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

.btn-lg {
    padding: 16px 26px;
    font-size: 15px;
}

.btn-sm {
    padding: 7px 14px !important;
    font-size: 12px !important
}


/* ============================================================
   Card
   ============================================================ */

.card-elevated {
    background: rgba(255, 255, 255, .038);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
    border: none;
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.card-elevated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}


/* ============================================================
   Sidebar layout (used in dashboard)
   ============================================================ */

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 248px;
    flex-shrink: 0;
    background: #0B0C11 !important;
    border-right: 1px solid rgba(255, 255, 255, .05) !important;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
}

.sidebar__logo {
    padding: 22px 20px;
    border-bottom: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar__logo img {
    height: 30px
}

.sidebar__logo-text {
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar__nav {
    padding: 16px 12px;
    flex: 1
}

.sidebar__section {
    margin-bottom: 24px
}

.sidebar__label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 0 8px;
    margin-bottom: 6px;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.25s, background 0.25s;
    cursor: pointer;
}

.sidebar__link i {
    font-size: 17px;
    flex-shrink: 0
}

.sidebar__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .05)
}

.sidebar__link.active {
    color: #F0B90B;
    background: rgba(240, 185, 11, .08);
    border-left: none
}

.sidebar__bottom {
    padding: 16px 12px;
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.main-content {
    flex: 1;
    overflow-x: hidden;
    min-width: 0
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 99;
    background: rgba(11, 12, 17, .92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em
}

.page-content {
    padding: 28px
}

@media(max-width:991px) {
    .page-content {
        padding: 20px 16px
    }
}


/* Stats cards — see full definition in Dashboard section below */


/* ============================================================
   Tables
   ============================================================ */

.lux-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.lux-table {
    width: 100%;
    border-collapse: collapse
}

.lux-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-raised);
    border-bottom: 1px solid var(--gold-border);
}

.lux-table td {
    padding: 13px 16px;
    font-size: 13.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.lux-table tr:hover td {
    background: rgba(201, 168, 76, 0.02)
}


/* ============================================================
   Badges
   ============================================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
}

.badge-pending {
    background: rgba(240, 160, 48, 0.14);
    color: #fbbf24;
    border: 1px solid rgba(240, 160, 48, 0.3)
}

.badge-confirmed {
    background: rgba(82, 200, 122, 0.14);
    color: var(--green);
    border: 1px solid rgba(82, 200, 122, 0.3)
}

.badge-rejected {
    background: rgba(224, 82, 82, 0.14);
    color: #f87171;
    border: 1px solid rgba(224, 82, 82, 0.3)
}

.badge-active {
    background: rgba(201, 168, 76, 0.14);
    color: var(--gold);
    border: 1px solid var(--gold-border-md)
}


/* ============================================================
   Notifications
   ============================================================ */

.flash {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success {
    background: rgba(82, 200, 122, 0.1);
    border: 1px solid rgba(82, 200, 122, 0.3);
    color: var(--green)
}

.flash-error {
    background: rgba(224, 82, 82, 0.1);
    border: 1px solid rgba(224, 82, 82, 0.3);
    color: #f87171
}

.flash-info {
    background: rgba(74, 143, 212, 0.1);
    border: 1px solid rgba(74, 143, 212, 0.3);
    color: var(--blue)
}

.flash-warning {
    background: rgba(240, 160, 48, 0.1);
    border: 1px solid rgba(240, 160, 48, 0.3);
    color: #fbbf24
}


/* ============================================================
   Avatar
   ============================================================ */

.avatar {
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 13px;
}

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

.avatar-md {
    width: 44px;
    height: 44px;
    font-size: 16px
}

.avatar-lg {
    width: 60px;
    height: 60px;
    font-size: 22px
}


/* ============================================================
   KYC Banner
   ============================================================ */

.kyc-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid var(--gold-border-md);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 13.5px;
}

.kyc-banner i {
    color: var(--gold);
    font-size: 20px;
    flex-shrink: 0
}

.kyc-banner a {
    color: var(--gold);
    font-weight: 600
}

.kyc-banner a:hover {
    text-decoration: underline
}


/* ============================================================
   Dropdown
   ============================================================ */

.dropdown {
    position: relative
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #13141C;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 6px;
    min-width: 180px;
    z-index: 200;
    box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05);
    display: none;
}

.dropdown-menu.open {
    display: block
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background: var(--gold-glow);
    color: var(--gold)
}

.dropdown-item--danger:hover {
    background: rgba(224, 82, 82, 0.1);
    color: #f87171
}

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


/* ============================================================
   Gradient helpers
   ============================================================ */

.gradient-primary {
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
    color: #fff !important;
}

.text-gold {
    color: var(--gold)
}

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

.text-green {
    color: var(--green)
}

.text-red {
    color: var(--red)
}

.gold-gradient {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 70%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ============================================================
   Utility
   ============================================================ */

.d-flex {
    display: flex
}

.d-grid {
    display: grid
}

.align-center {
    align-items: center
}

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

.gap-1 {
    gap: 4px
}

.gap-2 {
    gap: 8px
}

.gap-3 {
    gap: 16px
}

.gap-4 {
    gap: 24px
}

.mt-1 {
    margin-top: 8px
}

.mt-2 {
    margin-top: 16px
}

.mt-3 {
    margin-top: 24px
}

.mb-1 {
    margin-bottom: 8px
}

.mb-2 {
    margin-bottom: 16px
}

.mb-3 {
    margin-bottom: 24px
}

.text-center {
    text-align: center
}

.font-bold {
    font-weight: 700
}

.font-medium {
    font-weight: 500
}

.w-full {
    width: 100%
}


/* Global input sizing — Binance standard */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    font-size: 15px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 48px;
    border-radius: 12px !important;
    background-color: #2B2F36 !important;
    color: var(--text-primary) !important;
    color-scheme: dark;
}

select option,
select optgroup {
    background-color: #2B2F36 !important;
    color: var(--text-primary) !important;
}


/* ============================================================
   Sidebar Navigation Classes (used by layout.php)
   ============================================================ */

.logo-section {
    padding: 0 16px;
    height: 60px;
    min-height: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--grad-gold);
    display: grid;
    place-items: center;
}

.logo-text {
    flex: 1;
    min-width: 0
}

.logo-text p:first-child {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text p:last-child {
    font-size: 10px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding: 14px 12px 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
    margin: 1px 4px;
}

.nav-item i,
.nav-item svg {
    font-size: 19px;
    flex-shrink: 0;
    width: 20px
}

.nav-item:hover {
    color: var(--gold);
    background: var(--gold-glow)
}

.nav-item.active {
    color: var(--gold);
    background: var(--gold-glow);
    border-left: 2px solid var(--gold);
    font-weight: 600;
}

.nav-text {
    flex: 1
}


/* ============================================================
   Sidebar Mobile / Responsive
   ============================================================ */


/* ── Overlay — fade + blur, no display:none flicker ── */

#sidebarOverlay {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(2, 2, 2, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#sidebarOverlay.active {
    opacity: 1;
    pointer-events: all
}


/* ── Desktop collapse ── */

.sidebar.collapsed {
    width: 64px
}

.sidebar.collapsed .nav-text,
.sidebar.collapsed .nav-section-title,
.sidebar.collapsed .logo-text {
    display: none
}

.sidebar.collapsed .logo-section {
    justify-content: center;
    padding: 20px 8px
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 12px
}

.sidebar.collapsed .nav-item span.badge {
    display: none
}

.main-content.expanded {
    flex: 1
}


/* ── Mobile drawer ── */

@media (max-width:1024px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-105%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
        z-index: 200;
        box-shadow: none;
    }
    .sidebar.mobile-open {
        transform: translateX(0);
        box-shadow: 6px 0 24px rgba(0, 0, 0, 0.5);
    }
    .mobile-menu-btn {
        display: flex !important
    }
    .sidebar-toggle-btn {
        display: none !important
    }
}


/* ── Animated hamburger button ── */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    padding: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--gold-border);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
}

.mobile-menu-btn:hover {
    border-color: var(--gold);
    background: var(--gold-glow)
}

.hbg-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background 0.2s;
    transform-origin: center;
}

.mobile-menu-btn:hover .hbg-line {
    background: var(--gold)
}

.mobile-menu-btn.open .hbg-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--gold)
}

.mobile-menu-btn.open .hbg-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.mobile-menu-btn.open .hbg-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--gold)
}


/* ── Sidebar close button (inside drawer) ── */

.sidebar-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    margin-left: auto;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.sidebar-close-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-glow)
}


/* ── Desktop toggle ── */

.sidebar-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s, background 0.2s;
}

.sidebar-toggle-btn:hover {
    color: var(--gold);
    background: var(--gold-glow)
}


/* ============================================================
   Topbar Components
   ============================================================ */


/* Right-side actions group */

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}


/* Balance pill */

.balance-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    background: var(--gold-glow);
    border: 1px solid var(--gold-border-md);
    border-radius: 10px;
    padding: 0 14px 0 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.balance-chip i {
    font-size: 13px
}


/* Icon buttons (notification bell etc.) */

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--gold-border);
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: color 0.2s, border-color 0.2s;
    font-size: 15px;
}

.btn-icon:hover {
    color: var(--gold);
    border-color: var(--gold-border-md)
}


/* Notification badge */

.notif-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid var(--bg-void);
}


/* User pill */

.topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px 0 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
    border: none;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
}

.topbar-user:hover {
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.topbar-user__name {
    font-size: 13px;
    font-weight: 600;
    color: #CDD0E0;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-user__caret {
    font-size: 11px;
    color: #5C6080;
    margin-left: 2px;
}

@media(max-width:600px) {
    .topbar {
        padding: 0 12px;
        gap: 6px;
    }
    .topbar-actions {
        gap: 4px;
    }
    .lang-sw__btn span:not(.ti) {
        display: none;
    }
    .lang-sw__btn {
        padding: 0 8px;
    }
}


/* ── Notification panel ── */

.notif-panel {
    min-width: 360px;
    padding: 0 !important;
    overflow: hidden;
}

@media(max-width:600px) {
    .notif-panel {
        position: fixed;
        top: 62px;
        left: 12px;
        right: 12px;
        min-width: 0;
        width: auto;
    }
    .notif-panel__body {
        max-height: 60vh;
    }
}

.notif-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.notif-panel__head span:first-child {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.notif-panel__body {
    max-height: 400px;
    overflow-y: auto;
}

.notif-panel__body::-webkit-scrollbar {
    width: 3px;
}
.notif-panel__body::-webkit-scrollbar-track {
    background: transparent;
}
.notif-panel__body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.08);
    border-radius: 3px;
}

.notif-panel__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 36px 20px;
    color: var(--text-muted);
    font-size: 13px;
}

.notif-panel__empty i {
    font-size: 28px;
    opacity: .3;
}

/* Notification items */
.notif-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 13px !important;
    padding: 13px 18px !important;
    border-radius: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.04) !important;
    background: transparent !important;
    cursor: pointer;
    transition: background .15s;
}

.notif-item:last-child {
    border-bottom: none !important;
}

.notif-item:hover {
    background: rgba(255,255,255,.03) !important;
}

.notif-item--unread {
    background: rgba(240,185,11,.03) !important;
}

.notif-item--unread .notif-item__title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yw);
    margin-right: 7px;
    vertical-align: middle;
    flex-shrink: 0;
}

.notif-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    margin-top: 1px;
}

.notif-item__icon i {
    color: #fff;
    font-size: 14px;
}

.notif-item__body {
    flex: 1;
    min-width: 0;
}

.notif-item__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.notif-item__msg {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
    line-height: 1.5;
    white-space: normal;
}

.notif-item__time {
    font-size: 11px;
    color: var(--text-faint);
    margin-top: 5px;
    letter-spacing: .01em;
}

.admin-top-bar {
    background: rgba(220, 82, 82, 0.08);
    border-bottom: 1px solid rgba(220, 82, 82, 0.2);
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #f87171;
    letter-spacing: .08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-badge {
    background: rgba(220, 82, 82, 0.12);
    border: 1px solid rgba(220, 82, 82, 0.3);
    color: #f87171;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}


/* ============================================================
   Inner Content Wrapper
   ============================================================ */

.inner-content {
    padding: 28px;
    background: var(--bg-deep);
    min-height: calc(100vh - 60px);
}

@media(max-width:991px) {
    .inner-content {
        padding: 18px 14px
    }
}

.main-content {
    background: var(--bg-deep)
}


/* ============================================================
   Interest / Info Banners
   ============================================================ */

.interest-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(78, 200, 122, 0.07);
    border: 1px solid rgba(78, 200, 122, 0.22);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 20px;
}

.interest-banner i {
    color: var(--green);
    font-size: 20px;
    flex-shrink: 0
}

.kyc-banner__text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 3px
}

.kyc-banner__text p {
    font-size: 12.5px;
    color: var(--text-muted)
}


/* ============================================================
   Badge Aliases
   ============================================================ */

.badge-success {
    background: rgba(78, 200, 122, 0.14);
    color: var(--green);
    border: 1px solid rgba(78, 200, 122, 0.3)
}

.badge-danger {
    background: rgba(220, 82, 82, 0.14);
    color: #f87171;
    border: 1px solid rgba(220, 82, 82, 0.3)
}

.badge-warning {
    background: rgba(240, 160, 48, 0.14);
    color: #fbbf24;
    border: 1px solid rgba(240, 160, 48, 0.3)
}

.badge-info {
    background: rgba(80, 144, 224, 0.14);
    color: var(--blue);
    border: 1px solid rgba(80, 144, 224, 0.3)
}

.badge-teal {
    background: rgba(78, 200, 200, 0.14);
    color: #4ec8c8;
    border: 1px solid rgba(78, 200, 200, 0.3)
}

.badge-secondary {
    background: var(--bg-elevated);
    color: var(--text-muted);
    border: 1px solid var(--gold-border)
}


/* ============================================================
   Gradient Color Helpers
   ============================================================ */

.gradient-success {
    background: rgba(14, 203, 129, .12);
    box-shadow: 0 0 0 1px rgba(14, 203, 129, .2);
    color: #0ECB81 !important;
}

.gradient-danger {
    background: rgba(246, 70, 93, .12);
    box-shadow: 0 0 0 1px rgba(246, 70, 93, .2);
    color: #F6465D !important;
}

.gradient-warning {
    background: rgba(240, 185, 11, .12);
    box-shadow: 0 0 0 1px rgba(240, 185, 11, .2);
    color: #F0B90B !important;
}

.gradient-info {
    background: rgba(80, 144, 224, .12);
    box-shadow: 0 0 0 1px rgba(80, 144, 224, .2);
    color: #5090E0 !important;
}

.gradient-interest {
    background: rgba(240, 185, 11, .12);
    box-shadow: 0 0 0 1px rgba(240, 185, 11, .2);
    color: #F0B90B !important;
}

.gradient-secondary {
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .09);
    color: #8B91B5 !important;
}

.gradient-defi {
    background: linear-gradient(135deg, #3A2A8B, #7A5CE0)
}

.gradient-teal {
    background: linear-gradient(135deg, #1A5C5C, #3EB8B8)
}


/* ============================================================
   Trader Cards
   ============================================================ */

.trader-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.trader-card:hover {
    border-color: var(--gold-border-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25)
}

.bar-crypto {
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold))
}

.bar-forex {
    height: 3px;
    background: linear-gradient(90deg, #254D8B, #5090E0)
}

.bar-stocks {
    height: 3px;
    background: linear-gradient(90deg, #1E7A42, #4EC87A)
}

.bar-indices {
    height: 3px;
    background: linear-gradient(90deg, #8B5C10, #E8A020)
}

.trader-card__body {
    padding: 20px
}

.trader-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .09);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.cat-crypto {
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold)
}

.cat-forex {
    background: rgba(80, 144, 224, 0.12);
    color: var(--blue)
}

.cat-stocks {
    background: rgba(78, 200, 122, 0.12);
    color: var(--green)
}

.cat-indices {
    background: rgba(232, 160, 32, 0.12);
    color: #fbbf24
}

.profit-box {
    flex: 1;
    min-width: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    padding: 8px;
}

.profit-green {
    border-color: rgba(255,255,255,.07);
    background: rgba(255,255,255,.03)
}

.profit-interest {
    border-color: rgba(255,255,255,.07);
    background: rgba(255,255,255,.03)
}

.profit-box__label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.profit-box__val {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.profit-green .profit-box__val {
    color: var(--green)
}

.profit-interest .profit-box__val {
    color: var(--gold)
}

.tstat {
    background: var(--bg-elevated);
    border-radius: 8px;
    padding: 8px;
    text-align: center
}

.tstat__label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px
}

.tstat__val {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary)
}

.risk-low {
    color: var(--green) !important
}

.risk-medium {
    color: #fbbf24 !important
}

.risk-high {
    color: var(--red) !important
}

.win-bar {
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 20px;
    overflow: hidden
}

.win-bar-fill {
    height: 100%;
    background: var(--grad-gold);
    border-radius: 20px
}

.daily-rate-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(201, 168, 76, 0.14);
    border: 1px solid var(--gold-border-md);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
}


/* ============================================================
   Bot / Copy Cards
   ============================================================ */

.bot-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.bot-card__body {
    padding: 20px
}

.bot-status {
    display: flex;
    align-items: center;
    gap: 6px
}

.bot-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.bot-status-dot.active {
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(78, 200, 122, 0.25);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(78, 200, 122, 0.25)
    }
    50% {
        box-shadow: 0 0 0 6px rgba(78, 200, 122, 0.1)
    }
}


/* ============================================================
   Tab System
   ============================================================ */

.tab-container {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.tab-button {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    font-family: var(--font);
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.tab-button.active {
    color: var(--gold);
    background: var(--bg-elevated);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tab-button:hover:not(.active) {
    color: var(--text-primary)
}

.tab-content {
    display: none
}

.tab-content.active {
    display: block
}

.hide-scrollbar {
    scrollbar-width: none
}

.hide-scrollbar::-webkit-scrollbar {
    display: none
}


/* ============================================================
   Tables
   ============================================================ */

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
}

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

.data-table th {
    padding: 11px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-raised);
    border-bottom: 1px solid var(--gold-border);
    white-space: nowrap;
}

.data-table td {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

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

.data-table tr:hover td {
    background: rgba(201, 168, 76, 0.02)
}


/* ============================================================
   Empty State
   ============================================================ */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-secondary)
}

.empty-state p {
    font-size: 13.5px
}

.empty-state .btn {
    align-self: center;
    width: auto !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
}


/* ============================================================
   Deposit / Form Extras
   ============================================================ */

.crypto-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.crypto-badge {
    padding: 7px 14px;
    border-radius: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--gold-border);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.crypto-badge:hover {
    color: var(--gold);
    border-color: var(--gold-border-md)
}

.crypto-badge.selected {
    background: var(--gold-glow);
    color: var(--gold);
    border-color: var(--gold-border-md);
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.12);
}

.wallet-box {
    background: var(--bg-elevated);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 10px;
}

.filter-chip {
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: all 0.18s;
}

.filter-chip:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.filter-chip.active {
    background: rgba(240, 185, 11, .12);
    box-shadow: 0 0 0 1px rgba(240, 185, 11, .25);
    color: #F0B90B;
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5;
}


/* ============================================================
   Modals / Overlays
   ============================================================ */

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 500;
    align-items: center;
    justify-content: center;
}

.overlay.open {
    display: flex
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 480px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    position: relative;
}

.modal h2 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--red)
}


/* ============================================================
   File Upload
   ============================================================ */

.upload-area {
    border: 2px dashed var(--gold-border);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-elevated);
    transition: all 0.2s;
    color: var(--text-muted);
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--gold-border-md);
    background: var(--gold-glow);
}

.upload-name {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px
}


/* ============================================================
   Mobile-only / responsive helpers
   ============================================================ */

.mobile-only {
    display: none !important
}

@media(max-width:1024px) {
    .mobile-only {
        display: flex !important
    }
}


/* ============================================================
   Progress Bar (earnings breakdown)
   ============================================================ */

.progress-bar {
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.6s ease;
}


/* ============================================================
   Pagination
   ============================================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gold-border);
}

.page-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--gold-border);
    background: var(--bg-elevated);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.page-btn:hover {
    color: var(--gold);
    border-color: var(--gold-border-md)
}

.page-btn.active {
    background: var(--grad-gold);
    color: #0C0700;
    border-color: transparent
}


/* ============================================================
   Stats Grid alias (legacy pages)
   ============================================================ */

.stats-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.stats-card {
    padding: 22px;
}


/* ============================================================
   Select / form-control without icon padding
   ============================================================ */

select.form-control {
    padding-left: 14px
}


/* ============================================================
   Dashboard — Page Header
   ============================================================ */

.dash-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.dash-page-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dash-page-sub {
    font-size: 13.5px;
    color: var(--text-muted)
}

.dash-page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}


/* ============================================================
   Dashboard — Portfolio Hero
   ============================================================ */

.portfolio-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.09) 0%, rgba(201, 168, 76, 0.03) 60%, transparent 100%);
    border: 1px solid var(--gold-border-md);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.portfolio-hero__glow {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.portfolio-hero__left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.portfolio-hero__icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    flex-shrink: 0;
    background: var(--grad-gold);
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #0C0700;
    box-shadow: 0 2px 10px rgba(201, 168, 76, 0.15);
}

.portfolio-hero__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.portfolio-hero__value {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
}

.portfolio-hero__right {
    display: flex;
    gap: 10px;
    flex-shrink: 0
}

@media(max-width:600px) {
    .portfolio-hero {
        padding: 20px
    }
    .portfolio-hero__right {
        display: none
    }
}


/* ============================================================
   Stats Row — 4 columns desktop, 2 tablet, 1 mobile
   ============================================================ */

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

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

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.02) 0%, transparent 60%);
}

.stat-card:hover {
    border-color: var(--gold-border-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.stat-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.stat-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .4);
    display: grid;
    place-items: center;
    font-size: 16px;
}

.stat-card__label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.stat-card__value {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card__change {
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
}

.stat-card__change.up {
    color: var(--green)
}

.stat-card__change.down {
    color: var(--red)
}


/* ============================================================
   Card Elevated — header / title helpers
   ============================================================ */

.card-elevated__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.card-elevated__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.card-elevated__link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.card-elevated__link:hover {
    opacity: .75
}


/* ============================================================
   Dashboard Overview Grid
   ============================================================ */

.dash-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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


/* ============================================================
   Copy Row (inside Active Copy Trades card)
   ============================================================ */

.copy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold-border);
    background: var(--bg-raised);
    transition: border-color 0.2s;
}

.copy-row:hover {
    border-color: var(--gold-border-md)
}


/* ============================================================
   Quick Actions
   ============================================================ */

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

@media(max-width:400px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 12px 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold-border);
    background: var(--bg-raised);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    cursor: pointer;
}

.quick-action-btn:hover {
    border-color: var(--gold-border-md);
    background: var(--gold-glow);
    color: var(--gold)
}

.quick-action-btn__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #fff;
}


/* ============================================================
   Activity Row (recent transactions mini-list)
   ============================================================ */

.activity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.activity-row:last-child {
    border-bottom: none
}

.activity-row__icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 12px;
    color: #fff;
}


/* ============================================================
   Traders + Copies Grids
   ============================================================ */

.traders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}

.copies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}


/* ============================================================
   Tab Section Header
   ============================================================ */

.tab-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab-section-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}


/* ============================================================
   Sidebar — Profile Block & Deposit Button (Stakent style)
   ============================================================ */

.sb-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 14px;
    border-bottom: 1px solid var(--gold-border);
    margin-bottom: 8px;
}

.sb-profile__avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    color: #0C0700;
}

.sb-profile__info {
    flex: 1;
    min-width: 0
}

.sb-profile__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sb-profile__email {
    font-size: 10.5px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 1px;
}

.sb-profile__badge {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
    background: var(--grad-gold);
    color: #0C0700;
    border-radius: 20px;
    padding: 2px 8px;
    flex-shrink: 0;
}

.sb-deposit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: var(--grad-gold);
    color: #0C0700;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font);
    transition: filter .2s, transform .2s;
    text-decoration: none;
}

.sb-deposit-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}


/* Active positions sub-list in sidebar */

.sb-positions {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sb-position-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background .15s;
    cursor: pointer;
}

.sb-position-item:hover {
    background: rgba(201, 168, 76, .05);
}

.sb-position-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 2px rgba(78, 200, 122, .2);
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

.sb-position-name {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.sb-position-val {
    font-size: 10.5px;
    color: var(--green);
    margin-top: 1px;
}


/* Collapse sidebar: hide profile, deposit, positions */

.sidebar.collapsed .sb-profile,
.sidebar.collapsed .sb-positions,
.sidebar.collapsed .sb-deposit-btn {
    display: none;
}


/* ============================================================
   APP-WIDE THEME — Binance Yellow + Dark Glass
   Overrides legacy gold/luxury vars for all authenticated pages
   ============================================================ */


/* 1. Re-map colour tokens so every page picks up the new palette */

:root {
    --gold: #F0B90B;
    --gold-light: #F5CC33;
    --gold-bright: #FFD700;
    --gold-pale: #FFF3C4;
    --gold-dark: #B38700;
    --gold-glow: rgba(240, 185, 11, 0.12);
    --gold-border: rgba(255, 255, 255, 0.07);
    --gold-border-md: rgba(255, 255, 255, 0.12);
    --gold-border-strong: rgba(255, 255, 255, 0.2);
    --grad-gold: linear-gradient(135deg, #B38700 0%, #F0B90B 50%, #FFD700 100%);
    --bg-void: #0A0B0F;
    --bg-deep: #0D0E14;
    --bg-base: #0D0E14;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-raised: rgba(255, 255, 255, 0.055);
    --bg-elevated: rgba(255, 255, 255, 0.07);
    --text-primary: #ffffff;
    --text-secondary: #9499B7;
    --text-muted: #5A5F7A;
    --text-faint: #2E3048;
    --color-border: rgba(255, 255, 255, 0.07);
    --color-accent: #F0B90B;
}


/* 2. Layout shells */

body {
    background: var(--bg-base) !important;
}

.main-content {
    background: var(--bg-deep) !important;
}

.inner-content {
    background: var(--bg-deep) !important;
}


/* 3. Sidebar */

.sidebar {
    background: #13141C !important;
    border-right: 1px solid rgba(255, 255, 255, .05) !important;
}

.nav-item {
    color: #9499B7 !important;
    border-left: none !important;
    border-radius: 10px !important;
}

.nav-item:hover {
    background: rgba(255, 255, 255, .04) !important;
    color: #fff !important;
}

.nav-item.active {
    background: rgba(240, 185, 11, .1) !important;
    color: var(--yw) !important;
    border-left: none !important;
    font-weight: 700 !important;
}

.nav-section-title {
    color: #5A5F7A !important;
}


/* 4. Topbar (legacy) */

.topbar {
    background: #13141C !important;
    border-bottom: 1px solid rgba(255, 255, 255, .05) !important;
    box-shadow: none !important;
}


/* 5. Cards — glass style, no hard border */

.card,
.sidebar-card,
.stats-card,
.info-card,
.plan-card,
.trader-card,
.earn-card,
.profile-card,
.bot-card {
    background: rgba(255, 255, 255, .04) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 28px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05) !important;
    border-radius: 16px !important;
    transition: box-shadow .2s !important;
}

.card:hover,
.sidebar-card:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 32px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}


/* Card headers/footers — remove harsh borders */

.card-header,
.sidebar-card__title,
.wallet-card__head {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .06) !important;
}

.card-footer {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .06) !important;
}


/* Inner-card backgrounds */

.wallet-card__addr-text,
.form-control,
select.form-control {
    background: #2B2F36 !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 12px !important;
    color: #EAECEF !important;
    color-scheme: dark;
}

select.form-control option,
select.form-control optgroup,
select.form-input option,
select.form-input optgroup {
    background-color: #2B2F36 !important;
    color: #EAECEF !important;
}

.wallet-card__addr {
    background: transparent !important;
}

.form-control:focus {
    border: 1.5px solid #F0B90B !important;
    box-shadow: none !important;
    outline: none !important;
}

.form-label {
    color: #9499B7 !important;
}


/* Input-wrap icon */

.input-wrap i {
    color: #5A5F7A !important;
}


/* 6. Buttons */

.btn-primary,
.btn.btn-primary {
    background: var(--yw) !important;
    border-color: var(--yw) !important;
    color: #0C0A00 !important;
    font-weight: 800 !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
    opacity: .88 !important;
    background: var(--yw) !important;
}

.btn-secondary,
.btn.btn-secondary {
    background: rgba(255, 255, 255, .06) !important;
    border-color: rgba(255, 255, 255, .1) !important;
    color: #9499B7 !important;
}

.btn-secondary:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .18) !important;
    background: rgba(255, 255, 255, .1) !important;
}

.btn-outline-gold,
.btn-gold {
    background: var(--yw) !important;
    color: #0C0A00 !important;
    border-color: var(--yw) !important;
    font-weight: 800 !important;
}


/* 7. Coin / filter / quick chips */

.coin-btn,
.quick-chip,
.filter-chip,
.plan-chip {
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(255, 255, 255, .07) !important;
    color: #9499B7 !important;
}

.coin-btn:hover,
.quick-chip:hover {
    border-color: rgba(240, 185, 11, .4) !important;
    color: var(--yw) !important;
    background: rgba(240, 185, 11, .08) !important;
}

.coin-btn.active,
.quick-chip.active {
    background: rgba(240, 185, 11, .12) !important;
    border-color: rgba(240, 185, 11, .45) !important;
    color: var(--yw) !important;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, .1) !important;
}

.coin-btn__icon {
    background: rgba(255, 255, 255, .05) !important;
    border-color: rgba(255, 255, 255, .08) !important;
    color: var(--yw) !important;
}


/* 8. How-to step numbers */

.how-step-dep__num,
.step-num {
    background: var(--yw) !important;
    color: #0C0A00 !important;
}


/* 9. Wallet / rate row dots */

.rate-row__dot,
.status-dot {
    background: var(--yw) !important;
}

.rate-row {
    border-color: rgba(255, 255, 255, .05) !important;
}

.rate-row__price {
    color: #9499B7 !important;
}


/* 10. QR frame */

.qr-frame {
    border-color: var(--yw) !important;
    box-shadow: 0 0 0 6px rgba(240, 185, 11, .1) !important;
}


/* 11. Tables */

.data-table thead th,
.app-table thead th {
    background: rgba(255, 255, 255, .03) !important;
    color: #5A5F7A !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: .07em;
    border-bottom: 1px solid rgba(255, 255, 255, .05) !important;
    border-top: none !important;
}

.data-table tbody td,
.app-table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, .03) !important;
    color: #fff !important;
}

.data-table tbody tr:hover td,
.app-table tbody tr:hover td {
    background: rgba(255, 255, 255, .025) !important;
}


/* 12. Badges */

.badge-gold,
.badge-primary {
    background: rgba(240, 185, 11, .15) !important;
    color: var(--yw) !important;
    border: 1px solid rgba(240, 185, 11, .25) !important;
}

.badge-success {
    background: rgba(22, 199, 132, .12) !important;
    color: #16C784 !important;
}

.badge-danger {
    background: rgba(234, 57, 67, .12) !important;
    color: #EA3943 !important;
}

.badge-warning {
    background: rgba(240, 185, 11, .12) !important;
    color: var(--yw) !important;
}

.badge-info {
    background: rgba(80, 144, 224, .12) !important;
    color: #5090E0 !important;
}


/* 13. Alerts */

.alert {
    border-radius: 12px !important;
    border: none !important;
}

.alert-success {
    background: rgba(22, 199, 132, .07) !important;
    color: #16C784 !important;
    box-shadow: 0 0 0 1px rgba(22, 199, 132, .2) !important;
}

.alert-danger {
    background: rgba(234, 57, 67, .07) !important;
    color: #EA3943 !important;
    box-shadow: 0 0 0 1px rgba(234, 57, 67, .2) !important;
}

.alert-warning {
    background: rgba(240, 185, 11, .07) !important;
    color: var(--yw) !important;
    box-shadow: 0 0 0 1px rgba(240, 185, 11, .2) !important;
}

.alert-info {
    background: rgba(80, 144, 224, .07) !important;
    color: #5090E0 !important;
    box-shadow: 0 0 0 1px rgba(80, 144, 224, .2) !important;
}


/* 14. Dropdown menus */

.dropdown-item {
    color: var(--text-secondary) !important;
    border-radius: 8px !important;
    background: transparent !important;
}

.dropdown-item:hover {
    background: rgba(255,255,255,.05) !important;
    color: #fff !important;
}

/* Notification panel overrides */
.notif-panel .dropdown-item {
    border-radius: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, .05) !important;
    color: #fff !important;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, .06) !important;
}


/* 15. Modal */

.modal-content {
    background: #13141C !important;
    border: 1px solid rgba(255, 255, 255, .07) !important;
    border-radius: 16px !important;
}

.modal-header {
    border-color: rgba(255, 255, 255, .06) !important;
}

.modal-footer {
    border-color: rgba(255, 255, 255, .06) !important;
}


/* 16. Pagination */

.page-link {
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(255, 255, 255, .07) !important;
    color: #9499B7 !important;
}

.page-link:hover {
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
}

.page-item.active .page-link {
    background: var(--yw) !important;
    border-color: var(--yw) !important;
    color: #0C0A00 !important;
    font-weight: 800 !important;
}


/* 17. Utility helpers */

.app-card {
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 28px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.btn-yw {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--yw);
    color: #0C0A00;
    padding: 10px 22px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity .18s;
}

.btn-yw:hover {
    opacity: .88;
}

.badge-yw {
    background: rgba(240, 185, 11, .12);
    color: var(--yw);
    border: 1px solid rgba(240, 185, 11, .25);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
}


/* 18. Flash / page-level notice strip */

.flash-success {
    background: rgba(22, 199, 132, .07);
    box-shadow: 0 0 0 1px rgba(22, 199, 132, .2);
    color: #16C784;
    border-radius: 10px;
    padding: 12px 16px;
}

.flash-error {
    background: rgba(234, 57, 67, .07);
    box-shadow: 0 0 0 1px rgba(234, 57, 67, .2);
    color: #EA3943;
    border-radius: 10px;
    padding: 12px 16px;
}


/* 19. Section headers / page titles */

.page-title,
.section-title,
h1.page-h {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.03em;
}

.page-sub {
    font-size: 13.5px;
    color: #9499B7;
}


/* 20. Stat cards (transactions.php, earnings.php, my-copies.php etc.) */

.stat-card,
.card-elevated {
    background: rgba(255, 255, 255, .04) !important;
    border: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 24px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05) !important;
    border-radius: 16px !important;
}

.stat-card__header {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .05) !important;
}

.stat-card__icon {
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .05) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) !important;
    color: rgba(255, 255, 255, .4) !important;
    border: none !important;
}

.stat-card__label {
    color: #9499B7 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.stat-card__value {
    font-weight: 800 !important;
    letter-spacing: -.03em;
    color: #fff !important;
}

.stat-card__change {
    font-size: 12px !important;
    color: #5A5F7A;
}

.stat-card__change.up {
    color: #16C784 !important;
}

.stat-card__change.down {
    color: #EA3943 !important;
}


/* 21. Dash page header */

.dash-page-header {
    margin-bottom: 24px;
}

.dash-page-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff !important;
    letter-spacing: -.03em;
}

.dash-page-sub {
    font-size: 13.5px;
    color: #9499B7 !important;
}


/* 22. Stats row */

.stats-row {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}


/* 23. Balance banner (withdraw.php) */

.bal-banner {
    background: rgba(255, 255, 255, .04) !important;
    border: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) !important;
    border-radius: 14px !important;
}

.bal-banner__label {
    color: #9499B7 !important;
}

.bal-banner__value {
    color: #fff !important;
    font-weight: 900 !important;
}

.bal-banner__icon {
    color: var(--yw) !important;
    opacity: .5;
}


/* 24. Pct chips / wallet input card */

.pct-chip {
    background: rgba(255, 255, 255, .04) !important;
    border-color: rgba(255, 255, 255, .07) !important;
    color: #9499B7 !important;
    border-radius: 20px !important;
    padding: 5px 14px !important;
    font-weight: 600 !important;
    transition: .2s !important;
}

.pct-chip:hover {
    border-color: rgba(240, 185, 11, .4) !important;
    color: var(--yw) !important;
    background: rgba(240, 185, 11, .08) !important;
}

.wallet-input-card {
    background: rgba(255, 255, 255, .04) !important;
    border: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) !important;
    border-radius: 14px !important;
}

.wallet-input-card__head {
    border-color: rgba(255, 255, 255, .05) !important;
    background: transparent !important;
}


/* 25. Info rows (withdraw sidebar) */

.info-row {
    border-color: rgba(255, 255, 255, .05) !important;
}

.info-row__label {
    color: #9499B7 !important;
}

.info-row__value {
    color: #fff !important;
    font-weight: 700 !important;
}


/* 26. Wallet warning strip */

.wallet-warning {
    background: rgba(240, 185, 11, .06) !important;
    border-color: rgba(240, 185, 11, .18) !important;
    color: #B38700 !important;
}


/* 27. Copy trading page — trader-card overrides */

.trader-card {
    border-radius: 16px !important;
    overflow: hidden;
}


/* 28. Profile / KYC / referral form sections */

.profile-section,
.kyc-section {
    background: rgba(255, 255, 255, .04) !important;
    border: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 6px 20px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
    border-radius: 16px !important;
}


/* 29. Referral card */

.referral-card,
.ref-card {
    background: rgba(255, 255, 255, .04) !important;
    border: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 8px 24px rgba(0, 0, 0, .28) !important;
    border-radius: 16px !important;
}

.ref-link-box,
.referral-link-box {
    background: rgba(255, 255, 255, .03) !important;
    border-color: rgba(255, 255, 255, .07) !important;
    border-radius: 10px !important;
}


/* 30. Scrollbar — yellow thumb */

::-webkit-scrollbar-thumb {
    background: rgba(240, 185, 11, .35) !important;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yw) !important;
}


/* 31. SweetAlert2 dialog */

.swal2-popup {
    background: #13141C !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
}

.swal2-title,
.swal2-html-container {
    color: #fff !important;
}

.swal2-confirm {
    background: var(--yw) !important;
    color: #0C0A00 !important;
    font-weight: 800 !important;
}

.swal2-cancel {
    background: rgba(255, 255, 255, .07) !important;
    color: #9499B7 !important;
}


/* 32. Topbar user avatar (sidebar profile block) */

.sb-profile__avatar {
    background: linear-gradient(135deg, #B38700, #F0B90B) !important;
    color: #0C0A00 !important;
}

.sb-deposit-btn {
    background: var(--yw) !important;
    color: #0C0A00 !important;
    font-weight: 800 !important;
}

.sb-deposit-btn:hover {
    opacity: .88 !important;
}


/* ============================================================
   Global Layout — background / sidebar / topbar
   ============================================================ */

body,
.main-content,
.inner-content {
    background: #0B0C11 !important;
}

.inner-content {
    padding: 20px !important;
    min-height: 0 !important;
}


/* Global ambient gradient — applied to all pages, same as dashboard */

.main-content {
    position: relative !important;
}

.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 248px;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 35% at 75% -5%, rgba(240, 185, 11, .05) 0%, transparent 65%), radial-gradient(ellipse 35% 25% at 5% 90%, rgba(14, 203, 129, .03) 0%, transparent 60%);
}

.sidebar.collapsed~.main-content::before {
    left: 64px
}

@media(max-width:991px) {
    .main-content::before {
        left: 0
    }
}

.inner-content {
    position: relative !important;
    z-index: 100 !important;
}

.sidebar {
    background: #0B0C11 !important;
    border-right: 1px solid rgba(255, 255, 255, .05) !important;
}

.nav-section-title {
    color: #5C6080 !important;
    font-size: 11px !important;
    letter-spacing: .12em;
}

.nav-item {
    color: #8B91B5 !important;
    border-left: none !important;
    border-radius: 8px !important;
    margin: 1px 8px !important;
    transition: .15s !important;
    font-size: 15px !important;
}

.nav-item:hover {
    background: rgba(255, 255, 255, .04) !important;
    color: #fff !important;
}

.nav-item.active {
    background: rgba(240, 185, 11, .1) !important;
    color: #F0B90B !important;
    border-left: none !important;
    font-weight: 700 !important;
}

.topbar {
    background: rgba(11, 12, 17, .92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .05) !important;
    box-shadow: none !important;
    height: 60px !important;
}


/* ============================================================
   Global Glass Card (.gc) — used on dashboard
   ============================================================ */

.gc {
    background: rgba(255, 255, 255, .038);
    border: none;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: box-shadow .2s;
}

.gc:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 36px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .08);
}


/* ============================================================
   Global colour tokens used across all pages
   ============================================================ */

:root {
    --yw: #F0B90B;
    --ywdim: rgba(240, 185, 11, .1);
    --grn: #0ECB81;
    --red: #F6465D;
    --sec: #8B91B5;
    --muted: #5C6080;
    --bdr2: rgba(255, 255, 255, .04);
    --card: rgba(255, 255, 255, .038);
    --bdr: rgba(255, 255, 255, .07);
}

.up {
    color: #0ECB81 !important;
}

.dn {
    color: #F6465D !important;
}

.neu {
    color: #5C6080 !important;
}


/* ============================================================
   Dashboard ticker strip
   ============================================================ */

.db-ticker {
    height: 36px;
    background: #0B0C11;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.db-ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.db-ticker-inner:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-50%)
    }
}

.db-tick {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    border-right: 1px solid rgba(255, 255, 255, .04);
    font-size: 12px;
    height: 36px;
}

.db-tick__sym {
    font-weight: 800;
    color: #fff;
    font-size: 11.5px;
}

.db-tick__price {
    color: #8B91B5;
    font-size: 11.5px;
}

.db-tick__chg {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
}

.db-tick__up {
    color: #0ECB81;
    background: rgba(14, 203, 129, .1);
}

.db-tick__dn {
    color: #F6465D;
    background: rgba(246, 70, 93, .1);
}


/* ============================================================
   Dashboard body + ambient glow
   ============================================================ */

.db-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 248px;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 35% at 75% -5%, rgba(240, 185, 11, .05) 0%, transparent 65%), radial-gradient(ellipse 35% 25% at 5% 90%, rgba(14, 203, 129, .03) 0%, transparent 60%);
}

.db-body {
    padding: 20px;
    position: relative;
    z-index: 1;
}

@media(max-width:600px) {
    .db-body {
        padding: 16px 0 0;
    }
}


/* ============================================================
   Dashboard — hero portfolio card
   ============================================================ */

.db-hero {
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, .025);
    border: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
    border-radius: 14px;
}

.db-hero-left {
    flex: 1;
    min-width: 200px;
}

.db-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: #5C6080;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.db-hero-eyebrow span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0ECB81;
    box-shadow: 0 0 6px #0ECB81;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%,
    100% {
        opacity: 1
    }
    50% {
        opacity: .4
    }
}

.db-hero-val {
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.05em;
    line-height: 1.1;
}

.db-hero-sub {
    font-size: 13px;
    color: #8B91B5;
    margin-top: 6px;
}

.db-hero-chg {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-top: 8px;
}

.db-hero-chg.up {
    color: #0ECB81;
    background: rgba(14, 203, 129, .1);
    box-shadow: 0 0 0 1px rgba(14, 203, 129, .18);
}

.db-hero-chg.dn {
    color: #F6465D;
    background: rgba(246, 70, 93, .1);
    box-shadow: 0 0 0 1px rgba(246, 70, 93, .18);
}

.db-hero-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

@media(max-width:600px) {
    .db-hero {
        padding: 18px;
        gap: 16px;
    }
    .db-hero-val {
        font-size: 30px;
    }
    .db-hero-right {
        width: 100%;
    }
    .db-hero-right .db-btn {
        flex: 1;
        justify-content: center;
    }
    .db-stat {
        padding: 14px 16px;
    }
    .db-stat__val {
        font-size: 21px;
    }
    .db-chart-card {
        padding: 16px 14px 10px;
    }
}


/* ============================================================
   Dashboard — stat strip
   ============================================================ */

.db-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

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

@media(max-width:520px) {
    .db-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.db-stat {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.db-stat__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.db-stat__label {
    font-size: 11px;
    font-weight: 700;
    color: #5C6080;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.db-stat__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 15px;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .4);
}

.db-stat__val {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1;
}

.db-stat__foot {
    font-size: 11.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5C6080;
}


/* ============================================================
   Dashboard — 2-col main grid
   ============================================================ */

.db-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 14px;
    margin-bottom: 14px;
}

@media(max-width:1200px) {
    .db-main {
        grid-template-columns: 1fr 280px
    }
}

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


/* ============================================================
   Dashboard — chart card
   ============================================================ */

.db-chart-card {
    padding: 20px 22px 14px;
}

.db-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.db-chart-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.db-chart-sub {
    font-size: 12px;
    color: #5C6080;
    margin-top: 2px;
}

.db-chart-wrap {
    height: 200px;
}

.db-period-pills {
    display: flex;
    gap: 4px;
}

.db-period-pill {
    padding: 4px 11px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #5C6080;
    background: none;
    border: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06);
    cursor: pointer;
    font-family: var(--font);
    transition: .18s;
}

.db-period-pill.active {
    background: rgba(240, 185, 11, .1);
    color: #F0B90B;
    box-shadow: 0 0 0 1px rgba(240, 185, 11, .3);
}


/* ============================================================
   Dashboard — right panel
   ============================================================ */

.db-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.db-mkt {
    padding: 16px 18px;
}

.db-mkt-head {
    font-size: 12.5px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-mkt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.db-mkt-row:last-child {
    border-bottom: none;
}

.db-mkt-sym {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.db-mkt-name {
    font-size: 11px;
    color: #5C6080;
    margin-top: 1px;
}

.db-mkt-price {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

.db-mkt-chg {
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
    text-align: right;
}

.db-coin-dot {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}


/* ============================================================
   Dashboard — investment CTA card
   ============================================================ */

.db-plan-btn {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, .025);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
    border: none;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    transition: .2s;
}

.db-plan-btn:hover {
    box-shadow: 0 0 0 1px rgba(240, 185, 11, .2);
    background: rgba(240, 185, 11, .05);
}

.db-plan-btn__label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(240, 185, 11, .55);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.db-plan-btn__title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.db-plan-btn__sub {
    font-size: 12px;
    color: #8B91B5;
}

.db-plan-btn__arrow {
    color: #F0B90B;
    font-size: 18px;
}


/* ============================================================
   Dashboard — tabs
   ============================================================ */

.db-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    margin-bottom: 16px;
}

.db-tab {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #5C6080;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: .18s;
}

.db-tab.active {
    color: #F0B90B;
    border-bottom-color: #F0B90B;
}

.db-tab:hover:not(.active) {
    color: #8B91B5;
}

.db-panel {
    display: none;
}

.db-panel.active {
    display: block;
}


/* ============================================================
   Dashboard — investments list
   ============================================================ */

.db-inv-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.db-inv-item {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.db-inv-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .4);
}

.db-inv-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.db-inv-meta {
    font-size: 11.5px;
    color: #5C6080;
}

.db-inv-right {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

.db-inv-profit {
    font-size: 15px;
    font-weight: 900;
    color: #0ECB81;
}

.db-inv-roi {
    font-size: 11px;
    color: #5C6080;
    margin-top: 2px;
}

.db-inv-prog {
    height: 3px;
    background: rgba(255, 255, 255, .06);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.db-inv-prog-fill {
    height: 100%;
    background: #F0B90B;
    border-radius: 3px;
    transition: width .4s;
}


/* ============================================================
   Dashboard — trader cards
   ============================================================ */

.db-traders {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

@media(max-width:900px) {
    .db-traders {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:560px) {
    .db-traders {
        grid-template-columns: 1fr
    }
}

.db-tc {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.db-tc-av {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .5);
}

.db-tc-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
}

.db-tc-cat {
    font-size: 11px;
    color: #5C6080;
    margin-top: 1px;
}

.db-tc-rate {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1.1;
    color: #F0B90B;
}

.db-tc-meta {
    font-size: 11.5px;
    color: #5C6080;
}

.db-tc-chart {
    height: 56px;
}

.db-tc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    font-size: 12px;
}

.db-copy-btn {
    padding: 5px 14px;
    border-radius: 6px;
    background: rgba(240, 185, 11, .1);
    color: #F0B90B;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(240, 185, 11, .2);
    transition: .18s;
}

.db-copy-btn:hover {
    background: #F0B90B;
    color: #0C0A00;
}


/* ============================================================
   Dashboard — recent transactions
   ============================================================ */

.db-txn {
    overflow: hidden;
}

.db-txn-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.db-txn-title {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.db-txn-link {
    font-size: 12px;
    color: #F0B90B;
    font-weight: 700;
    text-decoration: none;
}

.db-txn-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    transition: .15s;
}

.db-txn-row:last-child {
    border-bottom: none;
}

.db-txn-row:hover {
    background: rgba(255, 255, 255, .02);
}

.db-txn-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .4);
}

.db-txn-type {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.db-txn-coin {
    font-size: 11.5px;
    color: #5C6080;
    margin-top: 1px;
}

.db-txn-amount {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

.db-txn-usd {
    font-size: 14px;
    font-weight: 800;
}

.db-txn-date {
    font-size: 11px;
    color: #5C6080;
    margin-top: 1px;
}

.db-txn-status {
    flex-shrink: 0;
}

.db-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
}

.db-badge-ok {
    background: rgba(14, 203, 129, .1);
    color: #0ECB81;
}

.db-badge-pnd {
    background: rgba(240, 185, 11, .1);
    color: #F0B90B;
}

.db-badge-err {
    background: rgba(246, 70, 93, .1);
    color: #F6465D;
}


/* ============================================================
   Dashboard — empty state
   ============================================================ */

.db-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 44px 20px;
    gap: 9px;
    text-align: center;
}

.db-empty i {
    font-size: 36px;
    color: #5C6080;
    opacity: .35;
}

.db-empty h3 {
    font-size: 15px;
    font-weight: 700;
    color: #8B91B5;
    margin: 0;
}

.db-empty p {
    font-size: 13px;
    color: #5C6080;
    max-width: 230px;
    line-height: 1.6;
    margin: 0;
}


/* ============================================================
   Dashboard — action buttons
   ============================================================ */

.db-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: .18s;
}

.db-btn-yw {
    background: #F0B90B;
    color: #0C0A00;
}

.db-btn-yw:hover {
    opacity: .88;
}

.db-btn-gl {
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
    color: #8B91B5;
}

.db-btn-gl:hover {
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}


/* ============================================================
   Dashboard — KYC banner
   ============================================================ */

.db-kyc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    background: rgba(246, 70, 93, .07);
    box-shadow: 0 0 0 1px rgba(246, 70, 93, .18);
}


/* ============================================================
   Dashboard — section divider label
   ============================================================ */

.db-divlabel {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #5C6080;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.db-divlabel::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .05);
}


/* ============================================================
   Investment card metrics row
   ============================================================ */

.inv-metrics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 16px 20px;
}

.inv-metric { padding: 0 16px }
.inv-metric:first-child { padding-left: 0 }
.inv-metric:last-child  { padding-right: 0 }
.inv-metric + .inv-metric { border-left: 1px solid rgba(255,255,255,.05) }

.inv-metric__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.inv-metric__val {
    font-size: 14px;
    font-weight: 800;
}

@media(max-width: 700px) {
    .inv-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 0;
    }
    .inv-metric { padding: 0 14px }
    .inv-metric:first-child,
    .inv-metric:nth-child(4) { padding-left: 0; border-left: none }
}

@media(max-width: 420px) {
    .inv-metrics { grid-template-columns: repeat(2, 1fr); gap: 14px 0 }
    .inv-metric:nth-child(odd)  { padding-left: 0; border-left: none }
    .inv-metric:nth-child(even) { padding-right: 0 }
}


/* ============================================================
   Referral / shared two-column layout responsive fix
   ============================================================ */

@media(max-width:900px) {
    [style*="grid-template-columns:1fr 300px"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns:1fr 380px"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns:1fr 280px"] {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   Deposit Page
   ============================================================ */

.dep-header {
    margin-bottom: 32px
}

.dep-header h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px
}

.dep-header p {
    color: var(--text-muted);
    font-size: 14px
}

.dep-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

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

.dep-form-card {
    padding: 24px;
}

@media(max-width:600px) {
    .dep-header,
    .wd-header {
        margin-bottom: 20px;
    }
    .dep-header h1,
    .wd-header h1 {
        font-size: 19px;
    }
    .dep-grid {
        gap: 16px;
    }
    .dep-form-card {
        padding: 16px;
        border-radius: 12px;
    }
    .sidebar-card {
        padding: 16px;
        border-radius: 12px;
    }
    .coin-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .coin-btn {
        padding: 8px 4px;
        font-size: 10px;
    }
    .coin-btn__icon {
        width: 28px;
        height: 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .bal-banner {
        padding: 14px 16px;
        margin-bottom: 20px;
    }
    .bal-banner__value {
        font-size: 22px;
    }
    .wallet-card__body {
        grid-template-columns: 1fr;
    }
    .wallet-card__qr {
        padding: 12px;
    }
    .quick-chips,
    .pct-chips {
        gap: 6px;
    }
    .quick-chip,
    .pct-chip {
        padding: 6px 12px;
        font-size: 12px;
        flex: 1 1 auto;
        text-align: center;
    }
    .btn.btn-full.btn-lg {
        font-size: 14px;
        padding: 13px;
    }
}

.coin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.coin-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: 10px;
    border: 1px solid var(--gold-border);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all .18s;
}

.coin-btn:hover {
    border-color: var(--gold);
    color: var(--text-primary);
    background: var(--gold-glow)
}

.coin-btn.active {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.12);
    color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.coin-btn__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
    flex-shrink: 0;
}

.wallet-card {
    background: var(--bg-card);
    border: none;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 8px;
}

.wallet-card__head {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
}

.wallet-card__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0
}

@media(max-width:600px) {
    .wallet-card__body {
        grid-template-columns: 1fr
    }
}

.wallet-card__addr {
    padding: 16px;
    background: var(--bg-deep)
}

.wallet-card__addr-text {
    font-family: monospace;
    font-size: 12.5px;
    word-break: break-all;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .05);
    border-radius: 8px;
}

.wallet-card__qr {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
}

.qr-frame {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.1);
    display: inline-block;
}

.qr-frame img {
    display: block;
    width: 130px;
    height: 130px;
    border-radius: 4px
}

.qr-coin-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: center;
}

.wallet-warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 1.5;
}

.wallet-warning.warn-amber {
    background: rgba(232, 160, 32, 0.06);
    color: var(--gold)
}

.wallet-warning.warn-red {
    background: rgba(220, 82, 82, 0.06);
    color: var(--red)
}

.quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.quick-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--gold-border);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

.quick-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-glow)
}

.sidebar-card {
    background: rgba(255, 255, 255, .038);
    border: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
    border-radius: 14px;
    padding: 20px;
}

.sidebar-card+.sidebar-card {
    margin-top: 16px
}

.sidebar-card__title {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.how-step-dep {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.how-step-dep:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.how-step-dep__num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    color: #0C0700;
    background: var(--gold);
}

.how-step-dep__info h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px
}

.how-step-dep__info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0
}

.rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.rate-row:last-child {
    border-bottom: none
}

.rate-row__coin {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px
}

.rate-row__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0
}

.rate-row__price {
    color: var(--text-secondary)
}


/* ============================================================
   Withdraw Page
   ============================================================ */

.wd-header {
    margin-bottom: 32px
}

.wd-header h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px
}

.wd-header p {
    color: var(--text-muted);
    font-size: 14px
}

.bal-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(78, 200, 122, 0.08) 0%, rgba(78, 200, 122, 0.03) 100%);
    box-shadow: 0 0 0 1px rgba(78, 200, 122, 0.22);
    margin-bottom: 28px;
}

.bal-banner__label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px
}

.bal-banner__value {
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.02em
}

.bal-banner__icon {
    font-size: 36px;
    color: var(--green);
    opacity: 0.35
}

.wallet-input-card {
    background: var(--bg-card);
    border: none;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 8px;
}

.wallet-input-card__head {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.wallet-input-card__body {
    padding: 16px
}

.pct-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.pct-chip {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--gold-border);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

.pct-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-glow)
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.info-row:last-of-type {
    border-bottom: none
}

.info-row__label {
    color: var(--text-muted)
}

.info-row__value {
    font-weight: 600;
    color: var(--text-secondary)
}


/* ============================================================
   KYC Page
   ============================================================ */

.kyc-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start
}

@media(max-width:900px) {
    .kyc-layout {
        grid-template-columns: 1fr
    }
}

.kyc-status-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 24px;
}

.kyc-status-bar.s-unverified {
    background: rgba(245, 158, 11, .08)
}

.kyc-status-bar.s-pending {
    background: rgba(59, 130, 246, .08)
}

.kyc-status-bar.s-verified {
    background: rgba(34, 197, 94, .08)
}

.kyc-status-bar.s-rejected {
    background: rgba(239, 68, 68, .08)
}

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

.kyc-status-bar.s-unverified .kyc-status-icon {
    background: rgba(245, 158, 11, .15)
}

.kyc-status-bar.s-pending .kyc-status-icon {
    background: rgba(59, 130, 246, .15)
}

.kyc-status-bar.s-verified .kyc-status-icon {
    background: rgba(34, 197, 94, .15)
}

.kyc-status-bar.s-rejected .kyc-status-icon {
    background: rgba(239, 68, 68, .15)
}

.kyc-status-icon i {
    font-size: 22px
}

.kyc-status-bar.s-unverified .kyc-status-icon i {
    color: #f59e0b
}

.kyc-status-bar.s-pending .kyc-status-icon i {
    color: #3b82f6
}

.kyc-status-bar.s-verified .kyc-status-icon i {
    color: #22c55e
}

.kyc-status-bar.s-rejected .kyc-status-icon i {
    color: #ef4444
}

.kyc-status-label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px
}

.kyc-status-bar.s-unverified .kyc-status-label {
    color: #f59e0b
}

.kyc-status-bar.s-pending .kyc-status-label {
    color: #3b82f6
}

.kyc-status-bar.s-verified .kyc-status-label {
    color: #22c55e
}

.kyc-status-bar.s-rejected .kyc-status-label {
    color: #ef4444
}

.kyc-status-msg {
    font-size: 13px;
    color: var(--text-muted)
}

.kyc-doc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
}

.kyc-doc-item+.kyc-doc-item {
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.kyc-doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .05);
}

.kyc-doc-icon i {
    font-size: 16px;
    color: var(--text-muted)
}

.kyc-doc-icon.approved i {
    color: var(--green)
}

.kyc-doc-icon.pending i {
    color: #3b82f6
}

.kyc-doc-icon.rejected i {
    color: var(--red)
}

.kyc-doc-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary)
}

.kyc-doc-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px
}

.kyc-doc-badge {
    margin-left: auto;
    flex-shrink: 0
}

.kyc-rejected-note {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(239, 68, 68, .08);
    border-radius: 8px;
    font-size: 12px;
    color: var(--red);
}

.kyc-upload-zone {
    border: 1.5px dashed rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, .02);
    transition: all .2s;
}

.kyc-upload-zone:hover {
    border-color: var(--gold);
    background: var(--gold-glow)
}

.kyc-upload-zone i {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block
}

.kyc-upload-zone .zone-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px
}

.kyc-upload-zone .zone-hint {
    font-size: 12px;
    color: var(--text-muted)
}

.kyc-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.kyc-info-item+.kyc-info-item {
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.kyc-info-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(240, 185, 11, .1);
}

.kyc-info-item__icon i {
    font-size: 15px;
    color: var(--yw)
}

.kyc-info-item__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary)
}

.kyc-info-item__desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 1px
}


/* ============================================================
   Profile Page
   ============================================================ */

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start
}

@media(max-width:900px) {
    .profile-layout {
        grid-template-columns: 1fr
    }
}

.profile-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.profile-section-title i {
    font-size: 16px
}

.profile-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    font-size: 13.5px;
}

.profile-stat-row+.profile-stat-row {
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .2s;
}

.profile-link+.profile-link {
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.profile-link:hover {
    color: var(--yw)
}

.profile-link__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .05);
}

.profile-link__icon i {
    font-size: 14px;
    color: var(--yw)
}
/* ── Investment Cards v2 (sparkline style) ── */
.inv-card-v2 {
    transition: transform .18s, box-shadow .18s;
}
.inv-card-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 12px 40px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.07);
}

/* Investment card grid layout */
.inv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 1100px) {
    .inv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .inv-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Language Switcher (dashboard topbar)
   ============================================================ */
#google_translate_element{display:none!important}
.goog-te-banner-frame,.goog-te-banner-frame.skiptranslate{display:none!important;visibility:hidden!important;height:0!important;max-height:0!important}
iframe.goog-te-banner-frame{display:none!important}
.skiptranslate>iframe{display:none!important}
body{top:0!important;margin-top:0!important;position:static!important}

.lang-sw{position:relative;display:inline-flex;align-items:center}
.lang-sw__btn{display:flex;align-items:center;gap:5px;padding:6px 10px;border-radius:8px;background:none;border:none;color:var(--text-secondary);font-size:12.5px;font-weight:600;cursor:pointer;transition:color .2s;white-space:nowrap;line-height:1}
.lang-sw__btn:hover{color:var(--text-primary);background:none}
.lang-sw__btn i{font-size:14px;opacity:.75}
.lang-sw__panel{position:absolute;top:calc(100% + 8px);right:0;background:#1C2028;border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:6px;min-width:210px;z-index:99999;opacity:0;pointer-events:none;transform:translateY(-6px);transition:opacity .2s,transform .2s;box-shadow:0 16px 48px rgba(0,0,0,.5)}
.lang-sw__panel.open{opacity:1;pointer-events:auto;transform:translateY(0)}
.lang-sw__search{display:flex;align-items:center;gap:8px;margin:4px 4px 8px;padding:6px 10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:8px;height:34px;box-sizing:border-box}
.lang-sw__search input{background:none!important;border:none!important;outline:none!important;color:#EAECEF!important;font-size:12.5px;width:100%;font-family:inherit!important;min-height:unset!important;height:22px!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
.lang-sw__search input::placeholder{color:#6B7280}
.lang-sw__list{max-height:250px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.15) transparent}
.lang-sw__opt{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:13px;color:#EAECEF;transition:background .15s}
.lang-sw__opt:hover{background:rgba(255,255,255,.08)}
.lang-sw__opt.active{background:rgba(240,185,11,.1);color:#F0B90B;font-weight:600}
.lang-sw__opt span.flag{font-size:17px;line-height:1;flex-shrink:0}
.lang-sw__opt span.name{flex:1}
.lang-sw__opt span.code{font-size:11px;opacity:.5;font-family:monospace!important}
.lang-sw__label{padding:4px 10px 6px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#6B7280}

/* ============================================================
   Custom Flag Phone Selector (login page)
   ============================================================ */
.flag-sel{position:relative;flex-shrink:0;width:130px}
.flag-sel__btn{display:flex;align-items:center;gap:7px;width:100%;height:48px;padding:0 10px 0 12px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#2B2F36;color:#EAECEF;font-size:14px;font-weight:600;cursor:pointer;transition:border .15s}
.flag-sel__btn:hover{border-color:rgba(255,255,255,.2)}
.flag-sel__btn.open{border:1.5px solid #F0B90B!important;outline:none}
.flag-sel__flag{font-size:19px;line-height:1;flex-shrink:0}
.flag-sel__code{flex:1;font-size:13px;font-weight:700;text-align:left}
.flag-sel__arr{font-size:11px;opacity:.5;flex-shrink:0}
.flag-sel__panel{position:absolute;top:calc(100% + 6px);left:0;width:280px;background:#1C2028;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:6px;z-index:9999;opacity:0;pointer-events:none;transform:translateY(-4px);transition:opacity .2s,transform .2s;box-shadow:0 16px 48px rgba(0,0,0,.55)}
.flag-sel__panel.open{opacity:1;pointer-events:auto;transform:translateY(0)}
.flag-sel__search{display:flex;align-items:center;gap:8px;margin:2px 2px 6px;padding:8px 10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.07);border-radius:8px}
.flag-sel__search input{background:none!important;border:none!important;outline:none!important;color:#EAECEF!important;font-size:13px;width:100%;min-height:unset;border-radius:0!important;padding:0!important}
.flag-sel__search input::placeholder{color:#6B7280}
.flag-sel__list{max-height:220px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.12) transparent}
.flag-sel__item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:13px;color:#EAECEF;transition:background .12s}
.flag-sel__item:hover{background:rgba(255,255,255,.08)}
.flag-sel__item.selected{background:rgba(240,185,11,.1);color:#F0B90B}
.flag-sel__item .fi{font-size:18px;line-height:1;flex-shrink:0}
.flag-sel__item .cn{flex:1;font-size:12.5px}
.flag-sel__item .dc{font-size:12px;font-weight:700;color:#F0B90B;flex-shrink:0}

/* -- Button equalizer loader -- */
.btn-loading{pointer-events:none;opacity:.8;position:relative}
.btn-loading .btn-orig{visibility:hidden}
.btn-eq-wrap{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.btn-eq{display:inline-flex;align-items:center;justify-content:center;gap:3px;height:14px}
.btn-eq span{display:inline-block;width:3px;border-radius:2px;background:currentColor;transform-origin:bottom center;animation:eq-bar .85s ease-in-out infinite}
.btn-eq span:nth-child(1){height:55%;animation-delay:0s}
.btn-eq span:nth-child(2){height:90%;animation-delay:.13s}
.btn-eq span:nth-child(3){height:40%;animation-delay:.26s}
.btn-eq span:nth-child(4){height:75%;animation-delay:.39s}
.btn-eq span:nth-child(5){height:55%;animation-delay:.52s}
@keyframes eq-bar{0%,100%{transform:scaleY(.3);opacity:.45}50%{transform:scaleY(1.35);opacity:1}}
