@import url('required.css');

/* ==========================================================================
   Premium Dark Glassmorphic UI System & Variables
   ========================================================================== */

:root {
    /* Base Color Theme - Electric Blaze Orange & Deep Obsidian */
    --theme-bg-dark: #090807;
    --theme-card-bg: rgba(22, 18, 15, 0.88);
    --theme-card-bg-hover: rgba(30, 24, 20, 0.95);
    --theme-border-color: rgba(255, 107, 0, 0.22);
    --theme-border-color-hover: rgba(255, 133, 51, 0.55);
    --theme-cyan-accent: rgb(255, 133, 51);
    
    /* Primary Brand - Blaze Orange */
    --theme-orange-primary: #FF6B00;
    --theme-orange-bright: #FF8533;
    --theme-orange-dark: #D45500;
    --theme-orange-glow: rgba(255, 107, 0, 0.35);
    --theme-orange-light: #fff3eb;
    --theme-orange-gradient: linear-gradient(135deg, #FF8533 0%, #FF6B00 50%, #D45500 100%);

    /* Win & Payout Accent - Emerald */
    --theme-emerald-primary: #10B981;
    --theme-emerald-glow: rgba(16, 185, 129, 0.3);

    /* Text Contrast */
    --theme-text-light: #ffffff;
    --theme-text-secondary: #e2d9d2;
    --theme-text-muted: rgba(226, 217, 210, 0.6);

    /* Legacy Theme Overrides remapped to Blaze Orange */
    --theme-green-glass-bg: rgba(22, 18, 15, 0.88);
    --theme-green-glass-border: rgba(255, 107, 0, 0.22);
    --theme-green-glass-hover-border: rgba(255, 133, 51, 0.55);
    --theme-green-primary: #FF6B00;
    --theme-green-800: #D45500;
    --theme-green-glow: rgba(255, 107, 0, 0.35);
    --theme-green-light: #fff3eb;

    /* Shadows & Effects */
    --theme-blur: blur(16px);
    --theme-card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), 0 0 15px 0 rgba(255, 107, 0, 0.1);
    --theme-card-shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.8), 0 0 25px 0 rgba(255, 107, 0, 0.25);
    --theme-green-shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.8), 0 0 25px 0 rgba(255, 107, 0, 0.25);
}

/* ==========================================================================
   Global Layout & Background Overrides - Deep Obsidian with Orange Glow
   ========================================================================== */

body {
    background-color: var(--theme-bg-dark) !important;
    background-image: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.08) 0%, transparent 60%), 
                      radial-gradient(circle at 10% 85%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
                      url('../img/body-bg-img.png') !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    color: var(--theme-text-light) !important;
    font-family: "Plus Jakarta Sans", "Manrope", sans-serif !important;
}

.layout-wrapper, .layout-container, .layout-page, .content-wrapper {
    background: transparent !important;
}

/* ==========================================================================
   Vuexy Sidebar / Navigation Menu Overrides - Sleek Dark with Blaze Orange
   ========================================================================== */

#layout-menu, .bg-menu-theme {
    background: #0d0b09 !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border-right: 1px solid rgba(255, 107, 0, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 107, 0, 0.06) !important;
}

.bg-menu-theme .menu-inner-shadow {
    background: linear-gradient(rgba(13, 11, 9, 0.95), transparent) !important;
}

/* Sidebar Menu Inner Container & Spacing */
.menu-vertical .menu-inner {
    padding: 0.85rem 0.65rem 2.5rem 0.65rem !important;
}

/* Menu Item Vertical Spacing */
.menu-vertical .menu-inner > .menu-item {
    margin-top: 4px !important;
    margin-bottom: 7px !important;
}

/* Menu Header / Group Title */
.menu-vertical .menu-header {
    margin-top: 1.5rem !important;
    margin-bottom: 0.65rem !important;
    padding: 0 0.85rem !important;
    position: relative;
}

.menu-vertical .menu-header-text {
    font-size: 0.725rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    color: #ff8533 !important;
    text-transform: uppercase !important;
}

/* Main Menu Link */
.menu-vertical .menu-inner > .menu-item > .menu-link {
    display: flex !important;
    align-items: center !important;
    padding: 9px 12px !important;
    min-height: 48px !important;
    border-radius: 12px !important;
    color: #e2d9d2 !important;
    font-size: 0.935rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.menu-vertical .menu-inner > .menu-item > .menu-link:hover {
    color: #ffffff !important;
    background: rgba(255, 107, 0, 0.1) !important;
    border-color: rgba(255, 107, 0, 0.3) !important;
    transform: translateX(2px);
}

/* Active Main Menu Item */
.menu-vertical .menu-inner > .menu-item.active > .menu-link {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.25) 0%, rgba(212, 85, 0, 0.08) 100%) !important;
    color: #ff8533 !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 107, 0, 0.45) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 107, 0, 0.2) !important;
}

.menu-vertical .menu-inner > .menu-item.open > .menu-link {
    background: rgba(255, 107, 0, 0.05) !important;
    color: #ffffff !important;
}

/* Menu Toggle Arrow (Chevron) */
.menu-vertical .menu-item .menu-toggle::after {
    border-color: rgba(255, 107, 0, 0.5) !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.menu-vertical .menu-item:hover > .menu-toggle::after,
.menu-vertical .menu-item.active > .menu-toggle::after,
.menu-vertical .menu-item.open > .menu-toggle::after {
    border-color: #ff8533 !important;
}

/* ==========================================================================
   Icon Box Container - Colorful Rounded Badges
   ========================================================================== */
.menu-vertical .menu-inner > .menu-item > .menu-link .menu-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    margin-right: 12px !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.menu-vertical .menu-inner > .menu-item:hover > .menu-link .menu-icon {
    transform: scale(1.08);
}

.menu-vertical .menu-inner > .menu-item.active > .menu-link .menu-icon {
    transform: scale(1.05);
}

/* Specific Menu Colors */

/* 1. Dashboard - Bright Blue / Sky */
.menu-item-dashboard .menu-icon,
.menu-item .ti-smart-home,
.menu-item .ti-dashboard,
.menu-item .ti-gauge {
    background: rgba(14, 165, 233, 0.16) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.menu-item-dashboard:hover .menu-icon,
.menu-item-dashboard.active .menu-icon {
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.4) !important;
}

/* 2. Wallet Address / KYC - Indigo */
.menu-item-kyc .menu-icon,
.menu-item-kyc-management .menu-icon,
.menu-item .ti-id-badge-2 {
    background: rgba(99, 102, 241, 0.16) !important;
    color: #818cf8 !important;
    border: 1px solid rgba(129, 140, 248, 0.25) !important;
}
.menu-item-kyc:hover .menu-icon,
.menu-item-kyc.active .menu-icon,
.menu-item-kyc-management:hover .menu-icon,
.menu-item-kyc-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(129, 140, 248, 0.4) !important;
}

/* 3. Welcome Letter - Sky Blue */
.menu-item-welcome-letter .menu-icon,
.menu-item .ti-mail-opened {
    background: rgba(14, 165, 233, 0.16) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.menu-item-welcome-letter:hover .menu-icon,
.menu-item-welcome-letter.active .menu-icon {
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.4) !important;
}

