/* ==========================================================================
   Datasnap Modern Dashboard & Application Design System
   System Palette: Royal Blue (#0A00A8) & Pure White (#FFFFFF)
   ========================================================================== */

:root {
    --dash-bg: #050714;
    --dash-sidebar: #04050d;
    --dash-card: #0c1026;
    --dash-card-hover: #121738;
    --dash-card-alt: #0e132e;
    --dash-border: rgba(255, 255, 255, 0.09);
    --dash-border-royal: rgba(10, 0, 168, 0.45);
    --dash-border-glow: rgba(59, 40, 246, 0.4);
    --dash-primary: #0A00A8;
    --dash-primary-light: #2518d6;
    --dash-primary-vibrant: #3b28f6;
    --dash-primary-glow: rgba(10, 0, 168, 0.45);
    --dash-green: #10b981;
    --dash-gold: #f59e0b;
    --dash-danger: #ef4444;
    --dash-text-main: #ffffff;
    --dash-text-muted: #94a3b8;
    --dash-text-dim: #64748b;
    --dash-radius: 18px;
    --dash-radius-sm: 12px;
}

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

body.dashboard-body {
    background-color: var(--dash-bg);
    color: var(--dash-text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Base Layout Shell */
.dash-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--dash-bg);
    position: relative;
}

/* ==========================================================================
   SIDEBAR COMPONENT (DESKTOP & MOBILE DRAWER)
   ========================================================================== */
