@font-face {
    font-family: 'nalika';
    src: url('../fonts/nalika.woff') format('woff');
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

/*
 * JEX PRO AI brand layer.
 * Change this small palette to restyle the full admin theme.
 */
:root {
    --nk-bg-body: #f7f9ff;
    --nk-bg-surface: #ffffff;
    --nk-bg-elevated: #edf3ff;
    --nk-bg-inset: #f1f5ff;

    --nk-accent-blue: #287fff;
    --nk-accent-teal: #287fff;
    --nk-accent-orange: #ff9d00;
    --nk-accent-red: #ff9d00;
    --nk-accent-brand: #ff9d00;

    --nk-text-primary: #101a3a;
    --nk-text-secondary: #51658f;
    --nk-text-muted: #7182a3;
    --nk-text-inverse: #ffffff;
    --nk-border-default: #d8e3f5;
    --nk-border-subtle: rgba(90, 137, 218, 0.16);

    --nk-radius-md: 10px;
    --nk-radius-lg: 14px;
    --nk-shadow-sm: 0 3px 12px rgba(32, 69, 133, 0.07);
    --nk-shadow-md: 0 10px 30px rgba(32, 69, 133, 0.12);
    --nk-shadow-lg: 0 18px 48px rgba(32, 69, 133, 0.16);
}

html,
body {
    min-height: 100%;
    background-color: var(--nk-bg-body);
}

body {
    overflow-x: hidden;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.95) 48%, rgba(255, 255, 255, 0.8) 100%),
        url('../img/jex-dashboard-background.png'),
        linear-gradient(rgba(40, 127, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 127, 255, 0.04) 1px, transparent 1px);
    background-position: center, right center, center center, center center;
    background-repeat: no-repeat, no-repeat, repeat, repeat;
    background-size: cover, 100% auto, 40px 40px, 40px 40px;
    background-attachment: fixed, fixed, fixed, fixed;
    color: var(--nk-text-secondary);
}

html {
    background: var(--nk-bg-body);
}

body::before,
body::after {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    content: '';
}

body::before {
    inset: 64px 0 0 240px;
    background-image:
        radial-gradient(circle, rgba(40, 127, 255, 0.82) 0 2px, transparent 2.8px),
        radial-gradient(circle, rgba(255, 157, 0, 0.72) 0 1.8px, transparent 2.7px),
        linear-gradient(32deg, transparent 49.8%, rgba(40, 127, 255, 0.11) 50%, transparent 50.2%),
        linear-gradient(148deg, transparent 49.8%, rgba(40, 127, 255, 0.09) 50%, transparent 50.2%);
    background-size: 223px 181px, 317px 239px, 370px 270px, 430px 310px;
    background-position: 0 20px, 75px 35px, 15px 25px, 80px 5px;
    animation: jex-network-drift 34s linear infinite alternate;
    opacity: 0.38;
}

body::after {
    top: 15%;
    right: 5%;
    width: clamp(180px, 22vw, 340px);
    aspect-ratio: 1;
    border: 1px solid rgba(40, 127, 255, 0.22);
    border-right-color: rgba(255, 157, 0, 0.72);
    border-bottom-color: transparent;
    border-radius: 50%;
    box-shadow: 0 0 45px rgba(40, 127, 255, 0.08), inset 0 0 35px rgba(40, 127, 255, 0.05);
    animation: jex-orbit 24s linear infinite;
}

body > .left-sidebar-pro,
body > .all-content-wrapper {
    position: relative;
    z-index: 1;
}

@keyframes jex-network-drift {
    from { background-position: 0 20px, 75px 35px, 15px 25px, 80px 5px; }
    to { background-position: 90px 75px, 15px 105px, 85px 5px, 10px 85px; }
}

@keyframes jex-orbit {
    to { transform: rotate(360deg); }
}

a,
a:hover,
a:focus {
    transition: color var(--nk-transition-fast), background-color var(--nk-transition-fast), border-color var(--nk-transition-fast);
}

.logo-pro {
    padding: 9px 16px;
}

.logo-pro img {
    display: block;
    width: min(190px, 100%);
    max-height: 56px;
    object-fit: contain;
    object-position: left center;
}

.logo-pro::after {
    display: none;
}

.left-sidebar-pro {
    z-index: calc(var(--nk-z-sidebar) + 1);
}

#sidebar {
    background: rgba(255, 255, 255, 0.96);
    color: var(--nk-text-primary);
    border-right: 1px solid var(--nk-border-subtle);
}

#sidebar .sidebar-header {
    background: rgba(255, 255, 255, 0.94);
}

#sidebar .left-sidebar-menu-pro > ul > li > a,
#sidebar .left-sidebar-menu-pro .submenu-angle li a {
    color: var(--nk-text-secondary);
}

#sidebar .left-sidebar-menu-pro > ul > li > a:hover,
#sidebar .left-sidebar-menu-pro > ul > li.active > a,
#sidebar .left-sidebar-menu-pro .submenu-angle li a:hover {
    color: var(--nk-accent-blue);
    background: var(--nk-bg-elevated);
}

#sidebar .left-sidebar-menu-pro > ul.metismenu > li > a {
    position: relative;
    margin: 3px 10px 3px 0;
    border-radius: 0 9px 9px 0;
}

#sidebar .left-sidebar-menu-pro > ul.metismenu > li.active > a.has-arrow,
#sidebar .left-sidebar-menu-pro > ul.metismenu > li > a.has-arrow[aria-expanded='true'] {
    color: var(--nk-text-primary) !important;
    background: rgba(255, 157, 0, 0.11) !important;
    box-shadow: inset 4px 0 0 var(--nk-accent-orange);
    font-weight: 600;
}

#sidebar .left-sidebar-menu-pro > ul.metismenu > li.active > a.has-arrow .big-icon,
#sidebar .left-sidebar-menu-pro > ul.metismenu > li > a.has-arrow[aria-expanded='true'] .big-icon {
    color: var(--nk-accent-orange) !important;
}

#sidebar .left-sidebar-menu-pro > ul.metismenu > li.active > a.has-arrow::after,
#sidebar .left-sidebar-menu-pro > ul.metismenu > li > a.has-arrow[aria-expanded='true']::after {
    border-color: var(--nk-accent-orange);
}

#sidebar .left-sidebar-menu-pro .submenu-angle {
    padding: 4px 0 8px;
    background: rgba(40, 127, 255, 0.035);
}

#sidebar .left-sidebar-menu-pro .submenu-angle li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding-left: 54px;
    padding-right: 12px;
    border-radius: 0 7px 7px 0;
    white-space: normal;
}

#sidebar .left-sidebar-menu-pro .submenu-angle .submenu-icon {
    flex: 0 0 15px;
    width: 15px;
    color: #8292ae;
    font-size: 13px;
    text-align: center;
}

#sidebar .left-sidebar-menu-pro .submenu-angle li.active .submenu-icon,
#sidebar .left-sidebar-menu-pro .submenu-angle li a[aria-current='page'] .submenu-icon {
    color: var(--nk-accent-orange);
}

#sidebar .left-sidebar-menu-pro .submenu-angle li a:hover,
#sidebar .left-sidebar-menu-pro .submenu-angle li.active > a,
#sidebar .left-sidebar-menu-pro .submenu-angle li > a[aria-current='page'] {
    color: #a85d00 !important;
    background: rgba(255, 157, 0, 0.1) !important;
}

#sidebar .left-sidebar-menu-pro .submenu-angle li.active > a::before,
#sidebar .left-sidebar-menu-pro .submenu-angle li > a[aria-current='page']::before {
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 39px;
    width: 3px;
    border-radius: 4px;
    background: var(--nk-accent-orange);
    content: '';
}

#sidebar .left-sidebar-menu-pro .big-icon {
    color: var(--nk-accent-blue);
}

#sidebar .sidebar-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-top: 0;
    border-bottom: 1px solid var(--nk-border-subtle);
}

#sidebar .sidebar-header > a {
    display: block;
    width: 100%;
}

#sidebar .sidebar-header .main-logo {
    display: block;
    width: min(190px, 100%);
    max-height: 55px;
    margin: auto;
    object-fit: contain;
    border-radius: 5px;
    background: #fff;
}

#sidebar .sidebar-header > a {
    padding: 3px 6px;
    border-radius: 6px;
    background: #fff;
}

#sidebar .sidebar-header strong img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.header-top-area {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--nk-border-subtle);
    box-shadow: 0 5px 18px rgba(34, 68, 129, 0.06);
    backdrop-filter: blur(12px);
}

.nk-header-bar {
    min-height: 64px;
    padding-inline: clamp(12px, 2vw, 28px);
}

.nk-header-bar #sidebarCollapse {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: var(--nk-radius-md) !important;
    color: var(--nk-text-primary) !important;
}

.nk-header-bar #sidebarCollapse:hover,
.nk-header-bar #sidebarCollapse:focus-visible {
    background: var(--nk-bg-elevated);
    color: var(--nk-accent-blue) !important;
}

.nk-header-search {
    width: min(360px, 38vw);
}

.nk-search-input {
    min-height: 40px;
    padding-inline: 16px 42px !important;
    border-color: var(--nk-border-default) !important;
    border-radius: var(--nk-radius-pill) !important;
}

.nk-header-icon:hover,
.nk-header-icon:focus-visible {
    background: var(--nk-bg-elevated);
    color: var(--nk-accent-blue);
}

.nk-header-icon,
.nk-header-user,
.nk-header-bar #sidebarCollapse {
    color: var(--nk-text-secondary) !important;
}

.nk-header-right .dropdown-menu,
.nk-settings-panel {
    border: 1px solid var(--nk-border-subtle);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--nk-shadow-md);
}

.nk-header-mobile-brand { display: none; flex: 0 1 auto; min-width: 0; align-items: center; line-height: 0; }
.nk-header-mobile-brand img { display: block; width: 154px; max-width: 100%; height: 38px; object-fit: contain; object-position: left center; }

.all-content-wrapper > .container-fluid {
    padding-inline: clamp(12px, 2vw, 28px);
}

.app-main-content {
    margin-top: 0;
    padding-top: 1.5rem;
}

.all-content-wrapper > .container-fluid > .row {
    --bs-gutter-x: 0;
}

.footer-copyright-area {
    border-top: 1px solid var(--nk-border-subtle);
    background: rgba(255, 255, 255, 0.94);
}

.footer-copyright-area p {
    margin: 0;
    color: var(--nk-text-muted);
}

.nk-metric-tile,
.product-status-wrap,
.analytics-sparkle-line,
.sparkline8-list,
.widget-statistic-list {
    border-color: var(--nk-border-subtle);
    border-radius: var(--nk-radius-lg);
}

.nk-metric-tile {
    min-width: 0;
    overflow: hidden;
    padding: 16px !important;
    border-left: 3px solid var(--nk-accent-blue) !important;
    background: #fff;
    box-shadow: var(--nk-shadow-sm);
}

.nk-metric-tile:nth-child(even) {
    border-left-color: var(--nk-accent-orange) !important;
}

.nk-metric-tile .badge {
    background-color: rgba(40, 127, 255, 0.1) !important;
    color: #2368ce !important;
}

.nk-metric-tile .badge.bg-danger {
    background-color: rgba(40, 127, 255, 0.1) !important;
    color: #2368ce !important;
}

/* Shared feedback: page loader, animated toasts, and paginated lists. */
.app-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: rgba(247, 249, 255, 0.78);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.app-loader__ring {
    width: 46px;
    height: 46px;
    border: 3px solid var(--nk-border-default);
    border-top-color: var(--nk-accent-orange);
    border-right-color: var(--nk-accent-blue);
    border-radius: 50%;
    animation: app-loader-spin 700ms linear infinite;
}

body.app-loading .app-loader.is-visible,
body.app-loading:not(.app-ready) .app-loader {
    opacity: 1;
    visibility: visible;
}

body.app-ready .app-loader:not(.is-visible) {
    opacity: 0;
    visibility: hidden;
}

body.app-loading.is-busy {
    cursor: progress;
}

.app-toast-region {
    position: fixed;
    z-index: 2100;
    top: 16px;
    right: 16px;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.app-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--nk-border-subtle);
    border-left: 4px solid var(--nk-accent-blue);
    border-radius: var(--nk-radius-md);
    background: var(--nk-bg-surface);
    box-shadow: var(--nk-shadow-md);
    color: var(--nk-text-primary);
    pointer-events: auto;
    animation: app-toast-enter 220ms ease both;
}