/* 4. Genealogy / Downline - Cyan */
.menu-item-genealogy .menu-icon,
.menu-item .ti-binary-tree-2,
.menu-item .ti-sitemap {
    background: rgba(6, 182, 212, 0.16) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(34, 211, 238, 0.25) !important;
}
.menu-item-genealogy:hover .menu-icon,
.menu-item-genealogy.active .menu-icon {
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.4) !important;
}

/* 5. Regular Packages - Amber / Warm Gold */
.menu-item-regular-packages .menu-icon,
.menu-item-regular-package .menu-icon,
.menu-item-package-management .menu-icon,
.menu-item .ti-package,
.menu-item .ti-packages {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.25) !important;
}
.menu-item-regular-packages:hover .menu-icon,
.menu-item-regular-packages.active .menu-icon,
.menu-item-package-management:hover .menu-icon,
.menu-item-package-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.4) !important;
}

/* 6. FD Gold Packages - Radiant Gold */
.menu-item-fd-gold-packages .menu-icon,
.menu-item-fd-packages .menu-icon,
.menu-item .ti-crown {
    background: rgba(234, 179, 8, 0.2) !important;
    color: #facc15 !important;
    border: 1px solid rgba(250, 204, 21, 0.3) !important;
}
.menu-item-fd-gold-packages:hover .menu-icon,
.menu-item-fd-gold-packages.active .menu-icon,
.menu-item-fd-packages:hover .menu-icon,
.menu-item-fd-packages.active .menu-icon {
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.4) !important;
}

/* 7. FD Silver Packages - Platinum Silver */
.menu-item-fd-silver-packages .menu-icon,
.menu-item .ti-medal {
    background: rgba(148, 163, 184, 0.16) !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(226, 232, 240, 0.25) !important;
}
.menu-item-fd-silver-packages:hover .menu-icon,
.menu-item-fd-silver-packages.active .menu-icon {
    box-shadow: 0 0 14px rgba(226, 232, 240, 0.4) !important;
}

/* 8. Add Fund / Recharge / Fund - Emerald Green */
.menu-item-fund .menu-icon,
.menu-item-fund-management .menu-icon,
.menu-item .ti-circle-plus,
.menu-item .ti-currency-dollar {
    background: rgba(16, 185, 129, 0.16) !important;
    color: #34d399 !important;
    border: 1px solid rgba(52, 211, 153, 0.25) !important;
}
.menu-item-fund:hover .menu-icon,
.menu-item-fund.active .menu-icon,
.menu-item-fund-management:hover .menu-icon,
.menu-item-fund-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(52, 211, 153, 0.4) !important;
}

/* 9. E-Wallet - Aqua Teal */
.menu-item-e-wallet .menu-icon,
.menu-item-wallet-management .menu-icon,
.menu-item .ti-wallet {
    background: rgba(20, 184, 166, 0.16) !important;
    color: #2dd4bf !important;
    border: 1px solid rgba(45, 212, 191, 0.25) !important;
}
.menu-item-e-wallet:hover .menu-icon,
.menu-item-e-wallet.active .menu-icon,
.menu-item-wallet-management:hover .menu-icon,
.menu-item-wallet-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(45, 212, 191, 0.4) !important;
}

/* 10. Topup Wallet - Cobalt Blue */
.menu-item-topup-wallet .menu-icon,
.menu-item-topup-wallet-management .menu-icon,
.menu-item .ti-credit-card {
    background: rgba(37, 99, 235, 0.16) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(96, 165, 250, 0.25) !important;
}
.menu-item-topup-wallet:hover .menu-icon,
.menu-item-topup-wallet.active .menu-icon,
.menu-item-topup-wallet-management:hover .menu-icon,
.menu-item-topup-wallet-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.4) !important;
}

/* 11. E-Pin - Vibrant Purple */
.menu-item-e-pin .menu-icon,
.menu-item-pin-management .menu-icon,
.menu-item .ti-ticket {
    background: rgba(168, 85, 247, 0.16) !important;
    color: #c084fc !important;
    border: 1px solid rgba(192, 132, 252, 0.25) !important;
}
.menu-item-e-pin:hover .menu-icon,
.menu-item-e-pin.active .menu-icon,
.menu-item-pin-management:hover .menu-icon,
.menu-item-pin-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(192, 132, 252, 0.4) !important;
}

/* 12. Course - Sky / Indigo */
.menu-item-course .menu-icon,
.menu-item-course-management .menu-icon,
.menu-item .ti-school {
    background: rgba(59, 130, 246, 0.16) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.menu-item-course:hover .menu-icon,
.menu-item-course.active .menu-icon,
.menu-item-course-management:hover .menu-icon,
.menu-item-course-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.4) !important;
}

/* 13. Fund Deposit - Spring Lime Green */
.menu-item-fund-deposit .menu-icon,
.menu-item-fund-deposit-management .menu-icon,
.menu-item .ti-arrow-down-circle {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(74, 222, 128, 0.25) !important;
}
.menu-item-fund-deposit:hover .menu-icon,
.menu-item-fund-deposit.active .menu-icon,
.menu-item-fund-deposit-management:hover .menu-icon,
.menu-item-fund-deposit-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.4) !important;
}

/* 14. Files - Cool Slate */
.menu-item-files .menu-icon,
.menu-item-files-management .menu-icon,
.menu-item .ti-files,
.menu-item .ti-folders {
    background: rgba(100, 116, 139, 0.16) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(203, 213, 225, 0.25) !important;
}
.menu-item-files:hover .menu-icon,
.menu-item-files.active .menu-icon,
.menu-item-files-management:hover .menu-icon,
.menu-item-files-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(203, 213, 225, 0.4) !important;
}

/* 15. Income - Rich Green */
.menu-item-income .menu-icon,
.menu-item-income-management .menu-icon,
.menu-item .ti-trending-up,
.menu-item .ti-chart-line {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}
.menu-item-income:hover .menu-icon,
.menu-item-income.active .menu-icon,
.menu-item-income-management:hover .menu-icon,
.menu-item-income-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.45) !important;
}

/* 16. Ledger / Closings - Vivid Orange */
.menu-item-ledger .menu-icon,
.menu-item-closings .menu-icon,
.menu-item .ti-report-money,
.menu-item .ti-calendar-stats {
    background: rgba(249, 115, 22, 0.16) !important;
    color: #fb923c !important;
    border: 1px solid rgba(251, 146, 60, 0.25) !important;
}
.menu-item-ledger:hover .menu-icon,
.menu-item-ledger.active .menu-icon,
.menu-item-closings:hover .menu-icon,
.menu-item-closings.active .menu-icon {
    box-shadow: 0 0 14px rgba(251, 146, 60, 0.4) !important;
}

/* 17. Business Pdf - Rose Crimson */
.menu-item-business-pdf .menu-icon,
.menu-item .ti-file-text {
    background: rgba(244, 63, 94, 0.16) !important;
    color: #fb7185 !important;
    border: 1px solid rgba(251, 113, 133, 0.25) !important;
}
.menu-item-business-pdf:hover .menu-icon,
.menu-item-business-pdf.active .menu-icon {
    box-shadow: 0 0 14px rgba(251, 113, 133, 0.4) !important;
}