.dash-sidebar {
    width: 250px;
    background: var(--dash-sidebar);
    border-right: 1px solid var(--dash-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow-y: auto;
    padding: 20px 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-sidebar::-webkit-scrollbar {
    width: 4px;
}
.dash-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.sidebar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #3b28f6;
}

.sidebar-collapse-btn {
    background: none;
    border: none;
    color: var(--dash-text-dim);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.sidebar-collapse-btn:hover {
    color: #ffffff;
}

/* User Card in Sidebar */
.sidebar-user-chip {
    background: #0f1430;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.user-chip-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0A00A8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(10, 0, 168, 0.4);
}

.user-chip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.user-chip-name {
    font-weight: 800;
    font-size: 0.88rem;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-chip-badge {
    font-size: 0.65rem;
    font-weight: 800;
    color: #a5b4fc;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Nav Menu Items */
.dash-nav-section {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--dash-text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 16px 0 8px 8px;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--dash-text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.dash-nav-link .link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-nav-link i {
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
}

.dash-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.dash-nav-link.active {
    background: linear-gradient(135deg, #0A00A8 0%, #2518d6 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(10, 0, 168, 0.4);
}

.dash-nav-link.active i {
    color: #ffffff;
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1040;
}

.sidebar-overlay.show {
    display: block;
}

/* ==========================================================================
   MAIN CONTENT VIEWPORT
   ========================================================================== */
.dash-main {
    flex: 1;
    margin-left: 250px;
    padding: 24px 36px 80px;
    min-height: 100vh;
    background: var(--dash-bg);
    width: calc(100% - 250px);
}

/* Dashboard Header */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.greeting-text {
    font-size: 0.88rem;
    color: var(--dash-text-muted);
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-title {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
}

.dash-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.header-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0f1430;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s;
    position: relative;
}

.header-icon-btn.whatsapp-btn {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.header-icon-btn:hover {
    transform: translateY(-2px);
    border-color: #3b28f6;
    box-shadow: 0 4px 12px rgba(10, 0, 168, 0.3);
}

.badge-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--dash-bg);
}

/* User Profile Dropdown */
.profile-dropdown-wrapper {
    position: relative;
}

.header-profile-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #141724;
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}

.header-profile-btn:hover, .header-profile-btn.active {
    border-color: #3b28f6;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(10, 0, 168, 0.5);
}

.profile-menu-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 230px;
    background: #111524;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 16px 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(10, 0, 168, 0.25);
    z-index: 1100;
    display: none;
    flex-direction: column;
    animation: dropdownPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-menu-dropdown.show {
    display: flex;
}

.profile-menu-header {
    padding: 2px 4px 6px;
}

.profile-menu-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu-email {
    font-size: 0.78rem;
    color: var(--dash-text-muted);
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu-divider {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 9px 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.profile-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #a5b4fc;
    transform: translateX(2px);
}

.profile-darkmode-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
}

.darkmode-label-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-switch-slider {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.theme-switch-slider input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-knob {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #2a3148;
    transition: 0.3s;
    border-radius: 999px;
}

.slider-knob:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider-knob {
    background-color: var(--dash-primary);
}

input:checked + .slider-knob:before {
    transform: translateX(18px);
    background-color: #ffffff;
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   DASHBOARD NOTIFICATION & ACTION BANNERS
   ========================================================================== */
.banner-whatsapp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0c1026;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    padding: 12px 22px;
    margin-bottom: 14px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s ease;
}

.banner-whatsapp:hover {
    background: #111738;
    border-color: rgba(16, 185, 129, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.banner-content-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.banner-circle-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.banner-text-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.banner-text-sub {
    font-size: 0.8rem;
    color: var(--dash-text-muted);
}

.banner-kyc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0c1026;
    border: 1px solid var(--dash-border-royal);
    border-radius: 999px;
    padding: 12px 22px;
    margin-bottom: 22px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s ease;
}

.banner-kyc:hover {
    background: #111738;
    border-color: #3b28f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 0, 168, 0.25);
}

.kyc-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.35);
}

.tier-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #818cf8;
    background: rgba(10, 0, 168, 0.35);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(10, 0, 168, 0.5);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   TOP STATS SHOWCASE GRID (WALLET & BALANCES)
   ========================================================================== */
.stats-showcase-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 18px;
    margin-bottom: 28px;
}

.main-wallet-card {
    background: linear-gradient(145deg, #0d1230 0%, #070918 100%);
    border: 1px solid rgba(10, 0, 168, 0.5);
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(10, 0, 168, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-label-gold {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #a5b4fc;
    text-transform: uppercase;
}

.card-actions-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--dash-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.icon-action-btn:hover {
    color: #ffffff;
    background: rgba(10, 0, 168, 0.35);
    border-color: #3b28f6;
}

.main-balance-amount {
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.main-card-btn-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-pill-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0A00A8 0%, #2518d6 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(10, 0, 168, 0.4);
}

.btn-pill-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 0, 168, 0.6);
    background: linear-gradient(135deg, #2518d6 0%, #3b28f6 100%);
    color: #ffffff;
}

/* Secondary Stats Column */
.secondary-stats-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mini-stat-card {
    background: #0c1026;
    border: 1px solid var(--dash-border);
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    transition: all 0.2s ease;
}

.mini-stat-card:hover {
    border-color: var(--dash-border-royal);
    transform: translateY(-2px);
}

.stat-circle-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.stat-circle-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.stat-circle-icon.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.mini-stat-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mini-stat-label {
    font-size: 0.8rem;
    color: var(--dash-text-muted);
    font-weight: 500;
}

.mini-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

/* ==========================================================================
   SERVICES GRID (4-COLUMNS EXACT REFERENCE SHOWCASE)
   ========================================================================== */
.services-section-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin: 0 0 16px 0;
}

.services-grid-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.service-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0c1026;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 22px 14px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    text-align: center;
}

.service-card-item:hover {
    transform: translateY(-4px);
    background: #121738;
    border-color: #3b28f6;
    box-shadow: 0 10px 25px rgba(10, 0, 168, 0.35);
    color: #ffffff;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 0, 168, 0.25);
    border: 1px solid rgba(10, 0, 168, 0.45);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.25s;
}

.service-card-item:hover .service-card-icon {
    background: #0A00A8;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(10, 0, 168, 0.6);
}

.service-card-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

/* ==========================================================================
   REFERRAL PROMO BANNER
   ========================================================================== */
.banner-referral-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0c1026;
    border: 1px solid var(--dash-border-royal);
    border-radius: 999px;
    padding: 14px 26px;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.ref-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ref-circle-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(10, 0, 168, 0.3);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(10, 0, 168, 0.5);
}

.ref-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.ref-sub {
    font-size: 0.8rem;
    color: var(--dash-text-muted);
}

.ref-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A00A8 0%, #2518d6 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(10, 0, 168, 0.4);
    white-space: nowrap;
}

.ref-btn-action:hover {
    background: linear-gradient(135deg, #2518d6 0%, #3b28f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 0, 168, 0.6);
}

/* ==========================================================================
   FLOATING ACTION BUTTON
   ========================================================================== */
.floating-dash-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A00A8 0%, #2518d6 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(10, 0, 168, 0.6);
    cursor: pointer;
    z-index: 999;
    text-decoration: none;
    transition: all 0.25s;
}

.floating-dash-chat:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 0, 168, 0.8);
    color: #ffffff;
}