.app-toast[data-type="success"] { border-left-color: #16a879; }
.app-toast[data-type="error"] { border-left-color: #e44d4d; }
.app-toast[data-type="warning"] { border-left-color: var(--nk-accent-orange); }
.app-toast[data-type="info"] { border-left-color: var(--nk-accent-blue); }

.app-toast__message { flex: 1; margin: 0; }

.app-toast__close {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--nk-text-muted);
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.app-toast.is-leaving { animation: app-toast-leave 160ms ease both; }

.swal2-popup {
    border: 1px solid var(--nk-border-subtle) !important;
    border-radius: var(--nk-radius-lg) !important;
    color: var(--nk-text-primary) !important;
    box-shadow: var(--nk-shadow-lg) !important;
}

.swal2-show { animation: app-dialog-enter 220ms ease both !important; }

.app-pagination {
    display: flex;
    width: 100%;
    min-height: 58px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin: 0;
    padding: 10px 20px;
    border-top: 1px solid var(--nk-border-subtle);
    background: rgba(255, 255, 255, .92);
}

.app-pagination__summary {
    margin: 0;
    color: var(--nk-text-muted);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.app-pagination__links { display: flex; align-items: center; margin-left: auto; }
.app-pagination__links nav { margin: 0; }
.app-pagination__links nav > div:first-child { display: none; }
.app-pagination__links nav > div:last-child { display: block; }
.app-pagination__links .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}

.app-pagination__links .page-link {
    display: grid;
    min-width: 38px;
    min-height: 38px;
    place-items: center;
    padding: 6px 10px;
    border: 1px solid var(--nk-border-subtle);
    border-radius: 8px !important;
    background: var(--nk-bg-surface);
    color: var(--nk-text-secondary);
    text-align: center;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.app-pagination__links .page-link:hover {
    transform: translateY(-1px);
    border-color: var(--nk-accent-blue);
    color: var(--nk-accent-blue);
}

.app-pagination__links .page-item.active .page-link {
    border-color: var(--nk-accent-orange);
    background: var(--nk-accent-orange);
    color: #fff;
}

.app-pagination__links .page-item.disabled .page-link { background: var(--nk-bg-inset); }

@media (max-width: 575.98px) {
    .app-pagination { justify-content: center; padding: 14px; }
    .app-pagination__summary { width: 100%; text-align: center; }
    .app-pagination__links { width: 100%; justify-content: center; margin-left: 0; }
    .app-pagination__links .pagination { justify-content: center; }
}

/* User trading workspace. Admin keeps its own Blade shell and navigation. */
.user-panel .all-content-wrapper { min-height: 100vh; }
.user-panel .header-top-area { background: rgba(255, 255, 255, .93); border-bottom: 1px solid var(--nk-border-subtle); }
.user-panel .nk-header-bar { min-height: 68px; }
.user-panel .user-menu-toggle { color: var(--nk-text-primary); font-size: 21px; }
.user-sidebar__caption { padding: 18px 22px 8px; color: var(--nk-text-muted); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.user-sidebar #sidebar .left-sidebar-menu-pro > ul > li > a { margin-right: 10px; }
.user-sidebar #sidebar .left-sidebar-menu-pro > ul > li.active > a { color: #a85d00 !important; background: rgba(255, 157, 0, .1) !important; box-shadow: inset 4px 0 0 var(--nk-accent-orange); }
.user-sidebar #sidebar .left-sidebar-menu-pro > ul > li.active > a .big-icon { color: var(--nk-accent-orange) !important; }
.user-sidebar__badge { display: inline-grid; place-items: center; min-width: 21px; height: 21px; margin-left: auto; border-radius: 99px; background: rgba(255, 157, 0, .14); color: #a85d00; font-size: 11px; font-weight: 700; }
.user-sidebar__plan { display: flex; align-items: center; gap: 10px; margin: 18px 14px; padding: 12px; border: 1px solid var(--nk-border-subtle); border-radius: 12px; background: linear-gradient(135deg, #fff, #f4f8ff); }
.user-sidebar__plan-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; background: rgba(255, 157, 0, .13); color: #e28600; }
.user-sidebar__plan div { display: grid; min-width: 0; }
.user-sidebar__plan strong { color: var(--nk-text-primary); font-size: 12px; }
.user-sidebar__plan small { color: var(--nk-text-muted); font-size: 10px; }
.user-sidebar__plan > i { margin-left: auto; color: var(--nk-text-muted); font-size: 12px; }
.user-header__context { align-items: center; gap: 13px; color: var(--nk-text-muted); font-size: 13px; }
.user-header__live { display: inline-flex; align-items: center; gap: 7px; color: var(--nk-text-secondary); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.user-header__live i, .user-signal-live i { width: 7px; height: 7px; border-radius: 50%; background: #18ad79; box-shadow: 0 0 0 3px rgba(24, 173, 121, .12); }
.user-header__divider { width: 1px; height: 18px; background: var(--nk-border-default); }
.user-panel .nk-header-right { display: flex; align-items: center; gap: 18px; }
.user-market-clock { align-items: center; gap: 7px; color: var(--nk-text-muted); font-size: 12px; }
.user-notification-button { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--nk-border-subtle); border-radius: 50%; background: #fff; color: var(--nk-text-secondary); }
.user-notification-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; background: var(--nk-accent-orange); }
.user-notification-menu { width: 270px; padding: 16px; border: 1px solid var(--nk-border-subtle); border-radius: 12px; box-shadow: var(--nk-shadow-md); }
.user-notification-menu h6 { margin-bottom: 12px; color: var(--nk-text-primary); font-size: 14px; }
.user-notification-menu p { display: flex; gap: 8px; margin: 0; color: var(--nk-text-muted); font-size: 12px; }
.user-notification-menu p i { color: var(--nk-accent-orange); }
.user-profile-button { display: flex; align-items: center; gap: 9px; padding: 4px 0 4px 12px; border: 0; border-left: 1px solid var(--nk-border-subtle); background: transparent; text-align: left; }
.user-profile-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eaf1ff; color: var(--nk-accent-blue); }
.user-profile-copy { display: grid; }
.user-profile-copy strong { max-width: 130px; overflow: hidden; color: var(--nk-text-primary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.user-profile-copy small { color: var(--nk-text-muted); font-size: 10px; }
.user-profile-chevron { color: var(--nk-text-muted); font-size: 10px; }
.user-profile-menu { min-width: 220px; padding: 8px; border: 1px solid var(--nk-border-subtle); border-radius: 12px; box-shadow: var(--nk-shadow-md); }
.user-profile-menu .dropdown-item-text { color: var(--nk-text-muted); font-size: 11px; white-space: normal; }
.user-profile-menu .dropdown-item-text strong { display: block; color: var(--nk-text-primary); }
.user-profile-menu .dropdown-item { font-size: 13px; }
.user-section-kicker { color: var(--nk-text-muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.user-panel-content { padding-inline: clamp(16px, 2vw, 28px) !important; }
.user-panel-content > :first-child { width: 100%; max-width: none; margin-inline: 0; }
.user-dashboard { display: grid; gap: 18px; padding: 0 0 12px; animation: user-dashboard-enter 380ms ease both; }
.user-balance-card { position: relative; min-height: 220px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: linear-gradient(116deg, #10224d 0%, #173f82 58%, #287fff 115%); box-shadow: 0 14px 36px rgba(34, 79, 153, .16); color: #fff; }
.user-balance-card__glow { position: absolute; top: -160px; right: -20px; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 36px rgba(255,255,255,.025), 0 0 0 72px rgba(255,255,255,.02); }
.user-balance-card__content { position: relative; z-index: 1; display: flex; min-height: 220px; flex-direction: column; justify-content: space-between; padding: 22px 26px; }
.user-balance-card__topline, .user-balance-card__bottomline { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.user-balance-card .user-section-kicker { color: rgba(255,255,255,.68); }
.user-balance-card h2 { margin: 7px 0 4px; color: #fff; font-size: clamp(27px, 3vw, 36px); font-weight: 700; letter-spacing: -.045em; }
.user-balance-card h2 span { color: rgba(255,255,255,.72); font-size: .68em; }
.user-balance-change { color: #fff; font-size: 12px; }
.user-balance-change > i, .user-balance-change > span { color: #8ff0c7; }
.user-balance-change small { margin-left: 4px; color: rgba(255,255,255,.6); }
.user-balance-period { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.17); border-radius: 20px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); font-size: 10px; }
.user-balance-card__bottomline { align-items: flex-end; }
.user-balance-mini-stat { display: grid; gap: 4px; min-width: 125px; }
.user-balance-mini-stat span { color: rgba(255,255,255,.62); font-size: 10px; }
.user-balance-mini-stat strong { color: #fff; font-size: 14px; }
.user-balance-actions { display: flex; gap: 9px; margin-left: auto; }
.user-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 13px; border: 1px solid transparent; border-radius: 9px; font-size: 11px; font-weight: 700; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.user-button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.user-button--light { background: var(--nk-accent-orange); color: #fff; }
.user-button--outline { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; }
.user-balance-chart { position: absolute; right: 0; bottom: 44px; width: 44%; height: 115px; opacity: .3; }
.user-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.user-stat-card { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 98px; padding: 16px; border: 1px solid var(--nk-border-subtle); border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: var(--nk-shadow-sm); transition: transform 180ms ease, box-shadow 180ms ease; }
.user-stat-card:hover, .user-panel-card:hover { transform: translateY(-2px); box-shadow: var(--nk-shadow-md); }
.user-stat-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; font-size: 16px; }
.user-stat-icon--blue { background: rgba(40,127,255,.1); color: var(--nk-accent-blue); }
.user-stat-icon--orange { background: rgba(255,157,0,.13); color: #e28600; }
.user-stat-card > div { display: grid; gap: 2px; min-width: 0; }
.user-stat-label { color: var(--nk-text-muted); font-size: 11px; }
.user-stat-card strong { color: var(--nk-text-primary); font-size: 19px; line-height: 1.25; }
.user-stat-card small { color: var(--nk-text-muted); font-size: 10px; }
.user-positive { color: #15966c !important; }
.user-negative { color: #d64e4e !important; }
.user-stat-spark { width: 70px; height: 30px; margin-left: auto; overflow: visible; }
.user-stat-spark path { fill: none; stroke: #20b88a; stroke-width: 2; }
.user-stat-end-icon { margin-left: auto; color: #9aa9bf; font-size: 12px; }
.user-content-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .9fr); gap: 16px; }
.user-content-grid--lower { grid-template-columns: minmax(0, 1.2fr) minmax(330px, 1fr); }
.user-panel-card { min-width: 0; padding: 18px 19px; border: 1px solid var(--nk-border-subtle); border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: var(--nk-shadow-sm); transition: transform 180ms ease, box-shadow 180ms ease; }
.user-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.user-panel-heading h2 { margin: 3px 0 0; color: var(--nk-text-primary); font-size: 16px; font-weight: 700; }
.user-view-link { color: var(--nk-accent-blue); font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.user-view-link i { margin-left: 3px; }
.user-market-table-wrap { width: 100%; overflow-x: auto; }
.user-market-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.user-market-table th { padding: 7px 8px; border-bottom: 1px solid #edf1f7; color: var(--nk-text-muted); font-size: 9px; font-weight: 600; text-align: right; }
.user-market-table th:first-child { text-align: left; }
.user-market-table td { padding: 11px 8px; border-bottom: 1px solid #f0f3f8; color: var(--nk-text-primary); font-size: 11px; text-align: right; }
.user-market-table tr:last-child td { border-bottom: 0; }
.user-market-table td:first-child { display: flex; align-items: center; gap: 9px; text-align: left; }
.user-asset-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; background: #edf3ff; color: #287fff; font-size: 16px; font-weight: 700; }
.user-asset-icon--btc { background: #fff4e4; color: #ef9811; }
.user-asset-icon--eth { background: #eef0ff; color: #6675d9; }
.user-asset-icon--sol { background: #f1ebff; color: #8b5ce0; }
.user-asset-icon--eur { background: #edf3ff; color: #287fff; }
.user-asset-name { display: grid; gap: 2px; text-align: left; }
.user-asset-name strong { color: var(--nk-text-primary); font-size: 11px; font-weight: 600; }
.user-asset-name small { color: var(--nk-text-muted); font-size: 9px; }
.user-change-pill { display: inline-block; padding: 4px 6px; border-radius: 6px; font-size: 9px; font-weight: 700; }
.user-change-pill.is-up { background: #e8f8f1; color: #14855f; }
.user-change-pill.is-down { background: #fff0ef; color: #cd5351; }
.user-mini-chart { width: 76px; height: 27px; }
.user-mini-chart path { fill: none; stroke-width: 2; stroke-linecap: round; }
.user-mini-chart.is-up path { stroke: #23ae80; }
.user-mini-chart.is-down path { stroke: #e18443; }
.user-signal-live { display: inline-flex; align-items: center; gap: 7px; color: #16845f; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.user-signal-live i { width: 6px; height: 6px; }
.user-signal-card { padding: 14px; border: 1px solid #e8edf6; border-radius: 12px; background: linear-gradient(135deg, #fbfcff, #f7faff); }
.user-signal-card__top { display: flex; align-items: center; gap: 8px; }
.user-signal-token { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff2df; color: #ee9816; font-weight: 700; }
.user-signal-pair { color: var(--nk-text-primary); font-size: 11px; font-weight: 700; }
.user-signal-direction { margin-left: auto; padding: 4px 8px; border-radius: 5px; background: #e6f8f0; color: #16845f; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.user-signal-card__main { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 15px 0 8px; }
.user-signal-card__main > div:first-child { display: grid; gap: 2px; }
.user-signal-card__main span { color: var(--nk-text-muted); font-size: 9px; }
.user-signal-card__main strong { color: var(--nk-text-primary); font-size: 20px; }
.user-confidence-meter { width: 56%; height: 6px; margin-bottom: 7px; overflow: hidden; border-radius: 9px; background: #e9eef6; }
.user-confidence-meter span { display: block; width: 82%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #287fff, #ff9d00); }
.user-signal-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 11px 0; border-top: 1px solid #e8edf6; border-bottom: 1px solid #e8edf6; }
.user-signal-levels div { display: grid; gap: 4px; }
.user-signal-levels span { color: var(--nk-text-muted); font-size: 9px; }
.user-signal-levels strong { color: var(--nk-text-primary); font-size: 10px; }
.user-risk-low { color: #16845f !important; }
.user-signal-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; }
.user-signal-card__footer span { color: var(--nk-text-muted); font-size: 9px; }
.user-signal-card__footer a, .user-signals-more { color: var(--nk-accent-blue); font-size: 10px; font-weight: 600; text-decoration: none; }
.user-signals-more { display: flex; justify-content: space-between; margin-top: 12px; padding: 0 2px; }
.user-holding-list, .user-activity-list { display: grid; }
.user-holding-row { display: grid; grid-template-columns: 34px minmax(100px,1fr) auto 66px; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f0f3f8; }
.user-holding-row:last-child, .user-activity-row:last-child { border: 0; }
.user-holding-value { display: grid; gap: 3px; text-align: right; }
.user-holding-value strong { color: var(--nk-text-primary); font-size: 11px; }
.user-holding-value small { font-size: 9px; }
.user-holding-share { height: 5px; overflow: hidden; border-radius: 8px; background: #edf1f7; }
.user-holding-share i { display: block; width: var(--share); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--nk-accent-blue), #74acff); }
.user-activity-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f3f8; }
.user-activity-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 9px; font-size: 12px; }
.user-activity-icon.is-buy { background: #fff4e4; color: #e9900b; }
.user-activity-icon.is-deposit { background: #e8f8f1; color: #16845f; }
.user-activity-icon.is-sell { background: #edf3ff; color: #287fff; }
.user-activity-row > div { display: grid; gap: 3px; }
.user-activity-row > div strong { color: var(--nk-text-primary); font-size: 10px; }
.user-activity-row > div small { color: var(--nk-text-muted); font-size: 9px; }
.user-activity-amount { margin-left: auto; color: var(--nk-text-primary); font-size: 10px; font-weight: 600; white-space: nowrap; }
.user-demo-note { margin: -3px 0 0; color: var(--nk-text-muted); font-size: 10px; }
.user-demo-note i { margin-right: 4px; color: var(--nk-accent-blue); }
@keyframes user-dashboard-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1199.98px) {
    .user-content-grid, .user-content-grid--lower { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .9fr); }
    .user-market-chart-heading, .user-market-chart-cell { display: none; }
    .user-stat-grid { gap: 12px; }
}

@media (max-width: 767.98px) {
    .user-page-date { display: none; }
    .user-content-grid, .user-content-grid--lower { grid-template-columns: minmax(0, 1fr); }
    .user-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .user-stat-card:last-child { grid-column: 1 / -1; }
    .user-balance-card__content { padding: 19px; }
    .user-balance-mini-stat { min-width: 0; }
    .user-balance-card__bottomline { flex-wrap: wrap; }
    .user-balance-actions { width: 100%; margin: 6px 0 0; }
    .user-balance-chart { width: 65%; bottom: 83px; }
}

@media (max-width: 479.98px) {
    .user-panel .nk-header-right { gap: 10px; }
    .user-profile-copy, .user-profile-chevron { display: none; }
    .user-profile-button { padding-left: 9px; }
    .user-panel-content { padding-inline: 12px !important; }
    .user-dashboard { gap: 12px; }
    .user-stat-grid { gap: 9px; }
    .user-stat-card { min-height: 88px; gap: 9px; padding: 12px 10px; }
    .user-stat-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
    .user-stat-card strong { font-size: 16px; }
    .user-stat-spark { display: none; }
    .user-panel-card { padding: 15px 12px; }
    .user-balance-card__topline { flex-direction: column; gap: 10px; }
    .user-balance-period { position: absolute; top: 0; right: 0; font-size: 9px; }
    .user-balance-card h2 { margin-top: 9px; font-size: 30px; }
    .user-balance-mini-stat strong { font-size: 12px; }
    .user-market-table th, .user-market-table td { padding-inline: 5px; }
    .user-market-table td { font-size: 10px; }
    .user-asset-icon { width: 28px; height: 28px; }
    .user-holding-row { grid-template-columns: 30px minmax(75px,1fr) auto; gap: 7px; }
    .user-holding-share { display: none; }
}

.finance-balance-strip { display:flex; flex-wrap:wrap; gap:12px 24px; margin-bottom:20px; padding:14px 16px; border:1px solid var(--nk-border-default); border-radius:11px; background:#f7f9ff; }
.finance-balance-strip > span { display:grid; gap:3px; color:var(--nk-text-muted); font-size:10px; font-weight:700; text-transform:uppercase; }.finance-balance-strip strong { color:var(--nk-text-primary); font-size:15px; }
.finance-form-field--full { grid-column:1/-1; }.finance-ledger-note { display:flex; gap:10px; margin-top:18px; padding:13px; border:1px solid rgba(255,157,0,.25); border-radius:10px; color:#76510c; background:#fff9ed; font-size:11px; line-height:1.6; }.finance-ledger-note i { flex:0 0 auto; color:var(--nk-accent-orange); font-size:16px; }
.finance-cost-preview { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:12px; padding:13px 15px; border:1px solid var(--nk-border-default); border-radius:10px; color:var(--nk-text-muted); background:#f7f9ff; font-size:12px; }.finance-cost-preview strong { color:var(--nk-text-primary); }
.deposit-page { display:grid; gap:18px; max-width:1180px; margin-inline:auto; padding-bottom:24px; }
.deposit-hero { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:clamp(20px,4vw,34px); border:1px solid rgba(40,127,255,.18); border-radius:18px; background:linear-gradient(120deg,rgba(255,255,255,.98),rgba(238,246,255,.95)); box-shadow:var(--nk-shadow-md); }
.deposit-kicker { display:inline-block; color:var(--nk-accent-orange); font-size:10px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.deposit-hero h2,.deposit-card-heading h2 { margin:7px 0; color:var(--nk-text-primary); font-size:clamp(20px,3vw,27px); font-weight:850; }.deposit-hero p,.deposit-card-heading p { max-width:670px; margin:0; color:var(--nk-text-muted); font-size:13px; line-height:1.65; }
.deposit-hero-balance { display:grid; gap:5px; min-width:170px; padding:15px 18px; border-radius:12px; background:#fff; box-shadow:var(--nk-shadow-sm); }.deposit-hero-balance span { color:var(--nk-text-muted); font-size:10px; font-weight:800; text-transform:uppercase; }.deposit-hero-balance strong { color:var(--nk-text-primary); font-size:22px; }
.deposit-content-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(250px,.8fr); align-items:start; gap:17px; }
.deposit-form-card,.deposit-aside-card,.deposit-checkout-card,.deposit-history-panel { min-width:0; border:1px solid var(--nk-border-default); border-radius:16px; background:rgba(255,255,255,.97); box-shadow:var(--nk-shadow-md); }
.deposit-form-card { padding:clamp(18px,3vw,28px); }.deposit-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding-bottom:18px; border-bottom:1px solid var(--nk-border-subtle); margin-bottom:20px; }.deposit-card-heading h2 { font-size:20px; }.deposit-secure-tag { display:inline-flex; align-items:center; gap:5px; padding:7px 10px; border-radius:99px; color:#18794e; background:#e8f8ef; font-size:10px; font-weight:800; white-space:nowrap; }
.deposit-create-form { display:grid; gap:10px; }.deposit-create-form > label,.deposit-network-label { color:var(--nk-text-primary); font-size:12px; font-weight:800; }.deposit-create-form > label span { color:#d92d20; }
.deposit-amount-input { display:flex; align-items:center; min-height:58px; overflow:hidden; border:1.5px solid rgba(255,157,0,.55); border-radius:10px; background:#fff; }.deposit-amount-input > span { display:grid; width:43px; align-self:stretch; place-items:center; border-right:1px solid var(--nk-border-default); color:#a16400; font-size:20px; font-weight:800; }.deposit-amount-input input { width:100%; min-width:0; padding:12px 15px; border:0; outline:0; color:var(--nk-text-primary); font-size:19px; font-weight:800; }.deposit-form-hint { color:var(--nk-text-muted); font-size:10px; }.deposit-form-error { color:#c83434; font-size:11px; }
.deposit-quick-label { margin-top:8px; color:var(--nk-text-muted); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; }.deposit-quick-amounts { display:flex; flex-wrap:wrap; gap:8px; }.deposit-quick-amounts button { min-width:60px; padding:8px 12px; border:1px solid rgba(255,157,0,.5); border-radius:8px; color:#9b6100; background:#fffaf0; font-size:11px; font-weight:800; }.deposit-quick-amounts button:hover { color:#fff; background:var(--nk-accent-orange); }
.deposit-network-label { margin-top:12px; }.deposit-network-field { display:flex; flex-wrap:wrap; align-items:center; gap:9px; min-height:52px; padding:10px 12px; border:1px solid var(--nk-border-default); border-radius:9px; background:#f9fbff; }.deposit-network-badge { padding:4px 7px; border:1px solid #16805a; border-radius:6px; color:#16805a; font-size:9px; font-weight:900; }.deposit-network-field strong { color:var(--nk-text-primary); font-size:12px; }.deposit-verified { display:inline-flex; align-items:center; gap:4px; margin-left:auto; color:#18794e; font-size:10px; font-weight:800; }
.deposit-how-note,.deposit-config-note { display:flex; align-items:flex-start; gap:9px; margin-top:12px; padding:12px; border:1px dashed rgba(255,157,0,.35); border-radius:9px; color:var(--nk-text-secondary); background:#fffaf0; font-size:10px; line-height:1.6; }.deposit-how-note > i,.deposit-config-note > i { flex:0 0 auto; color:var(--nk-accent-orange); font-size:14px; }.deposit-how-note strong { color:var(--nk-text-primary); }.deposit-config-note { margin:0 0 16px; border-style:solid; border-color:#eed28e; color:#75520d; background:#fff8e7; }.deposit-config-note code { color:#805200; font-weight:800; }
.deposit-submit { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:48px; margin-top:14px; padding:11px 16px; border:0; border-radius:9px; color:#fff; background:linear-gradient(110deg,#287fff,#ff9d00); box-shadow:0 7px 18px rgba(40,127,255,.16); font-size:12px; font-weight:800; text-decoration:none; }.deposit-submit:hover { color:#fff; filter:brightness(1.04); }.deposit-submit:disabled { cursor:not-allowed; opacity:.55; }
.deposit-aside-card { display:grid; gap:13px; padding:22px; }.deposit-aside-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:12px; color:#18794e; background:#e8f8ef; font-size:19px; }.deposit-aside-card h3 { margin:0; color:var(--nk-text-primary); font-size:17px; font-weight:800; }.deposit-aside-card ul { display:grid; gap:11px; margin:0; padding-left:18px; color:var(--nk-text-muted); font-size:11px; line-height:1.5; }.deposit-aside-card li strong { color:var(--nk-text-primary); }.deposit-aside-card > a { display:flex; align-items:center; gap:8px; padding-top:12px; border-top:1px solid var(--nk-border-subtle); color:var(--nk-accent-blue); font-size:11px; font-weight:800; text-decoration:none; }.deposit-aside-card > a i:last-child { margin-left:auto; }
.deposit-checkout-card { padding:clamp(18px,3vw,28px); }.deposit-live-badge { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:99px; color:#9b6100; background:#fff3dc; font-size:10px; font-weight:800; white-space:nowrap; }.deposit-live-badge i { width:7px; height:7px; border-radius:50%; background:currentColor; animation:deposit-pulse 1.4s infinite; }.deposit-live-badge.is-complete { color:#18794e; background:#e8f8ef; }
.deposit-checkout-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr); gap:20px; }.deposit-payment-details { min-width:0; }.deposit-pay-amount { display:grid; gap:5px; padding:14px; border:1px solid rgba(255,157,0,.28); border-radius:11px; background:#fffaf0; }.deposit-pay-amount > span { color:var(--nk-text-muted); font-size:10px; font-weight:800; text-transform:uppercase; }.deposit-pay-amount strong { color:var(--nk-text-primary); font-size:29px; }.deposit-pay-amount strong small { color:var(--nk-accent-orange); font-size:13px; }.deposit-pay-amount > span:last-child { color:#18794e; text-transform:none; }
.deposit-qr-wrap { display:grid; justify-items:center; gap:7px; margin:16px auto; }.deposit-qr-wrap img { width:190px; height:190px; padding:7px; border:1px solid var(--nk-border-default); border-radius:10px; background:#fff; object-fit:contain; }.deposit-qr-wrap span { color:var(--nk-text-muted); font-size:10px; }
.deposit-address-box { display:flex; align-items:stretch; gap:8px; margin-top:8px; padding:9px; border:1px solid var(--nk-border-default); border-radius:9px; background:#f7f9ff; }.deposit-address-box code { align-self:center; min-width:0; overflow-wrap:anywhere; color:var(--nk-text-primary); font-size:11px; }.deposit-address-box button { display:inline-flex; flex:0 0 auto; align-items:center; gap:5px; padding:7px 9px; border:1px solid var(--nk-border-default); border-radius:7px; color:var(--nk-accent-blue); background:#fff; font-size:10px; font-weight:800; }
.deposit-status-panel { display:grid; align-content:start; gap:12px; padding:18px; border:1px solid var(--nk-border-default); border-radius:12px; background:#f9fbff; }.deposit-status-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:50%; color:#a16400; background:#fff0d1; font-size:18px; }.deposit-status-panel h3 { margin:0; color:var(--nk-text-primary); font-size:16px; font-weight:800; }.deposit-status-panel p { margin:0; color:var(--nk-text-muted); font-size:11px; line-height:1.5; }.deposit-order-detail { display:flex; justify-content:space-between; gap:8px; padding-top:10px; border-top:1px solid var(--nk-border-subtle); }.deposit-order-detail span { color:var(--nk-text-muted); font-size:10px; }.deposit-order-detail strong { color:var(--nk-text-primary); font-size:10px; text-align:right; }.deposit-history-link { color:var(--nk-accent-blue); font-size:11px; font-weight:800; text-align:center; text-decoration:none; }.deposit-spinner { width:14px; height:14px; border:2px solid rgba(255,255,255,.45); border-top-color:#fff; border-radius:50%; animation:deposit-spin .7s linear infinite; }
.deposit-history-heading { margin-bottom:0; }.deposit-history-primary { display:inline-flex; align-items:center; gap:7px; padding:10px 13px; border-radius:8px; color:#fff; background:linear-gradient(110deg,#287fff,#ff9d00); font-size:11px; font-weight:800; text-decoration:none; }.deposit-history-panel { padding:10px 14px 14px; }.deposit-history-status { display:inline-flex; padding:5px 8px; border-radius:99px; color:#9b6100; background:#fff3dc; font-size:10px; font-weight:800; }.deposit-history-status--completed { color:#18794e; background:#e8f8ef; }.deposit-history-status--failed,.deposit-history-status--rejected { color:#bd3030; background:#ffebeb; }.deposit-history-status--processing { color:#245fb7; background:#eaf2ff; }.deposit-history-status--pending { color:#9b6100; background:#fff3dc; }
@keyframes deposit-pulse { 50% { opacity:.35; } }@keyframes deposit-spin { to { transform:rotate(360deg); } }
@media(max-width:900px){.deposit-content-grid{grid-template-columns:1fr;}.deposit-aside-card{grid-template-columns:auto 1fr;align-items:start;}.deposit-aside-card ul,.deposit-aside-card>a{grid-column:1/-1;}}
@media(max-width:680px){.deposit-hero{align-items:flex-start;flex-direction:column;}.deposit-hero-balance{width:100%;}.deposit-checkout-grid{grid-template-columns:1fr;}.deposit-card-heading{flex-wrap:wrap;}.deposit-network-field{align-items:flex-start;}.deposit-verified{margin-left:0;}}
@media(max-width:420px){.deposit-quick-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}.deposit-quick-amounts button{min-width:0;}.deposit-address-box{flex-direction:column;}.deposit-address-box button{justify-content:center;}.deposit-aside-card{grid-template-columns:1fr;}.deposit-aside-card ul,.deposit-aside-card>a{grid-column:auto;}}

@media (prefers-reduced-motion: reduce) {
    .user-dashboard { animation: none; }
    .user-stat-card, .user-panel-card, .user-button { transition: none; }
}


/* Member support inbox and ticket conversation. */
.admin-form-field textarea { width:100%; min-height:120px; padding:11px 13px; border:1px solid var(--nk-border-default); border-radius:9px; outline:0; color:var(--nk-text-primary); background:#fff; font:inherit; resize:vertical; }
.admin-form-field textarea:focus { border-color:var(--nk-accent-blue); box-shadow:0 0 0 3px rgba(40,127,255,.12); }
.support-form-field--full { grid-column:1/-1; }
.support-list-panel,.support-form-panel,.support-conversation-panel { min-width:0; padding:20px; }
.support-list-panel .income-detail-heading,.support-conversation-panel .income-detail-heading { align-items:center; }
.support-hero-actions { display:flex; align-items:center; gap:10px; }
.support-priority,.support-status { display:inline-flex; align-items:center; width:max-content; max-width:100%; padding:5px 9px; border-radius:999px; font-size:10px; font-weight:800; text-transform:capitalize; }
.support-priority--low { color:#49627f; background:#edf2f8; }.support-priority--normal { color:#215ea8; background:#eaf2ff; }.support-priority--high { color:#a64b00; background:#fff0dc; }
.support-status--open,.support-status--in_progress { color:#215ea8; background:#eaf2ff; }.support-status--waiting_user { color:#9a6500; background:#fff3dc; }.support-status--resolved,.support-status--closed { color:#18794e; background:#e8f8ef; }
.support-conversation { display:grid; gap:14px; max-height:620px; overflow:auto; padding:4px 2px 18px; }
.support-message { width:min(82%,760px); padding:14px 16px; border:1px solid var(--nk-border-default); border-radius:14px; background:#fff; box-shadow:var(--nk-shadow-sm); }
.support-message--user { justify-self:end; border-color:rgba(40,127,255,.22); background:#f4f8ff; }
.support-message--support { justify-self:start; border-color:rgba(255,157,0,.24); background:#fffaf1; }
.support-message__meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.support-message__meta strong { color:var(--nk-text-primary); font-size:12px; }.support-message__meta time { color:var(--nk-text-muted); font-size:10px; }
.support-message__body { color:var(--nk-text-secondary); font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.support-reply-form { display:grid; justify-items:start; gap:12px; padding-top:16px; border-top:1px solid var(--nk-border-subtle); }
.support-reply-form .admin-form-field { width:100%; }
.support-member-card { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; padding:16px 20px; }
.support-member-card__identity { display:grid; gap:5px; }.support-member-card__identity > span { padding-left:54px; color:var(--nk-text-muted); font-size:11px; }
.support-status-form { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }.support-status-form label { color:var(--nk-text-muted); font-size:11px; font-weight:700; }
.support-status-form select { min-height:40px; padding:8px 10px; border:1px solid var(--nk-border-default); border-radius:9px; color:var(--nk-text-primary); background:#fff; }
@media(max-width:767.98px){.support-list-panel,.support-form-panel,.support-conversation-panel{padding:15px;}.support-message{width:min(94%,760px);}.support-member-card{align-items:stretch;flex-direction:column;}.support-status-form{align-items:stretch;}.support-status-form select{flex:1;}}

/* Account profile pages: compact overview beside clearly grouped edit and security forms. */
.user-profile-page-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 22px; border:1px solid var(--nk-border-default); border-radius:15px; background:linear-gradient(110deg,#fff,#f2f7ff 72%,#fff8ec); box-shadow:var(--nk-shadow-sm); }
.user-profile-page-heading h1 { margin:4px 0; color:var(--nk-text-primary); font-size:clamp(22px,2.4vw,30px); font-weight:850; }
.user-profile-page-heading p { margin:0; color:var(--nk-text-muted); font-size:12px; }
.user-profile-wallets { grid-template-columns:repeat(4,minmax(0,1fr)); }
.user-profile-layout,.account-profile-layout { display:grid; grid-template-columns:minmax(255px,.78fr) minmax(0,1.55fr); align-items:start; gap:18px; }
.user-profile-aside,.user-profile-settings,.account-profile-aside,.account-profile-settings { display:grid; align-content:start; gap:16px; min-width:0; }
.user-profile-identity-card { min-width:0; padding:20px; }
.user-profile-identity { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.user-profile-name { margin:13px 0 4px; overflow-wrap:anywhere; }
.user-profile-name h2 { margin:4px 0; color:var(--nk-text-primary); font-size:20px; font-weight:850; }
.user-profile-name p { margin:2px 0; color:var(--nk-text-muted); font-size:11px; overflow-wrap:anywhere; }
.user-profile-facts { display:grid; gap:0; margin-top:14px; border-top:1px solid var(--nk-border-subtle); }
.user-profile-fact { display:grid; gap:4px; padding:10px 0; border-bottom:1px solid var(--nk-border-subtle); }
.user-profile-fact > span,.account-profile-summary__facts span { color:var(--nk-text-muted); font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.user-profile-fact strong,.account-profile-summary__facts strong { color:var(--nk-text-primary); font-size:12px; overflow-wrap:anywhere; }
.user-profile-fact small { color:var(--nk-text-muted); font-size:10px; }
.user-profile-fact--member { grid-template-columns:minmax(0,1fr) auto; align-items:center; }
.user-profile-fact--member > span { grid-column:1/-1; }
.user-profile-fact--member .member-copy-button { grid-column:2; grid-row:2; }
.profile-settings-card { min-width:0; padding:20px; }
.profile-panel-heading { display:flex; align-items:center; gap:12px; margin-bottom:17px; padding-bottom:14px; border-bottom:1px solid var(--nk-border-subtle); }
.profile-panel-heading > div { min-width:0; }
.profile-panel-heading h2 { margin:0 0 4px; color:var(--nk-text-primary); font-size:16px; font-weight:850; }
.profile-panel-heading p { margin:0; color:var(--nk-text-muted); font-size:11px; line-height:1.5; }
.profile-form-grid { gap:15px; }
.profile-form-grid .admin-form-field { gap:6px; }
.profile-form-grid .admin-form-field label { font-size:11px; text-transform:uppercase; letter-spacing:.04em; }
.profile-form-grid .admin-form-field input { min-height:42px; }
.profile-form-grid .admin-form-field input::placeholder { color:#8b9ab4; opacity:1; }
.profile-form-field--full,.profile-form-actions { grid-column:1/-1; }
.profile-form-actions { display:flex; justify-content:flex-end; padding-top:2px; }
.account-profile-summary { display:grid; justify-items:center; padding:24px 20px; text-align:center; }
.account-profile-avatar { display:grid; width:64px; height:64px; place-items:center; margin-bottom:15px; border:1px solid rgba(255,157,0,.3); border-radius:18px; color:var(--nk-accent-orange); background:#fff7e8; box-shadow:0 8px 22px rgba(255,157,0,.12); font-size:26px; }
.account-profile-summary h2 { margin:4px 0; color:var(--nk-text-primary); font-size:20px; font-weight:850; overflow-wrap:anywhere; }
.account-profile-summary > p { margin:0; color:var(--nk-text-muted); font-size:12px; overflow-wrap:anywhere; }
.account-profile-summary__facts { display:grid; width:100%; gap:0; margin-top:16px; border-top:1px solid var(--nk-border-subtle); text-align:left; }
.account-profile-summary__facts > div { display:grid; gap:4px; padding:11px 0; border-bottom:1px solid var(--nk-border-subtle); }
.account-profile-security-note { display:flex; align-items:flex-start; gap:9px; margin-top:16px; padding:12px; border:1px solid rgba(40,127,255,.18); border-radius:10px; color:var(--nk-text-muted); background:#f4f8ff; font-size:10px; line-height:1.5; text-align:left; }
.account-profile-security-note i { color:var(--nk-accent-blue); font-size:15px; }
.account-profile-settings .profile-settings-card { padding:20px; }
@media(max-width:1050px){.user-profile-layout,.account-profile-layout{grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);gap:14px;}.user-profile-wallets{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:800px){.user-profile-layout,.account-profile-layout{grid-template-columns:1fr;}.user-profile-aside{order:0;}.user-profile-settings{order:1;}.account-profile-aside{order:0;}.account-profile-settings{order:1;}.account-profile-summary{justify-items:start;text-align:left;}.account-profile-summary__facts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;}.account-profile-security-note{width:100%;}}
@media(max-width:575.98px){.user-profile-page-heading{align-items:flex-start;padding:15px;}.user-profile-page-heading .income-report-hero-icon{flex-basis:42px;width:42px;height:42px;}.user-profile-wallets{grid-template-columns:1fr 1fr;gap:8px;}.user-profile-wallets .member-dashboard-card{gap:8px;padding:12px;}.user-profile-wallets .member-dashboard-card strong{font-size:16px;}.user-profile-wallets .member-card-icon{width:32px;height:32px;}.user-profile-identity-card,.profile-settings-card,.account-profile-settings .profile-settings-card{padding:15px;}.profile-form-grid{grid-template-columns:1fr;gap:13px;}.profile-form-field--full,.profile-form-actions{grid-column:1;}.profile-form-actions{justify-content:stretch;}.profile-form-actions .admin-action{width:100%;}.account-profile-summary__facts{grid-template-columns:1fr 1fr;}}

/* Shared package catalog and purchase history layout. */
.package-page { display:grid; gap:20px; max-width:1240px; margin-inline:auto; padding-bottom:28px; }
.package-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px clamp(18px,3vw,34px); border:1px solid var(--nk-border-default); border-radius:18px; background:linear-gradient(120deg,#fff 0%,#f4f8ff 68%,#fff8e9 100%); box-shadow:var(--nk-shadow-sm); }
.package-hero h2,.package-tier-heading h2 { margin:6px 0; color:var(--nk-text-primary); font-size:clamp(21px,2vw,29px); font-weight:800; }
.package-hero p { max-width:700px; margin:0; color:var(--nk-text-muted); line-height:1.7; }
.package-wallet { display:grid; flex:0 0 auto; gap:3px; padding:14px 18px; border:1px solid var(--nk-border-default); border-radius:14px; background:#fff; }
.package-wallet span,.package-card dl dt { color:var(--nk-text-muted); font-size:11px; font-weight:700; }
.package-wallet strong { color:var(--nk-text-primary); font-size:22px; }
.package-wallet a,.package-insufficient { color:var(--nk-accent-blue); font-size:12px; font-weight:700; }
.package-rule-note,.package-error { display:flex; align-items:flex-start; gap:10px; padding:13px 16px; border:1px solid rgba(40,127,255,.2); border-radius:12px; color:#365681; background:#f2f7ff; font-size:12px; line-height:1.6; }
.package-rule-note i,.package-error i { flex:0 0 auto; margin-top:2px; color:var(--nk-accent-blue); }
.package-error { border-color:rgba(220,53,69,.22); color:#842029; background:#fff3f3; }
.package-error i { color:#dc3545; }
.package-error--info { border-color:rgba(255,157,0,.26); color:#76510c; background:#fff9ed; }
.package-error--info i { color:var(--nk-accent-orange); }
.package-tier { display:grid; gap:14px; }
.package-tier-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.package-tier-heading h2 { margin-bottom:0; font-size:21px; }
.package-tier-heading > span { color:var(--nk-text-muted); font-size:12px; }
.package-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr)); gap:14px; }
.package-card { display:grid; align-content:start; gap:12px; min-width:0; padding:18px; border:1px solid var(--nk-border-default); border-top:3px solid var(--nk-accent-blue); border-radius:15px; background:#fff; box-shadow:var(--nk-shadow-sm); transition:transform .2s ease,box-shadow .2s ease; }
.package-card:hover { transform:translateY(-3px); box-shadow:var(--nk-shadow-md); }
.package-card--premium { border-top-color:var(--nk-accent-orange); }
.package-card-top { display:flex; align-items:center; justify-content:space-between; }
.package-card-icon { display:grid; width:38px; height:38px; place-items:center; border-radius:11px; color:var(--nk-accent-blue); background:#edf4ff; font-size:18px; }
.package-card--premium .package-card-icon { color:#d77d00; background:#fff4e1; }
.package-tier-pill { padding:5px 9px; border-radius:99px; color:#2368c9; background:#edf4ff; font-size:10px; font-weight:800; }
.package-card--premium .package-tier-pill { color:#a95e00; background:#fff4e1; }
.package-card h3 { margin:0; color:var(--nk-text-primary); font-size:15px; font-weight:800; }
.package-price { margin:0; color:var(--nk-text-primary); font-size:31px; font-weight:900; letter-spacing:-.04em; }
.package-price small { color:var(--nk-text-muted); font-size:11px; font-weight:700; letter-spacing:0; }
.package-card dl { display:grid; gap:0; margin:0; padding:7px 0; border-top:1px solid var(--nk-border-default); border-bottom:1px solid var(--nk-border-default); }
.package-card dl > div { display:flex; justify-content:space-between; gap:10px; padding:7px 0; }
.package-card dl dt { overflow-wrap:anywhere; }
.package-card dl dd { margin:0; color:var(--nk-text-primary); font-size:11px; font-weight:800; text-align:right; white-space:nowrap; }
.package-card dl .package-total { border-top:1px dashed var(--nk-border-default); }
.package-card dl .package-total dt,.package-card dl .package-total dd { color:var(--nk-accent-orange); font-weight:800; }
.package-card .deposit-submit { min-height:42px; }
.package-card .deposit-submit:disabled { cursor:not-allowed; opacity:.55; filter:grayscale(.3); }
.package-insufficient { display:block; margin-top:-5px; text-align:center; }
.package-toggle { display:flex; align-items:center; gap:9px; cursor:pointer; }
.package-toggle input { accent-color:var(--nk-accent-blue); }
.admin-form-field--checkbox { align-content:center; }
.package-history { min-width:980px; }
@media (max-width:700px) {
    .package-hero { align-items:stretch; flex-direction:column; padding:19px; }
    .package-wallet { flex:1 1 auto; }
    .package-tier-heading { align-items:flex-start; }
    .package-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); }
}

/* Income reports: readable summaries and compact mobile scrolling for ledger details. */
.income-report-page { display:grid; width:100%; gap:18px; margin:0; padding-bottom:28px; }
.income-report-hero { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px clamp(18px,3vw,30px); border:1px solid var(--nk-border-default); border-radius:16px; background:linear-gradient(115deg,#fff,#f2f7ff 72%,#fff7e8); box-shadow:var(--nk-shadow-sm); }
.income-report-hero h2 { margin:6px 0; color:var(--nk-text-primary); font-size:clamp(21px,2.2vw,28px); font-weight:850; }
.income-report-hero p { margin:0; color:var(--nk-text-muted); font-size:13px; line-height:1.6; }
.income-report-hero-icon { display:grid; flex:0 0 52px; width:52px; height:52px; place-items:center; border-radius:15px; color:#fff; background:linear-gradient(135deg,var(--nk-accent-blue),#00b9d8); box-shadow:0 8px 20px rgba(40,127,255,.22); font-size:23px; }
.income-summary-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr)); gap:12px; }
.income-summary-card { display:grid; gap:7px; min-width:0; padding:16px; border:1px solid var(--nk-border-default); border-left:3px solid var(--nk-accent-blue); border-radius:13px; color:inherit; background:#fff; box-shadow:var(--nk-shadow-sm); text-decoration:none; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.income-summary-card:hover,.income-summary-card.is-selected { transform:translateY(-2px); border-color:var(--nk-accent-blue); box-shadow:var(--nk-shadow-md); }
.income-summary-card--level { border-left-color:#7d63e9; }.income-summary-card--salary { border-left-color:var(--nk-accent-orange); }.income-summary-card--nft { border-left-color:#08a9b8; }.income-summary-card--rewards { border-left-color:#16a477; }.income-summary-card--spin { border-left-color:#e35a75; }.income-summary-card--other { border-left-color:#8190a8; }.income-summary-card--total { border-left-color:#111f49; }
.income-summary-card > span { color:var(--nk-text-muted); font-size:11px; font-weight:750; }
.income-summary-card strong { overflow:hidden; color:var(--nk-text-primary); font-size:clamp(19px,2vw,24px); font-weight:900; text-overflow:ellipsis; }
.income-summary-card small { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--nk-text-muted); font-size:10px; }
.income-summary-card small i { color:var(--nk-accent-orange); }
.income-detail-panel { overflow:hidden; padding:18px; }
.income-detail-heading { display:flex; justify-content:space-between; gap:12px; margin-bottom:14px; }
.roi-audit-heading { margin:0; padding:20px 24px 14px; }
.roi-audit-empty { min-height:190px; padding:24px; box-sizing:border-box; }
.rank-requirements-panel .income-detail-heading { margin:0; padding:20px 24px 14px; }
.rank-ledger-panel .income-detail-heading { margin:0; padding:20px 24px 12px; }
.rank-ledger-panel .admin-empty { min-height:170px; }
.income-detail-heading h2 { margin:4px 0; color:var(--nk-text-primary); font-size:19px; font-weight:850; }
.income-detail-heading h2 small { color:var(--nk-text-muted); font-size:13px; font-weight:650; }
.income-detail-heading p { margin:0; color:var(--nk-text-muted); font-size:12px; }
.income-report-filters { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:14px; }
.income-report-filters select,.income-report-filters input:not([type=search]) { min-height:40px; max-width:190px; padding:7px 10px; border:1px solid var(--nk-border-default); border-radius:9px; color:var(--nk-text-primary); background:#fff; font-size:11px; }
.income-report-filters .admin-search__field { flex:1 1 220px; min-width:170px; }
.income-report-table { min-width:980px; }
.income-report-table td { vertical-align:middle; }
.income-type-chip { display:inline-flex; max-width:180px; padding:5px 8px; border-radius:99px; color:#245eaf; background:#edf4ff; font-size:10px; font-weight:800; white-space:nowrap; }
.income-credit-amount { color:#12805d !important; font-weight:850; white-space:nowrap; }
.income-remarks { min-width:180px; max-width:280px; white-space:normal !important; line-height:1.5; }
@media (max-width:640px) {
    .income-report-hero { align-items:flex-start; }
    .income-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .income-summary-card { padding:12px; }
    .income-summary-card strong { font-size:18px; }
    .income-summary-card small { font-size:9px; }
    .income-detail-panel { padding:13px; }
    .income-report-filters { display:grid; grid-template-columns:1fr 1fr; }
    .income-report-filters select,.income-report-filters input:not([type=search]) { max-width:none; width:100%; }
    .income-report-filters .admin-search__field { grid-column:1/-1; width:100%; }
    .income-report-filters > button { grid-column:1/-1; width:100%; }
}
@media (max-width:380px) {
    .income-summary-grid { grid-template-columns:1fr; }
    .income-report-filters { grid-template-columns:1fr; }
    .income-report-filters .admin-search__field,.income-report-filters > button { grid-column:auto; }
}
@media (max-width:480px) {
    .package-grid { grid-template-columns:1fr; }
    .package-card { padding:16px; }
    .package-tier-heading h2 { font-size:18px; }
}

/* Shared admin records and error screens */
.auth-screen { min-height: 100vh; padding: 0; }
.auth-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(360px, .92fr) minmax(440px, 1.08fr); overflow: hidden; background: rgba(255,255,255,.96); }
.auth-visual { position: relative; display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(30px, 5vw, 72px); color: #fff; background: radial-gradient(circle at 76% 78%, rgba(40,127,255,.44), transparent 34%), linear-gradient(145deg, #081737, #102b5c 55%, #09152e); }
.auth-visual::before, .auth-visual::after { position: absolute; border: 1px solid rgba(97,174,255,.22); border-radius: 50%; content: ''; pointer-events: none; }
.auth-visual::before { right: -180px; bottom: 8%; width: 520px; height: 520px; box-shadow: 0 0 0 34px rgba(40,127,255,.04), 0 0 0 70px rgba(40,127,255,.035); }
.auth-visual::after { right: -80px; bottom: 22%; width: 330px; height: 330px; border-color: rgba(255,157,0,.32); }
.auth-brand, .auth-mobile-brand { position: relative; z-index: 1; display: inline-flex; width: fit-content; }
.auth-brand img, .auth-mobile-brand img { display: block; width: min(210px, 52vw); max-height: 64px; object-fit: contain; }
.auth-visual__copy { position: relative; z-index: 1; max-width: 610px; margin: auto 0; padding: 54px 0; }
.auth-visual__eyebrow, .auth-form-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--nk-accent-orange); font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.auth-visual__eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--nk-accent-orange); box-shadow: 0 0 14px var(--nk-accent-orange); }
.auth-visual__copy h1 { max-width: 570px; margin: 20px 0 16px; color: #fff; font-size: clamp(38px, 5vw, 66px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; }
.auth-visual__copy p { max-width: 480px; color: rgba(224,235,255,.78); font-size: 16px; line-height: 1.8; }
.auth-visual__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.auth-visual__chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(196,219,255,.2); border-radius: 99px; color: rgba(255,255,255,.92); background: rgba(255,255,255,.07); font-size: 11px; }
.auth-visual__chips i { color: #69b9ff; }
.auth-visual__foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 18px; color: rgba(224,235,255,.6); font-size: 10px; }
.auth-visual__foot span:first-child { color: #fff; font-weight: 800; letter-spacing: .12em; }
.auth-orbit { position: absolute; z-index: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--nk-accent-orange); box-shadow: 0 0 24px var(--nk-accent-orange); animation: auth-float 4s ease-in-out infinite; }
.auth-orbit--one { top: 24%; right: 18%; }.auth-orbit--two { right: 35%; bottom: 20%; width: 6px; height: 6px; animation-delay: -2s; }
.auth-form-side { display: grid; place-items: center; padding: 48px clamp(24px, 7vw, 100px); background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(246,249,255,.94)); }
.auth-form-wrap { width: min(100%, 450px); animation: brand-rise .42s ease both; }
.auth-mobile-brand { display: none; margin-bottom: 38px; }
.auth-form-heading { margin-bottom: 28px; }
.auth-form-kicker { color: var(--nk-accent-blue); }
.auth-form-heading h2 { margin: 9px 0 7px; color: var(--nk-text-primary); font-size: clamp(30px, 4vw, 40px); font-weight: 900; letter-spacing: -.04em; }
.auth-form-heading p { margin: 0; color: var(--nk-text-muted); font-size: 14px; line-height: 1.6; }
.auth-form { display: grid; gap: 18px; }
.auth-field { display: grid; gap: 8px; }
.auth-field > label, .auth-label-row label { margin: 0; color: var(--nk-text-primary); font-size: 12px; font-weight: 700; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-label-row a, .auth-switch-link a { color: #1e72e8; font-weight: 700; text-decoration: none; }
.auth-label-row a:hover, .auth-switch-link a:hover { color: var(--nk-accent-orange); }
.auth-input-wrap { position: relative; }
.auth-input-wrap > i { position: absolute; top: 50%; left: 15px; color: #7f91b1; font-size: 15px; transform: translateY(-50%); pointer-events: none; }
.auth-input-wrap input { width: 100%; min-height: 50px; padding: 12px 14px 12px 43px; border: 1px solid #dce5f4; border-radius: 11px; outline: 0; color: var(--nk-text-primary); background: #fff; font-size: 13px; transition: border-color .18s ease, box-shadow .18s ease; }
.auth-input-wrap input::placeholder { color: #a1adc2; }
.auth-input-wrap--password input { padding-right: 48px; }
.auth-password-toggle { position: absolute; top: 50%; right: 10px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 0; border-radius: 8px; color: #7182a3; background: transparent; font-size: 16px; transform: translateY(-50%); transition: color .18s ease, background .18s ease; cursor: pointer; }
.auth-password-toggle:hover, .auth-password-toggle:focus-visible { color: var(--nk-accent-blue); background: #eff5ff; outline: 0; }
.auth-input-wrap input:focus { border-color: var(--nk-accent-blue); box-shadow: 0 0 0 4px rgba(40,127,255,.1); }
.auth-input-wrap input[aria-invalid="true"] { border-color: #e45252; }
.auth-field-error { color: #c83434; font-size: 11px; }
.auth-field-hint { color: var(--nk-text-muted); font-size: 10px; }
.auth-otp-group { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.auth-otp-digit { width: 100%; min-width: 0; height: 58px; padding: 0; border: 1px solid #dce5f4; border-radius: 11px; outline: 0; color: var(--nk-text-primary); background: #fff; box-shadow: 0 3px 10px rgba(32,69,133,.035); font-size: 22px; font-weight: 800; text-align: center; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.auth-otp-digit:focus { transform: translateY(-2px); border-color: var(--nk-accent-blue); box-shadow: 0 0 0 4px rgba(40,127,255,.12); }
.auth-otp-digit[aria-invalid="true"] { border-color: #e45252; }
.auth-checkbox { display: flex; align-items: flex-start; gap: 9px; color: var(--nk-text-secondary); font-size: 11px; line-height: 1.5; cursor: pointer; }
.auth-checkbox input { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--nk-accent-blue); }
.auth-checkbox--terms a { color: #1e72e8; font-weight: 700; }
.auth-submit { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(105deg, #287fff, #ff9d00); box-shadow: 0 10px 22px rgba(40,127,255,.2); font-size: 13px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease; cursor: pointer; }
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(40,127,255,.25); }
.auth-switch-link { color: var(--nk-text-muted); font-size: 11px; text-align: center; }
.auth-separator { display: flex; align-items: center; gap: 12px; color: #9ba9c1; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.auth-separator::before, .auth-separator::after { height: 1px; flex: 1; background: #e5ebf5; content: ''; }
.auth-help-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--nk-text-muted); font-size: 10px; line-height: 1.6; }
.auth-help-note i { color: #1e9b72; font-size: 13px; }
.auth-form-footer { margin-top: 34px; color: #9ba9c1; font-size: 10px; text-align: center; }
.auth-form-footer span { padding-inline: 6px; color: var(--nk-accent-orange); }
.auth-form--register { gap: 13px; }
.auth-back-form { margin-top: 16px; text-align: center; }
.auth-back-link { padding: 6px 8px; border: 0; color: var(--nk-text-muted); background: transparent; font-size: 11px; cursor: pointer; }
.auth-back-link:hover { color: var(--nk-accent-orange); }
.secure-access-card { display: grid; justify-items: center; padding: 28px 24px; border: 1px solid var(--nk-border-default); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: var(--nk-shadow-md); text-align: center; animation: brand-rise .35s ease both; }
.secure-access-card__icon { position: relative; display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid rgba(40,127,255,.18); border-radius: 24px; color: var(--nk-accent-blue); background: linear-gradient(145deg, #eff6ff, #fff8eb); box-shadow: 0 10px 28px rgba(40,127,255,.12); font-size: 34px; }
.secure-access-card__icon > span { position: absolute; right: -6px; bottom: -5px; display: grid; width: 25px; height: 25px; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: #20ad78; font-size: 13px; }
.secure-access-card__status { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: #16875e; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.secure-access-card__status i { width: 7px; height: 7px; border-radius: 50%; background: #20ad78; box-shadow: 0 0 0 4px rgba(32,173,120,.12); }
.secure-access-card h3 { margin: 8px 0; color: var(--nk-text-primary); font-size: 22px; font-weight: 850; }
.secure-access-card p { max-width: 340px; margin: 0; color: var(--nk-text-muted); font-size: 12px; line-height: 1.7; }
.secure-access-card p strong { color: var(--nk-text-primary); }
.secure-access-card__continue { width: 100%; margin-top: 24px; text-decoration: none; }
.secure-access-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; color: var(--nk-text-muted); font-size: 10px; }
.secure-access-note i { color: #16875e; }
.auth-screen--admin .auth-visual { background: radial-gradient(circle at 75% 78%, rgba(255,157,0,.18), transparent 34%), linear-gradient(145deg, #081737, #102b5c 55%, #09152e); }
@keyframes auth-float { 0%, 100% { transform: translateY(0); opacity: .75; } 50% { transform: translateY(-13px); opacity: 1; } }
@media (max-width: 991.98px) { .auth-shell { grid-template-columns: minmax(280px, .85fr) minmax(400px, 1.15fr); }.auth-visual { padding: 34px; }.auth-form-side { padding-inline: 42px; } }
@media (max-width: 767.98px) { .auth-shell { display: block; min-height: 100vh; }.auth-visual { display: none; }.auth-form-side { min-height: 100vh; padding: 36px 22px; }.auth-form-wrap { width: min(100%, 460px); }.auth-mobile-brand { display: inline-flex; }.auth-mobile-brand img { width: 175px; max-height: 55px; }.auth-form-heading { margin-bottom: 24px; }.auth-form-footer { margin-top: 26px; }.auth-otp-group { gap: 8px; }.auth-otp-digit { height: 54px; border-radius: 9px; font-size: 20px; } }
.auth-screen--user, .auth-screen--admin { background: #f4f7ff; }
.auth-screen .app-loader { z-index: 30; }
.admin-page { width: 100%; max-width: none; margin: 0 0 24px; animation: brand-rise .35s ease both; }
.admin-page--narrow { max-width: 980px; margin-inline: auto; }
.admin-page__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.admin-page__heading h1 { margin: 4px 0 6px; color: var(--nk-text-primary); font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.admin-page__heading p { margin: 0; color: var(--nk-text-muted); }
.admin-eyebrow { color: var(--nk-accent-orange); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.admin-heading-actions, .admin-form-actions, .error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-panel { overflow: hidden; border: 1px solid var(--nk-border-default); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: var(--nk-shadow-md); }
.admin-action { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; cursor: pointer; }
.admin-action:hover { transform: translateY(-1px); }
.admin-action--primary { color: #fff !important; background: linear-gradient(110deg, var(--nk-accent-blue), var(--nk-accent-orange)); box-shadow: 0 8px 18px rgba(40,127,255,.18); }
.admin-action--secondary { color: var(--nk-text-primary); border-color: var(--nk-border-default); background: #f7f9ff; }
.admin-action--quiet { color: var(--nk-text-secondary); border-color: var(--nk-border-default); background: #fff; }
.admin-search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--nk-border-subtle); }
.admin-search__field { position: relative; flex: 1 1 320px; min-width: 220px; }
.admin-search__field i { position: absolute; top: 50%; left: 14px; color: var(--nk-text-muted); transform: translateY(-50%); }
.admin-search__field input, .admin-form-field input, .admin-form-field select, .admin-search select { width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid var(--nk-border-default); border-radius: 9px; outline: 0; color: var(--nk-text-primary); background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.admin-search select { flex: 0 1 210px; width: auto; min-width: 155px; max-width: 220px; }
.admin-search > button { flex: 0 0 auto; white-space: nowrap; }
.admin-search__field input { padding-left: 40px; }
.admin-search__field input:focus, .admin-form-field input:focus, .admin-form-field select:focus, .admin-search select:focus { border-color: var(--nk-accent-blue); box-shadow: 0 0 0 3px rgba(40,127,255,.12); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; color: var(--nk-text-secondary); font-size: 13px; }
.admin-table th { padding: 13px 20px; color: var(--nk-text-muted); background: #f7f9ff; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 14px 20px; border-top: 1px solid var(--nk-border-subtle); white-space: nowrap; }
.admin-table tbody tr { transition: background .16s ease; }
.admin-table tbody tr:hover { background: #f9fbff; }
.admin-user-cell { display: flex; align-items: center; gap: 11px; color: var(--nk-text-primary); font-weight: 700; }
.admin-avatar { display: inline-grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, var(--nk-accent-blue), #43c0ee); font-size: 14px; font-weight: 800; }
.admin-row-actions { display: flex; justify-content: flex-end; gap: 7px; }
.admin-row-actions a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--nk-border-default); border-radius: 9px; color: var(--nk-text-secondary); text-decoration: none; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.admin-row-actions a:hover { color: var(--nk-accent-orange); border-color: rgba(255,157,0,.5); background: #fff8eb; }
.admin-empty { display: grid; min-height: 190px; place-content: center; justify-items: center; gap: 8px; color: var(--nk-text-muted); white-space: normal; text-align: center; }
.admin-empty i { color: var(--nk-accent-blue); font-size: 28px; }
.admin-empty strong { color: var(--nk-text-primary); font-size: 15px; }
.admin-form-panel { padding: clamp(18px, 3vw, 30px); }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-form-field { display: grid; align-content: start; gap: 8px; }
.admin-form-field label { color: var(--nk-text-primary); font-size: 13px; font-weight: 700; }
.admin-form-field label span { color: #d92d20; }
.admin-form-field input::placeholder { color: #9aa8bf; }
.admin-password-field { position: relative; }
.admin-password-field input { padding-right: 46px; }
.admin-password-field button { position: absolute; top: 50%; right: 8px; display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 7px; color: var(--nk-text-muted); background: transparent; transform: translateY(-50%); }
.admin-password-field button:hover { color: var(--nk-accent-blue); background: #f1f6ff; }
.admin-form-field small { color: var(--nk-text-muted); font-size: 11px; }
.admin-form-field input[aria-invalid="true"] { border-color: #e45252; }
.admin-form-error { color: #c83434; font-size: 12px; }
.admin-avatar--photo { object-fit: cover; }
.admin-copy-cell { display: flex; align-items: center; gap: 5px; }
.admin-copy-cell code { color: var(--nk-text-primary); }
.admin-copy-cell button, .admin-copy-cell a { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--nk-border-default); border-radius: 7px; color: var(--nk-accent-blue); background: #fff; }
.admin-account-badge { display: inline-flex; width: max-content; padding: 5px 9px; border-radius: 99px; color: #9b6100; background: #fff3dc; font-size: 11px; font-weight: 700; }
.admin-account-badge--active { color: #18794e; background: #e8f8ef; }
.admin-account-badge--blocked { color: #bd3030; background: #ffebeb; }
.admin-account-badge--inactive { color: #9b6100; background: #fff3dc; }
.member-dashboard { display:grid; gap:22px; padding-bottom:20px; }
.member-identity-card,.member-dashboard-card,.member-income-card,.member-dashboard-panel { border:1px solid var(--nk-border-default); border-radius:16px; background:rgba(255,255,255,.96); box-shadow:var(--nk-shadow-sm); }
.member-identity-card { padding:clamp(18px,3vw,28px); }
.member-identity-main { display:flex; align-items:center; gap:15px; padding-bottom:20px; border-bottom:1px solid var(--nk-border-subtle); }
.member-avatar { display:grid; flex:0 0 auto; width:58px; height:58px; place-items:center; border-radius:15px; color:#fff; background:linear-gradient(135deg,#2781ff,#24b9e7); font-size:22px; font-weight:800; }
.member-avatar--photo { object-fit:cover; }
.member-identity-copy { min-width:0; }
.member-dashboard-kicker { color:var(--nk-accent-orange); font-size:10px; font-weight:800; letter-spacing:.13em; }
.member-identity-copy h2 { margin:3px 0; color:var(--nk-text-primary); font-size:22px; font-weight:800; }
.member-identity-copy p { margin:0; color:var(--nk-text-muted); font-size:12px; overflow-wrap:anywhere; }
.member-status { display:inline-flex; align-items:center; gap:7px; margin-left:auto; padding:7px 11px; border-radius:99px; color:#9b6100; background:#fff3dc; font-size:11px; font-weight:800; }
.member-status i { width:7px; height:7px; border-radius:50%; background:currentColor; }
.member-status--active { color:#18794e; background:#e8f8ef; }
.member-status--blocked { color:#bd3030; background:#ffebeb; }
.member-account-meta { display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:18px; padding-top:18px; }
.member-account-meta > div { display:grid; align-content:start; gap:5px; min-width:0; }
.member-account-meta > div > span { color:var(--nk-text-muted); font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.member-account-meta strong { color:var(--nk-text-primary); font-size:13px; overflow-wrap:anywhere; }
.member-account-meta small { color:var(--nk-text-muted); font-size:11px; }
.member-id-block strong { font-size:16px; letter-spacing:.04em; }
.member-copy-button { display:inline-flex; align-items:center; gap:6px; width:max-content; max-width:100%; padding:5px 8px; border:1px solid var(--nk-border-default); border-radius:7px; color:var(--nk-accent-blue); background:#fff; font-size:10px; font-weight:700; }
.member-copy-button--share { color:#a16400; }
.member-dashboard-section { display:grid; gap:13px; }
.member-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.member-section-heading h2 { margin:4px 0 0; color:var(--nk-text-primary); font-size:20px; font-weight:800; }
.member-data-note,.member-total-income { display:inline-flex; align-items:center; gap:6px; color:var(--nk-text-muted); font-size:11px; }
.member-total-income strong { color:var(--nk-text-primary); font-size:14px; }
.member-card-grid { display:grid; gap:12px; }
.member-card-grid--wallet { grid-template-columns:repeat(4,minmax(0,1fr)); }
.member-dashboard-card { display:flex; align-items:flex-start; gap:12px; min-width:0; padding:17px; }
.member-dashboard-card--featured { border-color:rgba(255,157,0,.5); background:linear-gradient(135deg,#fff,#fff8eb); }
.member-card-icon { display:grid; flex:0 0 auto; width:38px; height:38px; place-items:center; border-radius:11px; color:#a16400; background:#fff0d1; }
.member-card-icon--blue { color:#287fff; background:#eaf2ff; }.member-card-icon--green { color:#16805a; background:#e7f8ef; }.member-card-icon--orange { color:#b66b00; background:#fff1de; }
.member-dashboard-card > div { display:grid; gap:4px; min-width:0; }
.member-dashboard-card > div > span,.member-income-card > span { color:var(--nk-text-muted); font-size:11px; font-weight:700; }
.member-dashboard-card strong,.member-income-card strong { color:var(--nk-text-primary); font-size:20px; overflow-wrap:anywhere; }
.member-dashboard-card small,.member-income-card small { color:var(--nk-text-muted); font-size:10px; line-height:1.4; }
.member-card-grid--income { grid-template-columns:repeat(5,minmax(0,1fr)); }
.member-income-card { display:grid; gap:8px; padding:15px; }
.member-income-card > i { display:grid; width:34px; height:34px; place-items:center; border-radius:10px; color:var(--nk-accent-blue); background:#eaf2ff; font-size:16px; }
.member-income-card:nth-child(2n) > i { color:#b66b00; background:#fff1de; }
.member-dashboard-bottom-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:16px; }
.member-dashboard-panel { min-width:0; padding:20px; }
.member-activity-list { display:grid; }
.member-activity-row { display:flex; align-items:center; gap:10px; padding:12px 0; border-top:1px solid var(--nk-border-subtle); }
.member-activity-icon { display:grid; flex:0 0 auto; width:32px; height:32px; place-items:center; border-radius:9px; color:#b66b00; background:#fff1de; }
.member-activity-icon--credit { color:#16805a; background:#e7f8ef; }.member-activity-icon--debit { color:#bd3030; background:#ffebeb; }
.member-activity-row > div { display:grid; gap:3px; min-width:0; }
.member-activity-row strong { color:var(--nk-text-primary); font-size:12px; }
.member-activity-row small { color:var(--nk-text-muted); font-size:10px; overflow-wrap:anywhere; }
.member-activity-row b { margin-left:auto; white-space:nowrap; font-size:12px; }.member-activity-row b.is-credit { color:#16805a; }.member-activity-row b.is-debit { color:#bd3030; }
.member-empty-state { display:grid; justify-items:center; gap:6px; padding:24px 10px; color:var(--nk-text-muted); text-align:center; }
.member-empty-state i { color:var(--nk-accent-blue); font-size:24px; }.member-empty-state strong { color:var(--nk-text-primary); font-size:13px; }.member-empty-state span { font-size:11px; }
.member-plan-info { display:flex; align-items:center; gap:12px; padding:14px; border-radius:11px; background:#f6f9ff; }
.network-page { gap:18px; }
.network-shortcut { align-items:center; color:inherit; text-decoration:none; transition:transform .18s ease,box-shadow .18s ease; }
.network-shortcut:hover { transform:translateY(-2px); box-shadow:var(--nk-shadow-md); }
.network-quick-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.network-quick-links a { display:flex; align-items:center; gap:12px; min-width:0; padding:16px; border:1px solid var(--nk-border-default); border-radius:13px; color:var(--nk-text-primary); background:rgba(255,255,255,.96); box-shadow:var(--nk-shadow-sm); text-decoration:none; }
.network-quick-links a > i:first-child { color:var(--nk-accent-blue); font-size:20px; }
.network-quick-links a > i:last-child { margin-left:auto; color:var(--nk-accent-orange); }
.network-quick-links a span { display:grid; gap:4px; min-width:0; }.network-quick-links strong { font-size:12px; }.network-quick-links small { color:var(--nk-text-muted); font-size:10px; }
.network-tree-root { display:flex; align-items:center; justify-content:center; gap:12px; width:max-content; max-width:100%; margin-inline:auto; padding:14px 22px; border:1px solid rgba(40,127,255,.25); border-radius:15px; background:#fff; box-shadow:var(--nk-shadow-sm); }
.network-tree-root > span:last-child,.network-tree-member__copy { display:grid; gap:3px; min-width:0; }.network-tree-root strong,.network-tree-member strong { color:var(--nk-text-primary); font-size:12px; }.network-tree-root small,.network-tree-member small { color:var(--nk-text-muted); font-size:10px; }
.network-tree-level { display:grid; gap:12px; padding:16px; border:1px solid var(--nk-border-default); border-radius:15px; background:rgba(255,255,255,.78); }
.network-tree-level h2 { margin:3px 0 0; color:var(--nk-text-primary); font-size:17px; }
.network-tree-members { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:10px; }
.network-tree-member { display:flex; align-items:center; gap:10px; min-width:0; padding:11px; border:1px solid var(--nk-border-subtle); border-radius:11px; background:#fff; }
.network-tree-member > img,.network-tree-avatar { display:grid; flex:0 0 40px; width:40px; height:40px; place-items:center; border-radius:11px; color:#fff; background:linear-gradient(135deg,#287fff,#24b9e7); font-size:14px; font-weight:800; object-fit:cover; }
.network-level-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px; }
.network-level-card { display:grid; gap:5px; padding:14px; border:1px solid var(--nk-border-default); border-radius:12px; background:#fff; }
.network-level-card span,.network-level-card small { color:var(--nk-text-muted); font-size:10px; }.network-level-card strong { color:var(--nk-text-primary); font-size:21px; }.network-level-card.is-unlocked { border-color:#a9e4c1; background:#f2fbf6; }.network-level-card.is-unlocked strong,.network-level-card.is-unlocked small { color:#16805a; }
.income-overview-cards { margin-bottom:0; }
.network-list-panel { overflow:hidden; }
@media(max-width:900px) { .network-quick-links { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .network-quick-links { grid-template-columns:1fr; }.network-tree-level { padding:12px; }.network-tree-members { grid-template-columns:1fr; } }
.member-plan-icon { display:grid; flex:0 0 auto; width:42px; height:42px; place-items:center; border-radius:11px; color:var(--nk-accent-blue); background:#e5efff; }
.member-plan-info > div { display:grid; gap:4px; }.member-plan-info small,.member-plan-info span:last-child { color:var(--nk-text-muted); font-size:10px; }.member-plan-info strong { color:var(--nk-text-primary); font-size:14px; }
.member-plan-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:14px 0; }.member-plan-stats div { display:grid; gap:4px; }.member-plan-stats span { color:var(--nk-text-muted); font-size:10px; }.member-plan-stats strong { color:var(--nk-text-primary); font-size:14px; }
.member-referral-link { display:flex; align-items:center; gap:7px; padding:11px 12px; border:1px solid var(--nk-border-default); border-radius:9px; color:var(--nk-accent-blue); font-size:11px; font-weight:700; text-decoration:none; }
.member-referral-link:hover { border-color:var(--nk-accent-orange); color:#a16400; }
.member-dashboard-overview-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; align-items:stretch; }
.member-dashboard-overview-grid > .member-dashboard-panel { min-width:0; padding:20px; }
.member-overview-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.member-overview-heading h2 { margin:4px 0 0; color:var(--nk-text-primary); font-size:18px; font-weight:800; }
.member-overview-heading > a { color:var(--nk-accent-blue); font-size:11px; font-weight:700; white-space:nowrap; text-decoration:none; }
.member-team-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.member-team-summary > div { display:grid; gap:4px; min-width:0; padding:13px; border:1px solid var(--nk-border-subtle); border-radius:11px; background:#fbfcff; }
.member-team-summary span { color:var(--nk-text-muted); font-size:10px; font-weight:700; }
.member-team-summary strong { color:var(--nk-text-primary); font-size:20px; overflow-wrap:anywhere; }
.member-team-summary small { color:var(--nk-text-muted); font-size:10px; }
.member-team-footnote { display:flex; align-items:center; gap:7px; margin-top:12px; color:var(--nk-text-muted); font-size:10px; }
.member-team-footnote i { color:var(--nk-accent-orange); }
.member-revenue-table-wrap { overflow-x:auto; }
.member-revenue-table { width:100%; border-collapse:collapse; font-size:11px; }
.member-revenue-table th { padding:10px 9px; color:var(--nk-text-muted); background:#f6f8fd; text-align:left; font-size:9px; letter-spacing:.05em; text-transform:uppercase; white-space:nowrap; }
.member-revenue-table td { padding:9px; border-bottom:1px solid var(--nk-border-subtle); color:var(--nk-text-secondary); white-space:nowrap; }
.member-revenue-table td:first-child { display:flex; align-items:center; gap:8px; color:var(--nk-text-primary); }
.member-revenue-icon { display:grid; flex:0 0 auto; width:27px; height:27px; place-items:center; border-radius:8px; color:var(--nk-accent-blue); background:#eaf2ff; }
.member-revenue-table tbody tr:nth-child(even) .member-revenue-icon { color:#a16400; background:#fff1de; }
.member-revenue-table tfoot th { padding:11px 9px 0; border-top:1px solid var(--nk-border-default); color:var(--nk-text-primary); background:#fff; font-size:10px; }
@media(max-width:1050px) { .member-dashboard-overview-grid { grid-template-columns:1fr; } }
@media(max-width:520px) { .member-dashboard-overview-grid > .member-dashboard-panel { padding:15px; }.member-team-summary { gap:7px; }.member-team-summary > div { padding:10px; }.member-overview-heading h2 { font-size:16px; } }

.admin-dashboard-page { display:grid; gap:18px; }
.admin-dashboard-welcome { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 24px; border:1px solid var(--nk-border-default); border-radius:15px; background:rgba(255,255,255,.96); box-shadow:var(--nk-shadow-sm); }
.admin-dashboard-welcome h1 { margin:4px 0; color:var(--nk-text-primary); font-size:22px; font-weight:800; }.admin-dashboard-welcome p { margin:0; color:var(--nk-text-muted); font-size:12px; }
.admin-dashboard-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.admin-dashboard-metrics.roi-schedule-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.admin-dashboard-metric { display:flex; align-items:flex-start; gap:12px; min-width:0; padding:16px; border:1px solid var(--nk-border-default); border-radius:13px; background:rgba(255,255,255,.97); box-shadow:var(--nk-shadow-sm); }
.admin-dashboard-metric__icon { display:grid; flex:0 0 auto; width:36px; height:36px; place-items:center; border-radius:10px; color:#a16400; background:#fff0d1; }.admin-dashboard-metric__icon.is-green { color:#16805a; background:#e7f8ef; }.admin-dashboard-metric__icon.is-blue { color:#287fff; background:#eaf2ff; }.admin-dashboard-metric__icon.is-orange { color:#b66b00; background:#fff1de; }.admin-dashboard-metric__icon.is-purple { color:#7149bd; background:#f1ebff; }.admin-dashboard-metric__icon.is-red { color:#bd3030; background:#ffebeb; }.admin-dashboard-metric__icon.is-gold { color:#a16400; background:#fff5d9; }
.admin-dashboard-metric > div { display:grid; gap:4px; min-width:0; }.admin-dashboard-metric small { color:var(--nk-text-muted); font-size:10px; font-weight:700; }.admin-dashboard-metric strong { color:var(--nk-text-primary); font-size:19px; overflow-wrap:anywhere; }.admin-dashboard-metric span:last-child { color:var(--nk-text-muted); font-size:10px; }
.admin-dashboard-tables { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }.admin-dashboard-table-panel { min-width:0; }
.admin-dashboard-table-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 20px 12px; }.admin-dashboard-table-heading h2 { margin:4px 0 0; color:var(--nk-text-primary); font-size:17px; font-weight:800; }.admin-dashboard-table-heading > a { color:var(--nk-accent-blue); font-size:11px; font-weight:700; text-decoration:none; white-space:nowrap; }.admin-table-caption { color:var(--nk-text-muted); font-size:10px; }
.admin-user-cell > span:last-child { display:grid; gap:3px; white-space:normal; }.admin-user-cell small { color:var(--nk-text-muted); font-size:10px; }.admin-row-action-link { display:grid; width:30px; height:30px; place-items:center; border:1px solid var(--nk-border-default); border-radius:8px; color:var(--nk-accent-blue); }
.deposit-status { display:inline-flex; padding:5px 8px; border-radius:99px; color:#946000; background:#fff3dc; font-size:10px; font-weight:700; }.deposit-status--completed { color:#18794e; background:#e8f8ef; }.deposit-status--failed,.deposit-status--rejected { color:#bd3030; background:#ffebeb; }.deposit-status--processing { color:#245fb7; background:#eaf2ff; }
@media(max-width:1100px){.member-card-grid--wallet{grid-template-columns:repeat(2,minmax(0,1fr));}.member-card-grid--income{grid-template-columns:repeat(3,minmax(0,1fr));}.member-account-meta{grid-template-columns:repeat(2,minmax(0,1fr));}.admin-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){.admin-dashboard-tables{grid-template-columns:1fr;}}
@media(max-width:760px){.member-dashboard-bottom-grid{grid-template-columns:1fr;}.admin-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}.admin-dashboard-welcome{align-items:flex-start;}.member-identity-main{flex-wrap:wrap;}.member-status{margin-left:auto;}}
@media(max-width:760px){.admin-dashboard-metrics.roi-schedule-grid{grid-template-columns:1fr;}}
@media(max-width:520px){.member-account-meta{gap:13px;}.member-card-grid--income{grid-template-columns:repeat(2,minmax(0,1fr));}.member-section-heading{align-items:flex-start;flex-direction:column;}.member-dashboard-panel{padding:15px;}.admin-dashboard-welcome{padding:16px;}.admin-dashboard-metric{padding:12px;gap:8px;}.admin-dashboard-metric strong{font-size:16px;}.admin-dashboard-metric__icon{width:32px;height:32px;}.admin-dashboard-table-heading{padding-inline:14px;}}
.admin-form-actions { justify-content: flex-end; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--nk-border-subtle); }
.admin-profile-card { padding: clamp(20px, 4vw, 36px); }
.admin-profile-card__identity { display: flex; align-items: center; gap: 15px; padding-bottom: 24px; border-bottom: 1px solid var(--nk-border-subtle); }
.admin-avatar--large { width: 58px; height: 58px; border-radius: 17px; font-size: 22px; }
.admin-profile-card__identity h2 { margin: 0 0 4px; color: var(--nk-text-primary); font-size: 20px; font-weight: 800; }
.admin-profile-card__identity p { margin: 0; color: var(--nk-text-muted); }
.admin-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 7px 10px; border-radius: 99px; color: #167a55; background: #e9f8f1; font-size: 11px; font-weight: 700; white-space: nowrap; }
.admin-status i { width: 7px; height: 7px; border-radius: 50%; background: #20b77a; }
.admin-detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.admin-detail-list div { padding: 18px 0; border-bottom: 1px solid var(--nk-border-subtle); }
.admin-detail-list dt { margin-bottom: 6px; color: var(--nk-text-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.admin-detail-list dd { margin: 0; color: var(--nk-text-primary); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.error-screen { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.error-card { width: min(100%, 620px); padding: clamp(28px, 6vw, 60px); border: 1px solid var(--nk-border-default); border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--nk-shadow-lg); text-align: center; animation: brand-rise .4s ease both; }
.error-brand img { width: min(220px, 60vw); height: auto; }
.error-code { display: block; margin-top: 28px; color: var(--nk-accent-orange); font-size: clamp(48px, 12vw, 78px); font-weight: 900; line-height: 1; }
.error-card h1 { margin: 14px 0 8px; color: var(--nk-text-primary); font-size: clamp(22px, 5vw, 30px); font-weight: 800; }
.error-card p { margin: 0 auto; max-width: 420px; color: var(--nk-text-muted); }
.error-actions { justify-content: center; margin-top: 26px; }
.error-foot { display: block; margin-top: 34px; color: var(--nk-text-muted); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.error-foot i { display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px; border-radius: 50%; background: var(--nk-accent-orange); }
@keyframes brand-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767.98px) {
    .admin-page__heading { align-items: flex-start; flex-direction: column; }
    .admin-heading-actions { width: 100%; }
    .admin-search { padding: 14px; }
    .admin-search__field { flex: 1 1 100%; min-width: 0; }
    .admin-search select { flex: 1 1 180px; width: auto; max-width: none; }
    .admin-table th, .admin-table td { padding-inline: 13px; }
    .admin-form-grid, .admin-detail-list { grid-template-columns: 1fr; }
    .admin-profile-card__identity { flex-wrap: wrap; }
    .admin-status { margin-left: 0; }
}

@keyframes app-loader-spin { to { transform: rotate(360deg); } }
@keyframes app-toast-enter { from { opacity: 0; transform: translate3d(18px, -4px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes app-toast-leave { to { opacity: 0; transform: translate3d(16px, 0, 0); } }
@keyframes app-dialog-enter { from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.98); } to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); } }

@media (max-width: 575.98px) {
    .app-toast-region { top: 10px; right: 10px; width: calc(100vw - 20px); }
}

@media (prefers-reduced-motion: reduce) {
    .app-loader__ring { animation-duration: 1.5s; }
    .app-toast, .app-toast.is-leaving, .swal2-show { animation-duration: 1ms !important; }
}

.nk-header-search .nk-search-icon,
.nk-header-icon .icon,
.nk-header-bar .bi {
    color: var(--nk-text-secondary);
}

.nk-header-right .dropdown-menu .dropdown-item,
.nk-header-right .dropdown-menu p,
.nk-header-right .dropdown-menu h6,
.nk-settings-panel,
.nk-settings-panel p,
.nk-settings-panel label {
    color: var(--nk-text-secondary);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--nk-accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(75, 145, 255, 0.15) !important;
}

.btn-primary,
.btn-info {
    --bs-btn-bg: var(--nk-accent-blue);
    --bs-btn-border-color: var(--nk-accent-blue);
    --bs-btn-hover-bg: #347be9;
    --bs-btn-hover-border-color: #347be9;
    --bs-btn-active-bg: #2869cd;
    --bs-btn-active-border-color: #2869cd;
}

.btn-warning {
    --bs-btn-bg: var(--nk-accent-orange);
    --bs-btn-border-color: var(--nk-accent-orange);
    --bs-btn-color: var(--nk-text-inverse);
    --bs-btn-hover-color: var(--nk-text-inverse);
}

@media (min-width: 992px) {
    .header-top-area {
        position: fixed;
        top: 0;
        left: 240px;
        right: 0;
    }

    .header-advance-area {
        padding-top: 64px;
    }

    .left-sidebar-pro,
    #sidebar {
        width: 240px;
    }

    #sidebar {
        min-width: 240px;
        max-width: 240px;
    }

    .all-content-wrapper {
        margin-left: 240px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .all-content-wrapper > .container-fluid:nth-of-type(2) {
        flex: 1 0 auto;
    }

    .header-top-area {
        left: 240px;
    }

    .mini-navbar .all-content-wrapper {
        margin-left: 80px;
    }

    .mini-navbar .header-top-area {
        left: 80px;
    }

    .footer-copyright-area {
        margin-top: auto !important;
    }

    #sidebar.active {
        width: 80px;
    }

    #sidebar.active .sidebar-header > a {
        display: none;
    }

    #sidebar.active .sidebar-header strong {
        display: block;
    }
}

@media (max-width: 991.98px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
        background-attachment: scroll;
        background-position: center, 72% center;
    }

    body::before {
        left: 0;
        opacity: 0.3;
    }

    body::after {
        opacity: 0.6;
    }

    .nk-header-bar .nk-header-mobile-brand { display: flex; margin-right: auto; }

    .left-sidebar-pro {
        position: fixed !important;
        inset: 0 auto 0 0;
        width: min(280px, calc(100vw - 48px));
        height: 100vh;
        height: 100dvh;
        z-index: 600 !important;
        pointer-events: none;
    }

    body.sidebar-mobile-open > .left-sidebar-pro {
        pointer-events: auto;
    }

    #sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(280px, calc(100vw - 48px));
        min-width: min(280px, calc(100vw - 48px));
        max-width: min(280px, calc(100vw - 48px));
        height: 100vh;
        height: 100dvh;
        z-index: 601 !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        box-shadow: 12px 0 36px rgba(20, 40, 80, 0.18);
        -webkit-overflow-scrolling: touch;
    }

    .all-content-wrapper {
        min-width: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: clip;
    }

    body.sidebar-mobile-open {
        overflow: hidden;
    }

    body.sidebar-mobile-open #sidebar {
        width: min(280px, calc(100vw - 48px));
        min-width: min(280px, calc(100vw - 48px));
        max-width: min(280px, calc(100vw - 48px));
        transform: translateX(0);
    }

    .header-top-area,
    .mini-navbar .header-top-area {
        position: fixed;
        left: 0;
        right: 0;
    }

    .sidebar-backdrop {
        z-index: 550 !important;
        background: rgba(16, 26, 58, 0.42);
        backdrop-filter: blur(2px);
    }

    .header-advance-area {
        width: 100%;
        padding-top: 50px;
    }

    .header-top-area {
        position: fixed;
        top: 0;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {
    .header-advance-area {
        padding-top: 64px;
    }

    .header-top-area {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
}

@media (max-width: 767.98px) {
    body {
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.94)),
            url('../img/jex-dashboard-background.png'),
            linear-gradient(rgba(40, 127, 255, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(40, 127, 255, 0.04) 1px, transparent 1px);
        background-position: center, 90% center;
        background-size: cover, auto 100%, 40px 40px, 40px 40px;
    }

    body::before {
        left: 0;
    }

    body::after {
        top: 18%;
        right: -8%;
        width: 180px;
    }

    .all-content-wrapper > .container-fluid > .row > [class*='col-'] {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    body::before {
        inset: 50px 0 0 0;
    }
}

@media (max-width: 575.98px) {
    .nk-header-bar {
        min-height: 54px;
        padding-inline: 10px;
    }

    .nk-header-right {
        gap: 2px;
    }

    .nk-header-bar .nk-header-mobile-brand img { width: clamp(96px, 32vw, 145px); height: 34px; }

    .nk-header-user {
        padding-inline: 4px;
    }

    .nk-header-right .dropdown-menu,
    .nk-settings-panel {
        max-width: calc(100vw - 20px);
    }

    .footer-copyright-area {
        padding-block: 14px;
    }
}

@media (max-width: 359.98px) {
    .nk-metric-tile > .d-flex {
        flex-direction: column;
        gap: var(--nk-space-2);
    }

    .nk-metric-tile > .d-flex > div:last-child {
        width: 100%;
    }
}

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

/* Sidebar footer remains pinned while longer navigation lists scroll independently. */
.left-sidebar-pro #sidebar { display:flex; flex-direction:column; height:100vh; height:100dvh; overflow:hidden; }
.left-sidebar-pro #sidebar .sidebar-header { flex:0 0 auto; }
.left-sidebar-pro #sidebar > .left-custom-menu-adp-wrap { flex:1 1 auto; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; }
.sidebar-session-card { display:flex; flex:0 0 auto; align-items:center; gap:10px; margin:10px 14px 14px; padding:10px 12px; border:1px solid rgba(255,157,0,.42); border-radius:12px; background:linear-gradient(135deg,#fffdf7,#f7faff); box-shadow:0 5px 16px rgba(30,59,111,.06); }
.sidebar-session-card__icon { display:grid; flex:0 0 auto; width:36px; height:36px; place-items:center; border:1px solid rgba(255,157,0,.3); border-radius:10px; color:#a16400; background:linear-gradient(135deg,#fff0c9,#e9f4ff); }
.sidebar-session-card > div { display:grid; min-width:0; gap:2px; }
.sidebar-session-card strong { color:var(--nk-text-primary); font-size:12px; }
.sidebar-session-card small { color:var(--nk-text-muted); font-size:10px; }
#sidebar.active .sidebar-session-card { justify-content:center; margin-inline:8px; padding:8px 4px; }
#sidebar.active .sidebar-session-card > div { display:none; }
@media(max-width:991px) { .left-sidebar-pro #sidebar { overflow:hidden; } }

.registration-success-details { display:grid; gap:0; width:100%; margin-top:8px; text-align:left; }
.registration-success-details__row { display:grid; grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr) auto; align-items:center; gap:9px; padding:10px 0; border-bottom:1px solid var(--nk-border-subtle); }
.registration-success-details__row > span { color:var(--nk-text-muted); font-size:12px; }
.registration-success-details__row > strong { min-width:0; color:var(--nk-text-primary); font-size:12px; overflow-wrap:anywhere; }
.registration-success-details__copy { display:inline-flex; align-items:center; gap:5px; padding:6px 8px; border:1px solid var(--nk-border-default); border-radius:7px; color:var(--nk-accent-blue); background:#fff; font-size:10px; font-weight:700; }
.registration-success-details__note { margin:12px 0 0; padding:10px 11px; border-radius:9px; color:#75520d; background:#fff8e7; font-size:11px; line-height:1.5; }
@media(max-width:480px) { .registration-success-details__row { grid-template-columns:minmax(95px,.7fr) minmax(0,1fr) auto; gap:6px; padding:8px 0; }.registration-success-details__row > span,.registration-success-details__row > strong { font-size:11px; }.registration-success-details__copy { padding:5px 6px; } }
.registration-success-details__intro { margin:0 0 7px; color:var(--nk-text-muted); font-size:12px; line-height:1.5; }

.dashboard-banner-modal { text-align: left; }
.dashboard-banner-modal__image { display:block; width:100%; max-height: min(52vh, 460px); object-fit:contain; border-radius:12px; background:#f3f6fb; }
.dashboard-banner-modal__description { margin:14px 0 0; color:var(--nk-text-secondary); font-size:14px; line-height:1.6; }
.dashboard-banner-modal__link { display:inline-flex; margin-top:12px; color:var(--nk-accent-blue); font-size:13px; font-weight:700; text-decoration:none; }
.dashboard-banner-modal__controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:17px; }
.dashboard-banner-modal__controls[hidden] { display:none; }
.dashboard-banner-modal__arrow { padding:8px 13px; border:1px solid var(--nk-border-default); border-radius:8px; color:var(--nk-text-primary); background:#fff; font-size:12px; font-weight:700; }
.dashboard-banner-modal__count { color:var(--nk-text-muted); font-size:12px; font-weight:700; }
.dashboard-banner-swal { width:min(680px, calc(100vw - 28px)) !important; border-radius:18px !important; }
.deposit-payment-options-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin:24px 0 12px; }
.deposit-payment-options-heading h3 { margin:5px 0 0; color:var(--nk-text-primary); font-size:18px; font-weight:850; }
.deposit-payment-options-heading > span { color:var(--nk-text-muted); font-size:11px; }
.deposit-payment-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:12px; }
.deposit-payment-option { display:block; cursor:pointer; }
.deposit-payment-option > input { position:absolute; width:1px; height:1px; opacity:0; }
.deposit-payment-option__body { display:grid; gap:10px; height:100%; padding:14px; border:1.5px solid var(--nk-border-default); border-radius:13px; background:#fff; transition:border-color .15s ease,box-shadow .15s ease,background .15s ease; }
.deposit-payment-option > input:checked + .deposit-payment-option__body { border-color:var(--nk-accent-blue); background:#f7faff; box-shadow:0 0 0 3px rgba(40,127,255,.1); }
.deposit-payment-option > input:focus-visible + .deposit-payment-option__body { outline:3px solid rgba(40,127,255,.25); }
.deposit-payment-option__top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.deposit-payment-option__top strong { color:var(--nk-text-primary); font-size:14px; }
.deposit-payment-option__network { padding:5px 8px; border-radius:99px; color:#245fb7; background:#edf4ff; font-size:9px; font-weight:800; }
.deposit-payment-option__qr { width:min(100%,210px); height:190px; justify-self:center; object-fit:contain; border:1px solid var(--nk-border-subtle); border-radius:10px; background:#fff; }
.deposit-payment-option__address-label { margin-bottom:-7px; color:var(--nk-text-muted); font-size:9px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.deposit-payment-option__address { display:flex; align-items:center; gap:8px; min-width:0; padding:9px; border:1px solid var(--nk-border-subtle); border-radius:8px; background:#f9fbff; }
.deposit-payment-option__address code { min-width:0; overflow-wrap:anywhere; color:var(--nk-text-primary); font-size:10px; }
.deposit-payment-option__address button { display:inline-flex; flex:none; align-items:center; gap:4px; padding:6px 8px; border:1px solid var(--nk-border-default); border-radius:7px; color:var(--nk-accent-blue); background:#fff; font-size:9px; font-weight:800; }
.deposit-proof-form { margin-top:18px; }
.deposit-proof-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:18px; }
.deposit-proof-fields > div { display:grid; align-content:start; gap:7px; }
.deposit-proof-fields label { color:var(--nk-text-primary); font-size:11px; font-weight:800; }
.deposit-proof-fields label span,.deposit-proof-fields small { color:var(--nk-text-muted); font-size:10px; font-weight:500; }
.deposit-proof-fields .form-control { min-height:42px; border-color:var(--nk-border-default); border-radius:8px; font-size:12px; }
.deposit-submitted-state { display:flex; align-items:flex-start; gap:13px; margin-top:18px; padding:17px; border:1px solid rgba(40,127,255,.18); border-radius:12px; background:#f4f8ff; }
.deposit-submitted-state__icon { display:grid; flex:none; width:38px; height:38px; place-items:center; border-radius:50%; color:#245fb7; background:#e2eeff; }
.deposit-submitted-state h3 { margin:0 0 5px; color:var(--nk-text-primary); font-size:15px; font-weight:850; }
.deposit-submitted-state p { margin:0; color:var(--nk-text-muted); font-size:11px; line-height:1.55; }
.deposit-review-summary { display:grid; gap:10px; margin:14px 0; padding:15px; border:1px solid var(--nk-border-subtle); border-radius:11px; }
.deposit-review-summary > div { display:flex; justify-content:space-between; gap:12px; }
.deposit-review-summary > div span { color:var(--nk-text-muted); font-size:10px; }
.deposit-review-summary > div strong { color:var(--nk-text-primary); font-size:10px; text-align:right; overflow-wrap:anywhere; }
.deposit-submit--link { display:inline-flex; width:auto; padding-inline:18px; text-decoration:none; }
.admin-deposit-review-actions { display:grid; gap:8px; min-width:180px; }
.admin-deposit-review-actions form { display:flex; flex-wrap:wrap; gap:6px; }
.admin-deposit-reject-form input { width:100%; min-width:140px; padding:7px 9px; border:1px solid var(--nk-border-default); border-radius:7px; font-size:10px; }
@media(max-width:680px){.deposit-proof-fields{grid-template-columns:1fr;}.deposit-payment-options-heading{align-items:flex-start;flex-direction:column;}}
.admin-settings-panel { width:100%; padding:clamp(20px,3vw,34px); }
.admin-settings-panel .admin-form-grid { gap:22px 20px; }
.admin-settings-panel .admin-form-field--full { grid-column:1/-1; }
.admin-settings-panel .admin-form-field textarea { min-height:104px; padding:12px 14px; border:1px solid var(--nk-border-default); border-radius:9px; color:var(--nk-text-primary); background:#fff; font:inherit; font-size:13px; resize:vertical; }
.admin-settings-panel .admin-form-field textarea:focus { border-color:var(--nk-accent-blue); outline:0; box-shadow:0 0 0 3px rgba(40,127,255,.12); }
.admin-settings-panel .admin-form-field input[type="file"].admin-form-file { display:block; width:100%; min-height:48px; padding:8px; border:1px dashed #b7c8e2; border-radius:10px; color:var(--nk-text-secondary); background:#f8faff; font-size:12px; }
.admin-form-file::file-selector-button { margin-right:12px; padding:8px 12px; border:0; border-radius:7px; color:#245fb7; background:#eaf2ff; font:inherit; font-weight:700; cursor:pointer; }
.admin-upload-preview { display:flex; align-items:center; gap:14px; width:100%; max-width:500px; margin-top:4px; padding:10px; border:1px solid var(--nk-border-subtle); border-radius:11px; background:#f9fbff; }
.admin-upload-preview[hidden] { display:none !important; }
.admin-upload-preview img { display:block; width:min(220px,55%); height:120px; object-fit:cover; border-radius:8px; background:#edf2fa; }
.admin-upload-preview--qr img { width:120px; height:120px; object-fit:contain; border:1px solid var(--nk-border-subtle); background:#fff; }
.admin-upload-preview span { color:var(--nk-text-muted); font-size:11px; font-weight:700; }
.admin-settings-check { display:flex !important; align-items:flex-start; gap:11px; width:max-content; max-width:100%; padding:13px 15px; border:1px solid var(--nk-border-subtle); border-radius:10px; background:#f8faff; cursor:pointer; }
.admin-settings-check > input { width:17px; height:17px; flex:none; margin:2px 0 0; accent-color:var(--nk-accent-blue); }
.admin-settings-check > span { display:grid; gap:3px; }
.admin-settings-check strong { color:var(--nk-text-primary); font-size:12px; }
.admin-settings-check small { color:var(--nk-text-muted); font-size:10px; font-weight:500; }
@media(max-width:760px){.admin-settings-panel{padding:18px;}.admin-settings-panel .admin-form-grid{grid-template-columns:1fr;gap:17px;}.admin-settings-panel .admin-form-field--full{grid-column:auto;}.admin-settings-panel .admin-form-actions{align-items:stretch;flex-direction:column-reverse;}.admin-settings-panel .admin-form-actions .admin-action{width:100%;}}
.network-copy-id { display:inline-flex; align-items:center; gap:5px; width:max-content; margin-top:5px; padding:4px 8px; border:1px solid var(--nk-border-default); border-radius:7px; color:var(--nk-accent-blue); background:#fff; font-size:10px; font-weight:700; }
.network-copy-id:hover { border-color:var(--nk-accent-blue); color:var(--nk-accent-blue); background:#f5f8ff; }
.network-page .income-report-hero .admin-action { min-height:38px; padding-inline:13px; white-space:nowrap; }

/* Interactive sponsor hierarchy styled with the shared JEX blue/orange theme. */
.sponsor-tree-hero { align-items:center; gap:20px; }
.sponsor-tree-hero__copy { min-width:0; }
.sponsor-tree-search { display:flex; flex:0 1 510px; align-items:center; gap:8px; }
.sponsor-tree-search__field { display:flex; flex:1 1 auto; align-items:center; gap:9px; min-width:150px; height:42px; padding:0 12px; border:1px solid var(--nk-border-default); border-radius:10px; color:var(--nk-text-muted); background:#fff; }
.sponsor-tree-search__field input { width:100%; min-width:0; border:0; outline:0; color:var(--nk-text-primary); background:transparent; font-size:12px; }
.sponsor-tree-search__field input::placeholder { color:var(--nk-text-muted); }
.sponsor-tree-search .admin-action { min-height:42px; padding-inline:14px; white-space:nowrap; }
.sponsor-tree-search-note { margin:0; }
.sponsor-tree-stats { grid-template-columns:repeat(4,minmax(0,1fr)); }
.sponsor-tree-panel { display:grid; gap:14px; min-width:0; padding:18px; }
.sponsor-tree-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.sponsor-tree-legend,.sponsor-tree-controls { display:flex; align-items:center; gap:8px; }
.sponsor-tree-legend { flex-wrap:wrap; color:var(--nk-text-muted); font-size:10px; }
.sponsor-tree-legend span { display:inline-flex; align-items:center; gap:6px; }
.sponsor-tree-legend i,.sponsor-tree-card__status i { width:8px; height:8px; border-radius:50%; background:#94a3b8; }
.sponsor-tree-legend i.is-active,.sponsor-tree-card.is-active .sponsor-tree-card__status i { background:#16a777; box-shadow:0 0 0 3px rgba(22,167,119,.12); }
.sponsor-tree-legend i.is-inactive,.sponsor-tree-card.is-inactive .sponsor-tree-card__status i { background:#ff9d00; box-shadow:0 0 0 3px rgba(255,157,0,.12); }
.sponsor-tree-legend i.is-root { background:#287fff; box-shadow:0 0 0 3px rgba(40,127,255,.12); }
.sponsor-tree-controls button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:34px; height:34px; padding:0 9px; border:1px solid var(--nk-border-default); border-radius:8px; color:var(--nk-text-secondary); background:#fff; font-size:11px; font-weight:700; }
.sponsor-tree-controls button:hover { border-color:var(--nk-accent-blue); color:var(--nk-accent-blue); background:#f7faff; }
.sponsor-tree-controls .sponsor-tree-controls__reset { min-width:48px; color:var(--nk-text-primary); }
.sponsor-tree-hint { display:flex; align-items:center; gap:7px; padding:9px 11px; border:1px solid rgba(40,127,255,.14); border-radius:9px; color:var(--nk-text-muted); background:#f7faff; font-size:10px; }
.sponsor-tree-hint i { color:var(--nk-accent-blue); }
.sponsor-tree-scroll { width:100%; min-height:300px; max-height:72vh; overflow:auto; border:1px solid var(--nk-border-subtle); border-radius:12px; background:radial-gradient(circle at 1px 1px,rgba(40,127,255,.13) 1px,transparent 0) 0 0/24px 24px,#fbfcff; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#b9c9e6 #f4f7fc; }
.sponsor-tree-stage { width:max-content; min-width:100%; padding:28px 32px 42px; transform:scale(var(--sponsor-tree-scale,1)); transform-origin:top center; transition:transform .18s ease; }
.sponsor-tree,.sponsor-tree__children { display:flex; justify-content:center; width:max-content; min-width:100%; margin:0; padding:34px 0 0; list-style:none; position:relative; }
.sponsor-tree { padding-top:0; }
.sponsor-tree li { position:relative; display:flex; flex-direction:column; align-items:center; padding:30px 10px 0; text-align:center; list-style:none; }
.sponsor-tree__root { padding-top:0 !important; }
.sponsor-tree__root::before,.sponsor-tree__root::after { display:none !important; }
.sponsor-tree__root > .sponsor-tree-node > .sponsor-tree__children { padding-top:36px; }
.sponsor-tree__root > .sponsor-tree-node > .sponsor-tree__children::before { position:absolute; top:0; left:50%; height:36px; border-left:1.5px dashed rgba(255,157,0,.72); content:""; }
.sponsor-tree li::before,.sponsor-tree li::after { position:absolute; top:0; right:50%; width:50%; height:30px; border-top:1.5px dashed rgba(255,157,0,.72); content:""; }
.sponsor-tree li::after { right:auto; left:50%; border-left:1.5px dashed rgba(255,157,0,.72); }
.sponsor-tree li:only-child::before,.sponsor-tree li:only-child::after { display:none; }
.sponsor-tree li:only-child { padding-top:0; }
.sponsor-tree li:first-child::before,.sponsor-tree li:last-child::after { border-top:0; }
.sponsor-tree li:last-child::before { border-right:1.5px dashed rgba(255,157,0,.72); border-radius:0 8px 0 0; }
.sponsor-tree li:first-child::after { border-radius:8px 0 0 0; }
.sponsor-tree__children::before { position:absolute; top:0; left:50%; height:30px; border-left:1.5px dashed rgba(255,157,0,.72); content:""; }
.sponsor-tree [hidden] { display:none !important; }
.sponsor-tree-node { display:flex; flex-direction:column; align-items:center; gap:7px; }
.sponsor-tree-card { position:relative; display:flex; align-items:center; gap:10px; width:218px; min-height:96px; padding:12px; border:1px solid var(--nk-border-default); border-left:3px solid #ff9d00; border-radius:13px; color:var(--nk-text-primary); background:rgba(255,255,255,.98); box-shadow:0 8px 20px rgba(35,64,112,.1); text-align:left; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; cursor:pointer; }
.sponsor-tree-card:hover,.sponsor-tree-card:focus-visible { z-index:2; transform:translateY(-2px); border-color:rgba(40,127,255,.5); box-shadow:0 12px 28px rgba(35,64,112,.17); outline:0; }
.sponsor-tree-card.is-active { border-left-color:#16a777; }
.sponsor-tree-card.is-root { border:2px solid rgba(40,127,255,.45); background:linear-gradient(135deg,#fff,#f3f8ff); }
.sponsor-tree-card__avatar { display:grid; flex:0 0 42px; width:42px; height:42px; place-items:center; overflow:hidden; border:2px solid #ffbd53; border-radius:12px; color:#fff; background:linear-gradient(135deg,#287fff,#25b3e7); font-size:16px; font-weight:800; }
.sponsor-tree-card__avatar.is-active { border-color:#31c492; }
.sponsor-tree-card__avatar img { width:100%; height:100%; object-fit:cover; }
.sponsor-tree-card__body { display:grid; flex:1 1 auto; gap:4px; min-width:0; }
.sponsor-tree-card__topline { display:flex; align-items:center; justify-content:space-between; gap:5px; }
.sponsor-tree-card__topline strong { overflow:hidden; color:var(--nk-text-primary); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.sponsor-tree-card__topline i { color:var(--nk-accent-blue); font-size:12px; }
.sponsor-tree-card__id { color:var(--nk-text-muted); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:9px; }
.sponsor-tree-card__status { display:inline-flex; align-items:center; gap:6px; color:var(--nk-text-secondary); font-size:9px; font-weight:700; }
.sponsor-tree-card__status i { width:6px; height:6px; }
.sponsor-tree-card__package { overflow:hidden; color:var(--nk-text-muted); font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.sponsor-tree-card__tag { position:absolute; top:-8px; right:9px; padding:3px 7px; border:1px solid rgba(40,127,255,.2); border-radius:99px; color:#245fb7; background:#edf4ff; font-size:8px; font-weight:800; text-transform:uppercase; }
.sponsor-tree-branch-link { color:var(--nk-accent-blue); font-size:9px; font-weight:700; text-decoration:none; }
.sponsor-tree-branch-link:hover { color:#a16400; }
.sponsor-tree-expand { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border:1px solid rgba(40,127,255,.22); border-radius:99px; color:#245fb7; background:#f4f8ff; font-size:9px; font-weight:700; white-space:nowrap; }
.sponsor-tree-expand[aria-expanded="true"] { border-color:rgba(255,157,0,.3); color:#9b6100; background:#fff8e8; }
.sponsor-tree-details { display:grid; gap:0; text-align:left; }
.sponsor-tree-details__row { display:flex; justify-content:space-between; gap:16px; padding:9px 0; border-bottom:1px solid var(--nk-border-subtle); }
.sponsor-tree-details__row span { color:var(--nk-text-muted); font-size:12px; }
.sponsor-tree-details__row strong { color:var(--nk-text-primary); font-size:12px; text-align:right; overflow-wrap:anywhere; }
@media(max-width:900px) { .sponsor-tree-hero { align-items:flex-start; flex-direction:column; }.sponsor-tree-search { width:100%; max-width:none; flex-basis:auto; }.sponsor-tree-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }.sponsor-tree-panel { padding:14px; }.sponsor-tree-scroll { min-height:260px; max-height:68vh; } }
@media(max-width:560px) { .sponsor-tree-search { flex-wrap:wrap; }.sponsor-tree-search__field { flex-basis:100%; }.sponsor-tree-search .admin-action { flex:1 1 auto; justify-content:center; }.sponsor-tree-stats { gap:8px; }.sponsor-tree-stats .member-dashboard-card { padding:12px; gap:8px; }.sponsor-tree-stats .member-card-icon { width:32px; height:32px; }.sponsor-tree-stats .member-dashboard-card strong { font-size:16px; }.sponsor-tree-toolbar { align-items:flex-start; flex-direction:column; }.sponsor-tree-scroll { min-height:220px; max-height:62vh; }.sponsor-tree-stage { padding-inline:18px; }.sponsor-tree li { padding-inline:5px; }.sponsor-tree-card { width:186px; min-height:88px; padding:10px; gap:8px; }.sponsor-tree-card__avatar { flex-basis:36px; width:36px; height:36px; }.sponsor-tree-card__topline strong { font-size:11px; } }