/* 18. Achievement / Achievers - Trophy Gold */
.menu-item-achievement .menu-icon,
.menu-item-achievers .menu-icon,
.menu-item .ti-trophy {
    background: rgba(234, 179, 8, 0.18) !important;
    color: #fde047 !important;
    border: 1px solid rgba(253, 224, 71, 0.25) !important;
}
.menu-item-achievement:hover .menu-icon,
.menu-item-achievement.active .menu-icon,
.menu-item-achievers:hover .menu-icon,
.menu-item-achievers.active .menu-icon {
    box-shadow: 0 0 14px rgba(253, 224, 71, 0.4) !important;
}

/* 19. Support / Support Management - Cyan / Teal */
.menu-item-support .menu-icon,
.menu-item-support-management .menu-icon,
.menu-item .ti-headset {
    background: rgba(6, 182, 212, 0.16) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(34, 211, 238, 0.25) !important;
}
.menu-item-support:hover .menu-icon,
.menu-item-support.active .menu-icon,
.menu-item-support-management:hover .menu-icon,
.menu-item-support-management.active .menu-icon {
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.4) !important;
}

/* 20. Users / User Management / User Search - Azure Blue */
.menu-item-user-search .menu-icon,
.menu-item-user-management .menu-icon,
.menu-item-user .menu-icon,
.menu-item .ti-user-search,
.menu-item .ti-users,
.menu-item .ti-user {
    background: rgba(59, 130, 246, 0.16) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(96, 165, 250, 0.25) !important;
}
.menu-item-user-management:hover .menu-icon,
.menu-item-user-management.active .menu-icon,
.menu-item-user-search:hover .menu-icon,
.menu-item-user-search.active .menu-icon {
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.4) !important;
}

/* 21. Additional Reward Bonus - Pink / Magenta */
.menu-item-additional-reward-bonus .menu-icon,
.menu-item .ti-gift {
    background: rgba(217, 70, 239, 0.16) !important;
    color: #f472b6 !important;
    border: 1px solid rgba(244, 114, 182, 0.25) !important;
}

/* 22. Connector - Violet */
.menu-item-connector .menu-icon,
.menu-item .ti-link {
    background: rgba(139, 92, 246, 0.16) !important;
    color: #a78bfa !important;
    border: 1px solid rgba(167, 139, 250, 0.25) !important;
}

/* 23. Level Income - Mint Aqua */
.menu-item-level-income .menu-icon,
.menu-item .ti-stairs-up {
    background: rgba(20, 184, 166, 0.16) !important;
    color: #2dd4bf !important;
    border: 1px solid rgba(45, 212, 191, 0.25) !important;
}

/* 24. Activation Management - Bright Green */
.menu-item-activation-management .menu-icon,
.menu-item .ti-user-check {
    background: rgba(34, 197, 94, 0.16) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(74, 222, 128, 0.25) !important;
}

/* 25. Role - Indigo */
.menu-item-role .menu-icon,
.menu-item .ti-shield-lock {
    background: rgba(99, 102, 241, 0.16) !important;
    color: #818cf8 !important;
    border: 1px solid rgba(129, 140, 248, 0.25) !important;
}

/* 26. Settings - Steel Slate */
.menu-item-settings .menu-icon,
.menu-item .ti-settings {
    background: rgba(148, 163, 184, 0.16) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(203, 213, 225, 0.25) !important;
}

/* 27. Logout - Crimson Red */
.menu-item-logout .menu-icon,
.menu-item .ti-logout {
    background: rgba(239, 68, 68, 0.16) !important;
    color: #f87171 !important;
    border: 1px solid rgba(248, 113, 113, 0.25) !important;
}
.menu-item-logout:hover .menu-icon,
.menu-item-logout.active .menu-icon {
    box-shadow: 0 0 14px rgba(248, 113, 113, 0.4) !important;
}

/* Fallback cycling for dynamic menus */
.menu-vertical .menu-inner > .menu-item:nth-child(8n+1) > .menu-link .menu-icon {
    background: rgba(14, 165, 233, 0.16);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}
.menu-vertical .menu-inner > .menu-item:nth-child(8n+2) > .menu-link .menu-icon {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}
.menu-vertical .menu-inner > .menu-item:nth-child(8n+3) > .menu-link .menu-icon {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}
.menu-vertical .menu-inner > .menu-item:nth-child(8n+4) > .menu-link .menu-icon {
    background: rgba(6, 182, 212, 0.16);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.25);
}
.menu-vertical .menu-inner > .menu-item:nth-child(8n+5) > .menu-link .menu-icon {
    background: rgba(168, 85, 247, 0.16);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.25);
}
.menu-vertical .menu-inner > .menu-item:nth-child(8n+6) > .menu-link .menu-icon {
    background: rgba(249, 115, 22, 0.16);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.25);
}
.menu-vertical .menu-inner > .menu-item:nth-child(8n+7) > .menu-link .menu-icon {
    background: rgba(244, 63, 94, 0.16);
    color: #fb7185;
    border: 1px solid rgba(251, 113, 133, 0.25);
}
.menu-vertical .menu-inner > .menu-item:nth-child(8n+8) > .menu-link .menu-icon {
    background: rgba(99, 102, 241, 0.16);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.25);
}

/* ==========================================================================
   Submenu Styling (Nested Items)
   ========================================================================== */
.menu-vertical .menu-sub {
    background: rgba(18, 14, 8, 0.9) !important;
    border-radius: 10px !important;
    padding: 6px 6px !important;
    margin: 4px 6px 8px 14px !important;
    border-left: 2px solid rgba(255, 107, 0, 0.35) !important;
}

.menu-vertical .menu-sub .menu-item {
    margin-bottom: 3px !important;
    margin-top: 0 !important;
}

/* Remove default overlapping Vuexy bullet pseudo-element completely */
.menu-vertical .menu-sub .menu-item .menu-link:before,
.menu-vertical .menu-sub .menu-item .menu-link::before,
.menu-vertical .menu-sub > .menu-item > .menu-link:before,
.menu-vertical .menu-sub > .menu-item > .menu-link::before,
.bg-menu-theme .menu-sub > .menu-item > .menu-link:before,
.bg-menu-theme .menu-sub > .menu-item > .menu-link::before,
.bg-menu-theme.menu-vertical .menu-sub > .menu-item > .menu-link:before,
.bg-menu-theme.menu-vertical .menu-sub > .menu-item > .menu-link::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.menu-vertical .menu-sub .menu-link {
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 0.885rem !important;
    color: #d8c8a8 !important;
    transition: all 0.2s ease !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

.menu-vertical .menu-sub .menu-link:hover {
    color: #ffffff !important;
    background: rgba(255, 107, 0, 0.1) !important;
    transform: translateX(3px) !important;
}

.menu-vertical .menu-sub .menu-item.active > .menu-link {
    color: #FF8533 !important;
    background: rgba(255, 107, 0, 0.18) !important;
    font-weight: 600 !important;
}


/* ==========================================================================
   Vuexy Top Navbar Overrides (Glassmorphic)
   ========================================================================== */

#layout-navbar, .bg-navbar-theme {
    background: var(--theme-card-bg) !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border: 1px solid var(--theme-border-color) !important;
    box-shadow: var(--theme-card-shadow) !important;
    border-radius: 12px !important;
    margin-top: 15px !important;
}