/* ==========================================================================
   SETTINGS / PROFILE PAGE STYLES
   ========================================================================== */
.settings-tabs-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.settings-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #0e122b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dash-text-muted);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.settings-tab-btn:hover {
    background: #141938;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.settings-tab-btn.active {
    background: linear-gradient(135deg, #0A00A8 0%, #2518d6 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(10, 0, 168, 0.45);
}

.settings-tab-btn.active i {
    color: #ffffff;
}

/* Settings Hero Profile Card */
.settings-hero-card {
    background: #0c1026;
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 24px 28px 18px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-user-cluster {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-avatar-wrapper {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}

.hero-avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1e2648;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-camera-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0A00A8;
    border: 2px solid #0c1026;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.hero-camera-badge:hover {
    transform: scale(1.15);
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-name {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-badge-tag {
    background: #161c3b;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #a5b4fc;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-subline, .hero-phone {
    font-size: 0.85rem;
    color: var(--dash-text-muted);
}

.hero-wallet-col {
    text-align: right;
}

.hero-wallet-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #a5b4fc;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-wallet-val {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* Tier / Status Pills */
.hero-tier-pills-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tier-status-pill {
    background: #0f132b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--dash-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tier-status-pill.active {
    background: rgba(10, 0, 168, 0.25);
    border-color: #3b28f6;
    color: #ffffff;
}

.status-dot-orange {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.status-dot-radio {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.status-dot-radio.verified {
    border-color: #10b981;
    background: #10b981;
}

/* Settings Form Content */
.settings-content-card {
    background: #0c1026;
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 28px 30px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.settings-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
}

.settings-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 0, 168, 0.3);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.settings-header-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.settings-header-sub {
    font-size: 0.82rem;
    color: var(--dash-text-muted);
}

.settings-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 22px;
}

.settings-input-group {
    position: relative;
    width: 100%;
}

.settings-input-label {
    position: absolute;
    top: -9px;
    left: 14px;
    background: #0c1026;
    padding: 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dash-text-muted);
    border-radius: 4px;
    z-index: 2;
}

.settings-input-field {
    width: 100%;
    height: 52px;
    background: #080b1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0 16px 0 42px;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
}

.settings-input-field:focus {
    border-color: #3b28f6;
    box-shadow: 0 0 0 3px var(--dash-primary-glow);
    background: #0a0e22;
}

.settings-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dash-text-dim);
    font-size: 0.95rem;
    pointer-events: none;
}

.settings-about-section {
    margin-bottom: 26px;
}

.settings-about-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--dash-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.settings-textarea {
    width: 100%;
    min-height: 110px;
    background: #080b1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px;
    color: #ffffff;
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
    resize: vertical;
}

.settings-textarea:focus {
    border-color: #3b28f6;
    box-shadow: 0 0 0 3px var(--dash-primary-glow);
    background: #0a0e22;
}

.btn-save-settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0A00A8 0%, #2518d6 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(10, 0, 168, 0.45);
}