#layout-navbar .navbar-nav-right a,
#layout-navbar .navbar-nav-right span,
#layout-navbar .navbar-nav-right small {
    color: var(--theme-text-light) !important;
}

#layout-navbar .navbar-nav-right .text-muted {
    color: var(--theme-text-secondary) !important;
}

/* ==========================================================================
   General Cards & Panels Overrides (Glassmorphic)
   ========================================================================== */

.card {
    background: var(--theme-card-bg) !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border: 1px solid var(--theme-border-color) !important;
    box-shadow: var(--theme-card-shadow) !important;
    border-radius: 16px !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease !important;
}

.card:hover {
    border-color: var(--theme-border-color-hover) !important;
    box-shadow: var(--theme-card-shadow-hover) !important;
    transform: translateY(-2px) !important;
}

.card .card-header, .card .card-footer {
    background: transparent !important;
    border: 0 !important;
}

.card-title, .card h5, .card h6, .card h4, .card h3 {
    color: var(--theme-text-light) !important;
}

/* ==========================================================================
   Electric Blaze Orange & Lucky Draw Theme Class Overrides
   ========================================================================== */

.glass-card-green,
.glass-card-orange,
.lucky-card {
    background: var(--theme-card-bg) !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border: 1px solid var(--theme-border-color) !important;
    box-shadow: var(--theme-card-shadow) !important;
    border-radius: 16px !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease !important;
}

.glass-card-green:hover,
.glass-card-orange:hover,
.lucky-card:hover {
    border-color: var(--theme-border-color-hover) !important;
    box-shadow: var(--theme-card-shadow-hover) !important;
    transform: translateY(-4px) !important;
}

.glass-card-green h4, .glass-card-green p, .glass-card-green label,
.glass-card-orange h4, .glass-card-orange p, .glass-card-orange label,
.lucky-card h4, .lucky-card p, .lucky-card label {
    color: var(--theme-text-light) !important;
}

.glass-card-green .text-dark,
.glass-card-orange .text-dark,
.lucky-card .text-dark {
    color: var(--theme-text-light) !important;
}

.glass-card-green .text-muted,
.glass-card-orange .text-muted,
.lucky-card .text-muted {
    color: var(--theme-text-secondary) !important;
}

.icon-box-green,
.icon-box-orange {
    background: rgba(255, 107, 0, 0.16) !important;
    color: var(--theme-orange-bright) !important;
    border: 1px solid rgba(255, 107, 0, 0.35) !important;
    box-shadow: 0 0 12px var(--theme-orange-glow) !important;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.bg-gradient-green,
.bg-gradient-orange {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B00 50%, #D45500 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(255, 107, 0, 0.35) !important;
}

.btn-lucky-orange {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B00 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 133, 51, 0.4) !important;
    box-shadow: 0 4px 18px rgba(255, 107, 0, 0.38) !important;
    border-radius: 10px !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.btn-lucky-orange:hover,
.btn-lucky-orange:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(255, 107, 0, 0.55) !important;
    color: #ffffff !important;
}

.text-gradient-green,
.text-gradient-orange {
    background: linear-gradient(135deg, #FFF3E0 0%, #FF8533 40%, #FF5500 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.lucky-prize-text {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFA043 40%, #FF6B00 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 800 !important;
}

/* Lucky Draw Ticket Badge */
.lucky-ticket-badge {
    background: rgba(255, 107, 0, 0.14) !important;
    border: 1px dashed rgba(255, 107, 0, 0.45) !important;
    color: #FF8533 !important;
    font-family: monospace, SFMono-Regular, Menlo, Monaco, Consolas, sans-serif !important;
    letter-spacing: 1px !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
}

/* Lucky Draw Digital Ticket with Perforated Notch */
.lucky-ticket-card {
    position: relative;
    background: #15120f !important;
    border: 1px solid rgba(255, 107, 0, 0.25) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.lucky-ticket-card::before,
.lucky-ticket-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #090807;
    border: 1px solid rgba(255, 107, 0, 0.25);
    z-index: 2;
    transform: translateY(-50%);
}

.lucky-ticket-card::before {
    left: -11px;
}

.lucky-ticket-card::after {
    right: -11px;
}

/* Glowing Progress Bar */
.lucky-progress {
    background: rgba(255, 255, 255, 0.08) !important;
    height: 6px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
}

.lucky-progress .progress-bar {
    background: linear-gradient(90deg, #FF8533 0%, #FF6B00 100%) !important;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5) !important;
    border-radius: 999px !important;
}

.premium-shadow {
    box-shadow: var(--theme-card-shadow) !important;
    border: 1px solid var(--theme-border-color) !important;
}

.hover-up {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s ease !important;
}

.hover-up:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--theme-card-shadow-hover) !important;
}

/* ==========================================================================
   Form Control & Input Elements Overrides
   ========================================================================== */

.dark-style .form-control, 
.dark-style .form-select, 
.dark-style select, 
.dark-style textarea, 
.dark-style input[type="text"], 
.dark-style input[type="password"], 
.dark-style input[type="email"], 
.dark-style input[type="number"], 
.dark-style input[type="search"], 
.dark-style input[type="date"], 
.dark-style input[type="tel"],
.form-control, 
.form-select, 
select, 
textarea, 
input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="number"], 
input[type="search"], 
input[type="date"], 
input[type="tel"] {
    background: rgba(20, 16, 13, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--theme-text-light) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
}

.dark-style .form-control:focus, 
.dark-style .form-select:focus, 
.dark-style select:focus, 
.dark-style textarea:focus, 
.dark-style input:focus, 
.dark-style input:focus-visible, 
.dark-style select:focus-visible,
.form-control:focus, 
.form-select:focus, 
select:focus, 
textarea:focus, 
input:focus, 
input:focus-visible, 
select:focus-visible {
    background: rgba(20, 16, 13, 0.95) !important;
    border-color: var(--theme-orange-bright) !important;
    box-shadow: 0 0 12px var(--theme-orange-glow) !important;
    color: var(--theme-text-light) !important;
    outline: none !important;
}

.form-control::placeholder, input::placeholder, textarea::placeholder {
    color: var(--theme-text-muted) !important;
}

.form-label, label {
    color: var(--theme-text-secondary) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
}

select option {
    background-color: #14100d !important;
    color: var(--theme-text-light) !important;
}

/* ==========================================================================
   Table & Datatables Styling Overrides
   ========================================================================== */

.table-responsive {
    background: transparent !important;
    border: 0 !important;
}

.table {
    background: transparent !important;
    color: var(--theme-text-light) !important;
}

.table th, .table.dataTable thead th {
    color: var(--theme-text-secondary) !important;
    border-bottom: 2px solid rgba(255, 107, 0, 0.25) !important;
    background: rgba(22, 18, 15, 0.85) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.table td, .table.dataTable tbody td {
    color: var(--theme-text-light) !important;
    border-bottom: 1px solid rgba(255, 107, 0, 0.1) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 0.8rem !important;
    background: transparent !important;
}

.table tr:hover {
    background: rgba(255, 107, 0, 0.05) !important;
}

.table-active {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* ==========================================================================
   Custom Components Overrides (e.g. KYC Page, treeview, alerts, etc.)
   ========================================================================== */

.kyc-upload-zone {
    border: 2px dashed rgba(255, 107, 0, 0.45) !important;
    background: rgba(255, 107, 0, 0.05) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.kyc-upload-zone:hover {
    background: rgba(255, 107, 0, 0.1) !important;
    border-color: var(--theme-orange-bright) !important;
}

.kyc-info-card {
    border-left: 4px solid var(--theme-orange-primary) !important;
    background: var(--theme-card-bg) !important;
}

.medal-bg-primary {
    background-color: rgba(255, 107, 0, 0.15) !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #090807 !important;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.35) !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6B00 !important;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.6) !important;
}

/* ==========================================================================
   Modals & Popups Overrides (Glassmorphic)
   ========================================================================== */

.modal-content {
    background: rgba(20, 16, 13, 0.97) !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border: 1px solid var(--theme-border-color) !important;
    box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.7), 0 0 20px 0 var(--theme-orange-glow) !important;
    border-radius: 16px !important;
    color: var(--theme-text-light) !important;
}

.modal-header, .modal-footer {
    border-color: rgba(255, 107, 0, 0.15) !important;
    background: transparent !important;
}

.modal-title, .modal-body, .modal-header h1, .modal-header h2, .modal-header h3, .modal-header h4, .modal-header h5, .modal-header h6 {
    color: var(--theme-text-light) !important;
}

.modal-content label {
    color: var(--theme-text-secondary) !important;
}

.modal-content small, .modal-content .text-muted {
    color: var(--theme-text-muted) !important;
}

/* Close button style for dark mode */
.modal-content .btn-close {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

/* Secondary Actions inside Modals */
.btn-label-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--theme-text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-label-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--theme-text-light) !important;
}

/* Alerts inside Modals styling */
.modal-content .alert-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
}

.modal-content .alert-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: #f59e0b !important;
}

.modal-content .alert-success {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #10b981 !important;
}

/* ==========================================================================
   Select2 Dropdowns Overrides (Glassmorphic & Dark)
   ========================================================================== */

/* Main Selection Box container */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: rgba(22, 18, 15, 0.85) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 8px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* On selection hover/focus */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--theme-orange-bright) !important;
    box-shadow: 0 0 10px var(--theme-orange-glow) !important;
}

/* Selection text */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--theme-text-light) !important;
    padding-left: 12px !important;
    line-height: normal !important;
}

/* Option List Popup Wrapper */
.select2-dropdown {
    background: rgba(20, 16, 13, 0.98) !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border: 1px solid var(--theme-border-color-hover) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7), 0 0 15px var(--theme-orange-glow) !important;
    color: var(--theme-text-light) !important;
    border-radius: 8px !important;
}

/* Option List Results Items */
.select2-results__option {
    color: var(--theme-text-secondary) !important;
    background: transparent !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    padding: 8px 12px !important;
}

/* Highlighted Option / Selected Option */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected="true"] {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.25) 0%, rgba(212, 85, 0, 0.08) 100%) !important;
    color: var(--theme-orange-bright) !important;
}

/* Dropdown Arrow placement and styling */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    right: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--theme-text-secondary) transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection__arrow b {
    border-color: transparent transparent var(--theme-text-secondary) transparent !important;
}

/* Select2 Dropdown search container & box */
.select2-search--dropdown {
    background: transparent !important;
    padding: 8px !important;
    border-bottom: 1px solid rgba(255, 107, 0, 0.15) !important;
}

.select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--theme-text-light) !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--theme-orange-bright) !important;
    outline: none !important;
}

/* Placeholder adjustments */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--theme-text-muted) !important;
}

/* ==========================================================================
   Global Input Group & Search Field overrides
   ========================================================================== */

.input-group {
    background: rgba(22, 18, 15, 0.7) !important;
    border: 1px solid var(--theme-border-color) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: stretch !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.input-group .form-control, 
.input-group input[type="text"],
.input-group input[type="search"] {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    height: auto !important;
}

.input-group .input-group-text {
    background: transparent !important;
    border: 1px solid rgba(255, 107, 0, 0.25) !important;
    color: var(--theme-text-light) !important;
}

.input-group .btn {
    border: 0 !important;
    border-left: 1px solid var(--theme-border-color) !important;
    border-radius: 0 8px 8px 0 !important;
}

.input-group:focus-within {
    border-color: var(--theme-orange-bright) !important;
    box-shadow: 0 0 10px var(--theme-orange-glow) !important;
}

/* ==========================================================================
   Global Button & Highlight Overrides
   ========================================================================== */

.btn-outline-primary {
    border-color: var(--theme-orange-bright) !important;
    color: var(--theme-orange-bright) !important;
    background: transparent !important;
    transition: all 0.25s ease !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: var(--theme-orange-primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 15px var(--theme-orange-glow) !important;
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ==========================================================================
   Global Alerts Styling (Glassmorphic)
   ========================================================================== */

.alert {
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border-radius: 12px !important;
    box-shadow: var(--theme-card-shadow) !important;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #ef4444 !important;
}

.alert-warning {
    background: rgba(255, 107, 0, 0.12) !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
    color: #FF8533 !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #10b981 !important;
}

.alert-info {
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
    color: #38bdf8 !important;
}

.alert-primary {
    background: rgba(255, 107, 0, 0.12) !important;
    border: 1px solid rgba(255, 107, 0, 0.25) !important;
    color: #FF8533 !important;
}

.alert .btn-close {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

.alert-icon.bg-white {
    background-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

/* ==========================================================================
   JSTree Dark Mode Overrides (Generation Tree)
   ========================================================================== */

.jstree-default .jstree-anchor {
    color: var(--theme-text-light) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 0.9rem !important;
}

.jstree-default .jstree-hovered {
    background: rgba(255, 107, 0, 0.12) !important;
    border-radius: 4px !important;
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.25) !important;
    color: var(--theme-orange-bright) !important;
}

.jstree-default .jstree-clicked {
    background: rgba(255, 107, 0, 0.22) !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 107, 0, 0.4) !important;
}

.jstree-default .jstree-themeicon {
    filter: invert(1) brightness(1.5) !important;
}

.jstree-default .jstree-icon {
    color: var(--theme-text-secondary) !important;
}

/* ==========================================================================
   Binary Tree Component Overrides (tree_view_binary.php)
   ========================================================================== */

.tree li::before, 
.tree li::after, 
.tree ul ul::before {
    border-color: rgba(255, 107, 0, 0.3) !important;
    border-width: 2px !important;
}

.tree li a.person {
    border: 1px solid var(--theme-border-color) !important;
    background: rgba(20, 16, 13, 0.88) !important;
    color: var(--theme-text-light) !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 8px 12px !important;
    box-shadow: var(--theme-card-shadow) !important;
}

.tree li a.person:hover, 
.tree li a.person:hover + ul li a.person {
    background: rgba(255, 107, 0, 0.22) !important;
    color: var(--theme-orange-bright) !important;
    border-color: var(--theme-orange-bright) !important;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.35) !important;
    transform: translateY(-2px) !important;
}

.tree li a.person.alert-success {
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
}

.tree li a.person.alert-danger {
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
}

.tree li a.person.alert-dark {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--theme-text-muted) !important;
}

.tree .person img {
    border: 2px solid rgba(255, 107, 0, 0.5) !important;
    background: rgba(20, 16, 13, 0.95) !important;
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.3) !important;
    width: 32px !important;
    height: 32px !important;
    margin-top: -24px !important;
}