.btn-save-settings:hover {
    background: linear-gradient(135deg, #2518d6 0%, #3b28f6 100%);
    box-shadow: 0 6px 22px rgba(10, 0, 168, 0.65);
    transform: translateY(-2px);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}

.modal-overlay.show {
    display: flex;
}

.modal-box-royal {
    background: #0c1026;
    border: 1px solid rgba(10, 0, 168, 0.55);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(10, 0, 168, 0.3);
}

.modal-close-gold {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: var(--dash-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-gold:hover {
    color: #ffffff;
}

.btn-royal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0A00A8 0%, #2518d6 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(10, 0, 168, 0.45);
    transition: all 0.2s;
}

.btn-royal-action:hover {
    background: linear-gradient(135deg, #2518d6 0%, #3b28f6 100%);
    transform: translateY(-2px);
}

.custom-auth-input {
    width: 100%;
    height: 48px;
    background: #080b1a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
}

.custom-auth-input:focus {
    border-color: #3b28f6;
    box-shadow: 0 0 0 3px var(--dash-primary-glow);
}

/* ==========================================================================
   MOBILE HEADER & BOTTOM NAVIGATION
   ========================================================================== */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #070918;
    border-bottom: 1px solid var(--dash-border);
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.mobile-header .sidebar-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 6px;
}

.mobile-header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
}

.mobile-header-brand img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #070918;
    border-top: 1px solid var(--dash-border);
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    padding: 0 8px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--dash-text-dim);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1;
    height: 100%;
    transition: all 0.2s ease;
}

.bottom-nav-item i {
    font-size: 1.15rem;
}

.bottom-nav-item.active {
    color: #818cf8;
}

.bottom-nav-item:hover {
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .dash-sidebar {
        transform: translateX(-100%);
    }
    .dash-sidebar.open {
        transform: translateX(0);
    }
    .dash-main {
        margin-left: 0;
        width: 100%;
        padding: 80px 16px 88px;
    }
    .mobile-header {
        display: flex;
    }
    .bottom-nav {
        display: flex;
    }
    .stats-showcase-grid {
        grid-template-columns: 1fr;
    }
    .services-grid-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-tier-pills-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .settings-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .dash-header {
        flex-direction: column;
        gap: 12px;
    }
    .dash-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .user-title {
        font-size: 1.7rem;
    }
    .banner-whatsapp, .banner-kyc, .banner-referral-promo {
        border-radius: 16px;
        padding: 14px 16px;
    }
    .banner-content-left {
        gap: 10px;
    }
    .services-grid-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .service-card-item {
        padding: 16px 10px;
    }
    .hero-main-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-wallet-col {
        text-align: left;
    }
    .hero-tier-pills-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .settings-content-card, .settings-hero-card {
        padding: 20px 16px;
    }
}

/* ==========================================================================
   ANIMATED LOGO LOADER & TRANSACTION OVERLAY SYSTEM
   ========================================================================== */
.logo-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 13, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-loader-overlay.active,
.logo-loader-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.logo-loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
    background: rgba(12, 16, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(10, 0, 168, 0.35);
    max-width: 90vw;
    text-align: center;
    animation: logoCardPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes logoCardPop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.logo-loader-stage {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-loader-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(59, 40, 246, 0.6);
    animation: logoPulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
}

.logo-loader-orbit-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3b28f6;
    border-right-color: #10b981;
    border-bottom-color: rgba(59, 40, 246, 0.2);
    animation: logoOrbitSpin 1.1s linear infinite;
}

.logo-loader-core-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #04050d;
    padding: 3px;
    box-shadow: 0 0 20px rgba(59, 40, 246, 0.7);
    z-index: 2;
    animation: logoCoreBreathe 2s ease-in-out infinite;
}

.logo-loader-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.logo-loader-desc {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.logo-loader-dot-pulse {
    display: inline-flex;
    gap: 4px;
}
.logo-loader-dot-pulse span {
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
    animation: logoDotBlink 1.4s infinite both;
}
.logo-loader-dot-pulse span:nth-child(2) { animation-delay: 0.2s; }
.logo-loader-dot-pulse span:nth-child(3) { animation-delay: 0.4s; }

@keyframes logoCoreBreathe {
    0%, 100% {
        transform: scale(0.94);
        filter: drop-shadow(0 0 10px rgba(59, 40, 246, 0.6));
    }
    50% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 22px rgba(16, 185, 129, 0.8));
    }
}

@keyframes logoOrbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoPulseRing {
    0% { transform: scale(0.7); opacity: 0.9; }
    50% { transform: scale(1.18); opacity: 0.3; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes logoDotBlink {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.2); }
}

.btn-logo-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    animation: logoOrbitSpin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}