.tree .tooltip {
    background: rgba(20, 16, 13, 0.97) !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border: 1px solid var(--theme-border-color-hover) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 107, 0, 0.15) !important;
    color: var(--theme-text-light) !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.tree .tooltip::before {
    background: rgba(20, 16, 13, 0.97) !important;
    border-color: var(--theme-border-color-hover) !important;
}

.tree .tooltip::after {
    display: none !important;
}

.tree .tooltip table {
    margin: 0 !important;
    border-collapse: collapse !important;
}

.tree .tooltip table th {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--theme-text-secondary) !important;
    border-bottom: 1px solid rgba(255, 107, 0, 0.15) !important;
    border-right: 1px solid rgba(255, 107, 0, 0.08) !important;
    font-weight: 600 !important;
}

.tree .tooltip table td {
    background: transparent !important;
    color: var(--theme-text-light) !important;
    border-bottom: 1px solid rgba(255, 107, 0, 0.08) !important;
}

/* ==========================================================================
   Global Primary & Success Button overrides
   ========================================================================== */

.btn-primary {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B00 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3) !important;
    transition: all 0.25s ease !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #FFA043 0%, #FF8533 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5) !important;
}

.btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
    transition: all 0.25s ease !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--theme-text-light) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.25s ease !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--theme-text-light) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.05) !important;
}

/* ==========================================================================
   Flatpickr Calendar Dark Mode styling
   ========================================================================== */

.flatpickr-calendar {
    background: rgba(20, 16, 13, 0.98) !important;
    backdrop-filter: var(--theme-blur) !important;
    -webkit-backdrop-filter: var(--theme-blur) !important;
    border: 1px solid var(--theme-border-color-hover) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 107, 0, 0.15) !important;
    color: var(--theme-text-light) !important;
    border-radius: 12px !important;
}

.flatpickr-calendar .flatpickr-months .flatpickr-month,
.flatpickr-calendar .flatpickr-weekdays,
.flatpickr-calendar .flatpickr-current-month,
.flatpickr-calendar .flatpickr-current-month input.cur-year {
    color: var(--theme-text-light) !important;
    fill: var(--theme-text-light) !important;
}

.flatpickr-calendar .flatpickr-weekday {
    color: var(--theme-text-secondary) !important;
}

.flatpickr-day {
    color: var(--theme-text-light) !important;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    background: rgba(255, 107, 0, 0.18) !important;
    color: var(--theme-orange-bright) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B00 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: var(--theme-text-muted) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: var(--theme-text-light) !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    fill: var(--theme-orange-bright) !important;
}

/* ==========================================================================
   Global Card Border Shadows & Label Badges Overrides
   ========================================================================== */

.card-border-shadow-primary {
    border-left: 3px solid #FF6B00 !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
}

.card-border-shadow-warning {
    border-left: 3px solid #FF8533 !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
}

.card-border-shadow-success {
    border-left: 3px solid #10B981 !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
}

.card-border-shadow-info {
    border-left: 3px solid #38bdf8 !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
}

.card-border-shadow-danger {
    border-left: 3px solid #ef4444 !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
}

.card-border-shadow-secondary,
.card-border-shadow-dark {
    border-left: 3px solid rgba(255, 255, 255, 0.3) !important;
    border-bottom: 1px solid var(--theme-border-color) !important;
}

.card[class*="card-border-shadow-"]::after {
    display: none !important;
}

.bg-label-primary,
.badge.bg-label-primary {
    background-color: rgba(255, 107, 0, 0.16) !important;
    color: #FF8533 !important;
    border: 1px solid rgba(255, 107, 0, 0.28) !important;
}

.bg-label-warning,
.badge.bg-label-warning {
    background-color: rgba(255, 133, 51, 0.16) !important;
    color: #FF8533 !important;
    border: 1px solid rgba(255, 133, 51, 0.28) !important;
}

.bg-label-success,
.badge.bg-label-success {
    background-color: rgba(16, 185, 129, 0.16) !important;
    color: #10B981 !important;
    border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.bg-label-info,
.badge.bg-label-info {
    background-color: rgba(56, 189, 248, 0.16) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.28) !important;
}

.bg-label-danger,
.badge.bg-label-danger {
    background-color: rgba(239, 68, 68, 0.16) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.28) !important;
}

.bg-label-secondary,
.badge.bg-label-secondary,
.bg-label-dark,
.badge.bg-label-dark {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--theme-text-secondary) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.badge.bg-warning {
    background-color: rgba(255, 133, 51, 0.2) !important;
    color: #FF8533 !important;
    border: 1px solid rgba(255, 133, 51, 0.35) !important;
}

.badge.bg-success {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #10B981 !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.btn-label-warning {
    background-color: rgba(255, 107, 0, 0.14) !important;
    color: #FF8533 !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
}

.btn-label-warning:hover,
.btn-label-warning:focus {
    background-color: rgba(255, 107, 0, 0.25) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Social Icons & Authentication Wrapper styling
   ========================================================================== */

.social-icons-wrapper {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--theme-border-color) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.social-icon-link {
    color: var(--theme-text-secondary) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.social-icon-link:hover {
    transform: translateY(-3px) !important;
}

.social-icon-link.fb:hover { color: #1877f2 !important; filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.5)) !important; }
.social-icon-link.tw:hover { color: #1da1f2 !important; filter: drop-shadow(0 0 8px rgba(29, 161, 242, 0.5)) !important; }
.social-icon-link.yt:hover { color: #ff0000 !important; filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.5)) !important; }
.social-icon-link.ig:hover { color: #e1306c !important; filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.5)) !important; }
.social-icon-link.tg:hover { color: #0088cc !important; filter: drop-shadow(0 0 8px rgba(0, 136, 204, 0.5)) !important; }

/* ==========================================================================
   Form Check (Checkbox & Radio) Overrides for Visibility & Premium Styling
   ========================================================================== */

.form-check-input {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    width: 1.25em !important;
    height: 1.25em !important;
    margin-top: 0.125em !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-block !important;
    vertical-align: top !important;
    position: relative !important;
}

.form-check-input:hover {
    border-color: #FF8533 !important;
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.3) !important;
}

.form-check-input:checked {
    background-color: #FF6B00 !important;
    border-color: #FF6B00 !important;
}

.form-check-input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 70% !important;
}

.form-check-input[type="radio"] {
    border-radius: 50% !important;
}

.form-check-input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 50% !important;
}

.form-check-input:focus {
    border-color: #FF8533 !important;
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.4) !important;
    outline: 0 !important;
}

.form-check-label {
    cursor: pointer !important;
    user-select: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
}



/* News Marquee CSS */
.news-marquee-container {
    display: flex;
    align-items: center;
    height: 45px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 18px 0 rgba(15, 20, 34, 0.1);
    border: 1px solid var(--theme-border-color) !important;
    margin-bottom: 1.5rem;
    position: relative;
}

.news-marquee-label {
    background: linear-gradient(72.47deg, var(--color-primary-5) 22.16%, rgba(var(--color-primary-5-rgb), 0.7) 76.47%);
    color: #fff;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: 600;
    z-index: 10;
    font-size: 0.95rem;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.news-marquee-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-inner {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
    will-change: transform;
}

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

.news-item {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    font-size: 0.9rem;
    color: #6f6b7d;
}

.news-bullet {
    margin: 0 15px;
    color: var(--theme-cyan-accent);
    font-size: 1.5rem;
    line-height: 1;
}

.news-info {
    display: inline-flex;
    align-items: center;
}

.news-title {
    color: var(--theme-text-secondary);
    font-weight: 700;
    margin-right: 8px;
}

.news-desc {
    color: #5d596c;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* ==========================================================================
   Premium Claymorphic UI Design System (RuLucky Dashboard)
   ========================================================================== */

:root {
    /* Claymorphic Surface & Shadow Variables */
    --clay-bg-surface: #181411;
    --clay-bg-surface-elevated: #221c17;
    --clay-bg-surface-hover: #29221c;

    /* Inset bevels for inflated 3D clay look */
    --clay-bevel-light: inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.08);
    --clay-bevel-dark: inset -2.5px -2.5px 6px rgba(0, 0, 0, 0.65);
    --clay-inset-bevel: var(--clay-bevel-light), var(--clay-bevel-dark);

    /* Inset carved/recessed well (e.g. inputs, copy bar) */
    --clay-carved-shadow: inset 2.5px 2.5px 5px rgba(0, 0, 0, 0.65), inset -1.5px -1.5px 3px rgba(255, 255, 255, 0.04);

    /* Floating outer shadows */
    --clay-shadow-base: 0 12px 28px -4px rgba(0, 0, 0, 0.7), 0 2px 8px -2px rgba(255, 107, 0, 0.12);
    --clay-shadow-hover: 0 18px 36px -4px rgba(0, 0, 0, 0.85), 0 4px 16px -2px rgba(255, 107, 0, 0.25);
    
    /* Vibrant clay button shadows */
    --clay-btn-orange-shadow: 0 8px 20px -2px rgba(255, 107, 0, 0.45), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.35), inset -2px -2px 4px rgba(180, 60, 0, 0.5);
    --clay-btn-emerald-shadow: 0 8px 20px -2px rgba(16, 185, 129, 0.4), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.35), inset -2px -2px 4px rgba(6, 95, 70, 0.5);
}

/* Base Clay Card */
.clay-card {
    background: var(--clay-bg-surface);
    border: 1px solid rgba(255, 107, 0, 0.22);
    border-radius: 1.35rem;
    box-shadow: var(--clay-shadow-base), var(--clay-inset-bevel);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
}

.clay-card:hover {
    border-color: rgba(255, 133, 51, 0.45);
    box-shadow: var(--clay-shadow-hover), var(--clay-inset-bevel);
}

/* Clay Hero Banner Card */
.clay-card-hero {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, #1c1612 55%, #15110e 100%);
    border: 1.5px solid rgba(255, 107, 0, 0.4);
    border-radius: 1.5rem;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 107, 0, 0.18), var(--clay-inset-bevel);
}

/* Clay Flagship Orange (E-Wallet) Card */
.clay-card-orange {
    background: linear-gradient(140deg, rgba(255, 107, 0, 0.16) 0%, #1e1713 60%, #17120e 100%);
    border: 1px solid rgba(255, 107, 0, 0.35);
    border-radius: 1.35rem;
    box-shadow: var(--clay-shadow-base), var(--clay-inset-bevel);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clay-card-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.8), 0 0 24px rgba(255, 107, 0, 0.22), var(--clay-inset-bevel);
}

/* Clay Flagship Emerald (Pool Prize Income) Card */
.clay-card-emerald {
    background: linear-gradient(140deg, rgba(16, 185, 129, 0.16) 0%, #141d18 60%, #111713 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 1.35rem;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.7), 0 2px 8px -2px rgba(16, 185, 129, 0.15), var(--clay-inset-bevel);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clay-card-emerald:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.8), 0 0 24px rgba(16, 185, 129, 0.24), var(--clay-inset-bevel);
}

/* Clay Flagship Cyan (Topup Wallet) Card */
.clay-card-cyan {
    background: linear-gradient(140deg, rgba(6, 182, 212, 0.16) 0%, #111a1d 60%, #0d1417 100%);
    border: 1px solid rgba(6, 182, 212, 0.35);
    border-radius: 1.35rem;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.7), 0 2px 8px -2px rgba(6, 182, 212, 0.15), var(--clay-inset-bevel);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clay-card-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.8), 0 0 24px rgba(6, 182, 212, 0.24), var(--clay-inset-bevel);
}

.clay-icon-cyan {
    width: 48px;
    height: 48px;
    border-radius: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 60%, #0891b2 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px -2px rgba(6, 182, 212, 0.4), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.35), inset -2px -2px 4px rgba(4, 76, 88, 0.5);
}

.clay-divider-cyan {
    border-top: 1px solid rgba(6, 182, 212, 0.22);
}

.clay-btn-outline-cyan {
    background: rgba(6, 182, 212, 0.12) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(6, 182, 212, 0.4) !important;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), var(--clay-inset-bevel);
    font-weight: 600;
    transition: all 0.2s ease;
}

.clay-btn-outline-cyan:hover {
    background: #06b6d4 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -2px rgba(6, 182, 212, 0.45);
    transform: translateY(-2px);
}

/* Clay Tactile Tiles (Metric Grid & Contest Records) */
.clay-tile {
    background: #1f1915;
    border: 1px solid rgba(255, 107, 0, 0.16);
    border-radius: 1rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), var(--clay-inset-bevel);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.clay-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, 0.35);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), var(--clay-inset-bevel);
}

.clay-tile-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.06), inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}

.clay-tile-warning:hover {
    border-color: rgba(245, 158, 11, 0.45);
}

.clay-tile-success {
    background: rgba(16, 185, 129, 0.09);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.06), inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}

.clay-tile-success:hover {
    border-color: rgba(16, 185, 129, 0.45);
}

.clay-tile-info {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.06), inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}

.clay-tile-info:hover {
    border-color: rgba(14, 165, 233, 0.45);
}

.clay-tile-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.06), inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}

.clay-tile-danger:hover {
    border-color: rgba(239, 68, 68, 0.45);
}

/* Clay Flagship Amber (Pending Liabilities) Card */
.clay-card-amber {
    background: linear-gradient(140deg, rgba(245, 158, 11, 0.16) 0%, #1e1912 60%, #17130e 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 1.35rem;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.7), 0 2px 8px -2px rgba(245, 158, 11, 0.15), var(--clay-inset-bevel);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.clay-card-amber:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.8), 0 0 24px rgba(245, 158, 11, 0.24), var(--clay-inset-bevel);
}

.clay-icon-amber {
    width: 48px;
    height: 48px;
    border-radius: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
    color: #111;
    box-shadow: 0 8px 20px -2px rgba(245, 158, 11, 0.4), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.4), inset -2px -2px 4px rgba(180, 83, 9, 0.5);
}

.clay-divider-amber {
    border-top: 1px solid rgba(245, 158, 11, 0.22);
}

/* Clay 3D Medallions & Icon Boxes */
.clay-avatar-medallion {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #FF8533 0%, #D45500 100%);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35), var(--clay-inset-bevel);
}

.clay-avatar-online-dot {
    width: 14px;
    height: 14px;
    background-color: #10B981;
    border: 2px solid #181411;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
}

.clay-icon-orange {
    width: 48px;
    height: 48px;
    border-radius: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF8533 0%, #FF6B00 60%, #D45500 100%);
    color: #ffffff;
    box-shadow: var(--clay-btn-orange-shadow);
}

.clay-icon-emerald {
    width: 48px;
    height: 48px;
    border-radius: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #34D399 0%, #10B981 60%, #059669 100%);
    color: #ffffff;
    box-shadow: var(--clay-btn-emerald-shadow);
}

.clay-icon-mini-orange {
    width: 36px;
    height: 36px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: #FF8533;
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.08), inset -1px -1px 2px rgba(0, 0, 0, 0.5);
}

.clay-icon-mini-emerald {
    width: 36px;
    height: 36px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.08), inset -1px -1px 2px rgba(0, 0, 0, 0.5);
}

.clay-icon-mini-cyan {
    width: 36px;
    height: 36px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #38bdf8;
    box-shadow: inset 1px 1px 2px rgba(255, 255, 255, 0.08), inset -1px -1px 2px rgba(0, 0, 0, 0.5);
}

/* Clay Puffy 3D Buttons */
.clay-btn-orange {
    background: linear-gradient(135deg, #FF8533 0%, #FF6B00 60%, #D45500 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px;
    box-shadow: var(--clay-btn-orange-shadow);
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.clay-btn-orange:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 24px -2px rgba(255, 107, 0, 0.55), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.45);
    filter: brightness(1.06);
    color: #ffffff !important;
}

.clay-btn-orange:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.35), inset 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.clay-btn-outline-emerald {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10B981 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), var(--clay-inset-bevel);
    font-weight: 600;
    transition: all 0.2s ease;
}

.clay-btn-outline-emerald:hover {
    background: #10B981 !important;
    color: #ffffff !important;
    box-shadow: var(--clay-btn-emerald-shadow);
    transform: translateY(-2px);
}

.clay-btn-outline-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), var(--clay-inset-bevel);
    font-weight: 600;
    transition: all 0.2s ease;
}

.clay-btn-outline-warning:hover {
    background: #f59e0b !important;
    color: #000000 !important;
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.45);
    transform: translateY(-2px);
}

/* Clay Inset Recessed Box (Referral Bar & Inputs) */
.clay-inset-box {
    background: #110e0b;
    border: 1px solid rgba(255, 107, 0, 0.18);
    border-radius: 0.95rem;
    box-shadow: var(--clay-carved-shadow);
    padding: 4px;
}

.clay-inset-input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.clay-inset-input:focus {
    box-shadow: none !important;
}

/* Clay Ticket Monospace Pill */
.clay-ticket-pill {
    background: rgba(255, 107, 0, 0.14);
    color: #FF8533;
    border: 1px solid rgba(255, 107, 0, 0.35);
    border-radius: 999px;
    font-family: monospace;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 1px 1px 2px rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.5px;
}

/* Clay Badges */
.clay-badge-pill {
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), inset 1px 1px 2px rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
}

.clay-badge-orange {
    background: rgba(255, 107, 0, 0.18);
    color: #FF8533;
    border: 1px solid rgba(255, 107, 0, 0.35);
}

.clay-badge-emerald {
    background: rgba(16, 185, 129, 0.18);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.clay-badge-warning {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.clay-badge-danger {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.clay-badge-winner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%) !important;
    color: #000000 !important;
    border: 1px solid #fde68a !important;
    border-radius: 999px;
    font-weight: 800;
    padding: 0.4rem 0.95rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5), inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.45);
    display: inline-flex;
    align-items: center;
}

/* Clay Table Styling */
.clay-table-responsive {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.85rem;
}

.clay-table-responsive::-webkit-scrollbar {
    height: 6px;
}

.clay-table-responsive::-webkit-scrollbar-track {
    background: #14100d;
    border-radius: 999px;
}

.clay-table-responsive::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.45);
    border-radius: 999px;
}

.clay-table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 0, 0.75);
}

.clay-table {
    min-width: 860px;
}

.clay-table-head {
    background: #1e1814 !important;
    border-bottom: 2px solid rgba(255, 107, 0, 0.25) !important;
}

.clay-table-head th {
    background: transparent !important;
    color: var(--theme-text-secondary) !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    padding: 0.9rem 1rem !important;
    border: none !important;
}

.clay-table tbody tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
    border-bottom: 1px solid rgba(255, 107, 0, 0.1) !important;
}

.clay-table tbody tr:hover {
    background-color: rgba(255, 107, 0, 0.05) !important;
}

.clay-row-winner {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, rgba(20, 16, 13, 0.8) 100%) !important;
    border-left: 3px solid #f59e0b !important;
}

/* Clay Empty State Medallion */
.clay-empty-medallion {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 0, 0.14);
    border: 1px solid rgba(255, 107, 0, 0.35);
    color: #FF8533;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), var(--clay-inset-bevel);
}

/* Clay Dashboard Modal Popup */
.clay-popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    margin: auto;
}

.clay-popup-content {
    margin: auto;
    position: relative;
    width: 85%;
    max-width: 520px;
    max-height: 90vh;
    padding: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9), var(--clay-inset-bevel);
    border: 1px solid rgba(255, 107, 0, 0.35);
}

.clay-popup-content img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
}

.clay-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 28px;
    line-height: 1;
    font-weight: bold;
    color: #ffffff;
    background: rgba(18, 14, 11, 0.85);
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), var(--clay-inset-bevel);
    transition: transform 0.2s ease, background 0.2s ease;
}

.clay-popup-close:hover {
    transform: scale(1.08);
    background: #FF6B00;
}

/* Typography & Layout Sub-elements */
.clay-display-amount {
    font-size: 2.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.clay-divider {
    border-top: 1px solid rgba(255, 107, 0, 0.15);
}

.clay-divider-emerald {
    border-top: 1px solid rgba(16, 185, 129, 0.18);
}
