/* Modern Dark & Gold Theme for EXCELLERS C */
:root {
    /* Dark Navy & Deep Space Backgrounds */
    --bg-primary: #060b19;
    --bg-secondary: #0a1128;
    --bg-tertiary: #0f1b3b;
    --bg-card: #0d1733;
    --bg-hover: #16244d;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-gold: #ffd700;
    
    /* Accent & Brand Colors */
    --accent-primary: #ffd700;
    --accent-secondary: #d4af37;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-info: #3b82f6;
    
    /* Stage Specific Color Tokens */
    --stage-1-color: #10b981;
    --stage-2-color: #3b82f6;
    --stage-3-color: #8b5cf6;
    --maintenance-color: #ffd700;

    /* Border Colors */
    --border-color: #1e2942;
    --border-gold: rgba(212, 175, 55, 0.4);
    --border-light: #2d3b5e;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 15px rgba(255, 215, 0, 0.25);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%);
    --gradient-primary: linear-gradient(135deg, #0a1128 0%, #16244d 100%);
    --gradient-stage1: linear-gradient(135deg, #064e3b 0%, #059669 100%);
    --gradient-stage2: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    --gradient-stage3: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    --gradient-maintenance: linear-gradient(135deg, #78350f 0%, #d97706 100%);
    
    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Container Updates */
.container {
    max-width: 1200px;
}

/* Header Section */
.header-section {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-wrapper {
    position: relative;
    z-index: 1001;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Modern Navigation */
.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.menu li a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu li a i {
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

.menu li a:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

/* Dropdown Menu */
.menu-item-has-children {
    position: relative;
}

@media (min-width: 992px) {
    .menu-item-has-children > a {
        position: relative;
    }

    .menu-item-has-children > a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 0.5rem;
        font-size: 0.75rem;
        transition: transform 0.3s ease;
    }

    .menu-item-has-children:hover > a::after {
        transform: rotate(180deg);
    }
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 200px;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.menu-item-has-children:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
}

.submenu li a i {
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
}

.submenu li a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Custom Button */
.custom-button {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.custom-button.theme {
    background: var(--gradient-primary);
    color: white;
}

.custom-button.theme:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Button */
.header-bar {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    position: relative;
    width: 30px;
    height: 25px;
    z-index: 10001;
    pointer-events: auto !important;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.header-bar:hover {
    background: rgba(99, 102, 241, 0.2);
}

.header-bar:active {
    background: rgba(99, 102, 241, 0.3);
}

.header-bar span {
    width: 25px;
    height: 3px;
    background: var(--text-primary) !important;
    border-radius: 3px;
    transition: var(--transition-fast);
    position: absolute;
    left: 0;
}

.header-bar span:first-child {
    top: 0;
}

.header-bar span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.header-bar span:last-child {
    bottom: 0;
}

.header-bar.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.header-bar.active span:nth-child(2) {
    opacity: 0;
}

.header-bar.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Sidebar Mobile Menu Drawer - EXCELLERS C */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #060b19 0%, #0a1128 100%);
    z-index: 9999;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem 1.25rem;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85), -2px 0 20px rgba(255, 215, 0, 0.12);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
}

.mobile-sidebar.active {
    right: 0;
    display: flex !important;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .mobile-sidebar {
        display: flex;
    }
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-sidebar-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffd700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-sidebar-close:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: rotate(90deg);
}

/* User Card in Drawer */
.sidebar-user-card {
    background: rgba(13, 23, 51, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.bg-gold-subtle {
    background: rgba(255, 215, 0, 0.12) !important;
}

.border-gold-subtle {
    border-color: rgba(255, 215, 0, 0.3) !important;
}

.btn-outline-gold {
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.05);
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #060b19;
    border-color: #ffd700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Menu Items & Accordions */
.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin-bottom: 0.5rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 12px;
    background: rgba(13, 23, 51, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-menu-link .menu-icon {
    font-size: 1.1rem;
    width: 24px;
    color: #ffd700;
}

.mobile-menu-link:hover,
.mobile-menu-item.open > .mobile-menu-link {
    background: rgba(13, 23, 51, 0.9);
    color: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-submenu {
    list-style: none;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    margin: 0.4rem 0 0.5rem 0.75rem;
    display: none;
    background: rgba(13, 23, 51, 0.6);
    border-left: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 0 10px 10px 0;
}

.mobile-submenu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-submenu li a:hover {
    color: #ffffff;
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(4px);
}

.toggle-icon {
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 0.8rem;
    color: #94a3b8;
}

.mobile-menu-item.open .toggle-icon {
    transform: rotate(180deg);
    color: #ffd700;
}

.mobile-submenu-toggle .toggle-icon.fa-chevron-up {
    transform: rotate(180deg);
}

/* Modern Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.card-body {
    color: var(--text-secondary);
}

/* Modern Tables */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table thead {
    background: var(--bg-tertiary);
}

.table th {
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.table td {
    color: var(--text-secondary);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

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

/* Status Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-danger);
}

.badge-info {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-info);
}

.badge-primary {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
}

/* Form Elements */
.form-control {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.form-control:focus {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23b8b8d0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Contact Form */
.contact-form-group {
    margin-bottom: 1.5rem;
}

.contact-form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.contact-form-group button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.contact-form-group button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Creative Auth UI & Glassmorphic Styling for EXCELLERS C */
.account-section {
    min-height: 100vh;
    display: flex;
    background: #060b19;
    position: relative;
    overflow: hidden;
}

.account-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.account-section .left {
    flex: 1.1;
    background: linear-gradient(135deg, #060b19 0%, #0a1128 60%, #0f1b3b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.account-section .left-inner {
    max-width: 460px;
    margin: 0 auto;
}

.brand-badge-wrap {
    display: flex;
    justify-content: center;
}

.brand-badge {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 0.35rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.auth-features-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(13, 23, 51, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1rem 1.25rem;
    border-radius: 14px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.auth-feature-card:hover {
    transform: translateX(6px);
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(13, 23, 51, 0.85);
}

.auth-feature-card .icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.auth-feature-card .text h6 {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.auth-feature-card .text small {
    color: #94a3b8;
    font-size: 0.8rem;
}

.account-section .right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 60%), #0a1128;
    z-index: 1;
}

.auth-glass-card {
    width: 100%;
    max-width: 540px;
    background: rgba(13, 23, 51, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.08);
}

.auth-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.75rem;
}

.auth-subtitle {
    color: #94a3b8;
    font-size: 0.9rem;
}

.auth-btn-submit {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
    color: #060b19 !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.95rem 1.5rem !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.auth-btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.45) !important;
    background: linear-gradient(135deg, #fff066 0%, #ffd700 100%) !important;
}
    background: var(--bg-secondary);
}

.account-section .middle {
    max-width: 450px;
    margin: 0 auto;
}

.account-section .title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.account-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.dashboard-card .icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.dashboard-card .icon.primary {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-primary);
}

.dashboard-card .icon.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
}

.dashboard-card .icon.warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-warning);
}

.dashboard-card .icon.danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-danger);
}

.dashboard-card .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.dashboard-card .label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Dashboard Items */
.dashboard-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
    margin-bottom: 1rem;
}

.dashboard-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.dashboard-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.dashboard-content {
    flex: 1;
}

.dashboard-content .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.dashboard-content .title,
.dashboard-content h5,
.dashboard-content h6 {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* Modal Cards */
.modal-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    z-index: 2000;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease;
}

.modal-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-card__header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-warning);
}

.modal-status-badge.awaiting {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-info);
}

.modal-status-badge.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-danger);
}

.modal-card__body {
    color: var(--text-secondary);
}

.modal-amount {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-amount .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-success);
    margin-bottom: 0.5rem;
}

.modal-amount .amount-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.modal-bank-details {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.modal-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-detail-row:last-child {
    border-bottom: none;
}

.modal-detail-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.modal-detail-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

.modal-countdown-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-timer {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.modal-timer-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.modal-info-box {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.modal-info-box.pending {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-warning);
}

.modal-info-box.awaiting {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-info);
}

.modal-info-box.rejected {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--accent-danger);
}

.modal-info-box p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.modal-info-box .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
}

.modal-btn.pay {
    background: var(--gradient-primary);
    color: white;
    width: 100%;
    justify-content: center;
}

.modal-btn.pay:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modal-btn.approve {
    background: var(--accent-success);
    color: white;
}

.modal-btn.approve:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modal-btn.reject {
    background: var(--accent-danger);
    color: white;
}

.modal-btn.reject:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modal-btn.whatsapp {
    background: #25D366;
    color: white;
    width: 100%;
    justify-content: center;
}

.modal-btn.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modal-btn.dismiss {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    width: 100%;
    justify-content: center;
}

.modal-btn.dismiss:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Modal Overlays */
#payment-overlay,
#confirmation-overlay,
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1999;
    backdrop-filter: blur(5px);
}

/* Deposit Table */
.deposite-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.deposite-table thead {
    background: var(--bg-tertiary);
}

.deposite-table th {
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    font-size: 0.875rem;
}

.deposite-table td {
    color: var(--text-secondary);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.deposite-table tbody tr {
    transition: var(--transition-fast);
}

.deposite-table tbody tr:hover {
    background: var(--bg-hover);
}

.deposite-table tbody tr:last-child td {
    border-bottom: none;
}

/* Custom Table */
.custom--table {
    background: var(--bg-tertiary);
}

/* Referral Input */
.referral-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.referral-input {
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 0;
    flex: 1;
}

.referral-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.copytext {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 100%;
}

.copytext:hover {
    background: var(--accent-secondary);
    transform: none;
    box-shadow: none;
}

.copytext:active {
    background: var(--accent-primary);
}

/* Alert */
.alert {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--accent-danger);
}

.alert-danger h5 {
    color: var(--accent-danger);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.alert-danger p {
    color: var(--text-secondary);
    margin: 0;
}

.alert-danger a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.alert-danger a:hover {
    text-decoration: underline;
}

/* Dashboard Section */
.dashboard-section {
    min-height: 100vh;
}

.padding-top {
    padding-top: 2rem;
}

.padding-bottom {
    padding-bottom: 2rem;
}

.mb-30-none {
    margin-bottom: 0;
}

/* Custom Card */
.custom--card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.primary-bg {
    background: var(--bg-card);
}

/* Button Base */
.btn--base {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn--base:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.bg--base {
    background: var(--gradient-primary);
}

.border--base {
    border-color: var(--accent-primary);
}

/* Form Control */
.form--control {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.form--control:focus {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
    outline: none;
}

/* Card Header Customization */
.card-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-body {
    padding: 1.5rem;
}

.card-body.p-0 {
    padding: 0;
}

/* Navigation Tabs */
.nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: var(--transition-fast);
    font-weight: 500;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-tabs .nav-link.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--accent-primary);
}

.nav-tabs .nav-link i {
    margin-right: 0.5rem;
}

/* Transaction Section */
.transaction-section {
    min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-secondary);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb li a:hover {
    color: var(--accent-primary);
}

.breadcrumb li.active {
    color: var(--text-primary);
}

/* Footer */
.footer-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-section .text-white {
    color: var(--text-secondary);
}

.footer-section a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--accent-secondary);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .header-bar {
        display: flex !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .menu {
        display: none !important;
    }
    
    .right-area {
        display: none !important;
    }
    
    .account-section {
        flex-direction: column;
    }
    
    .account-section .left {
        padding: 3rem 1rem;
    }
    
    .account-section .right {
        padding: 2rem 1rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .dashboard-card {
        margin-bottom: 1rem;
    }
    
    .table {
        font-size: 0.875rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-theme {
    color: var(--accent-primary) !important;
}

.text-green {
    color: var(--accent-success) !important;
}

.text-danger {
    color: var(--accent-danger) !important;
}

.text-warning {
    color: var(--accent-warning) !important;
}

.bg-theme {
    background: var(--accent-primary) !important;
}

.hover-cl-light:hover {
    color: var(--accent-secondary) !important;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.overlay.active {
    display: block;
}

/* Scroll to Top */
.scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 997;
    box-shadow: var(--shadow-lg);
}

.scrollToTop:hover {
    transform: translateY(-5px);
}

.scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* Input Popup (Password Strength) */
.input-popup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 0.5rem;
}

.input-popup p {
    color: var(--text-secondary);
    margin: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.input-popup p::before {
    position: absolute;
    left: 0;
    font-family: 'Line Awesome Free';
    font-weight: 900;
}

.input-popup p.error::before {
    content: "\f057";
    color: var(--accent-danger);
}

.input-popup p.success::before {
    content: "\f058";
    color: var(--accent-success);
}

/* Cookies Card */
.cookies-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: var(--text-secondary);
}

.cookies-card__icon {
    background: var(--gradient-primary);
    color: white;
}

.cookies-btn {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.cookies-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
}

/* Copy Animation */
.copyInput {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.copied::after {
    background: var(--accent-primary);
    color: white;
}

/* Tree Node Styling */
.tree-node {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    transition: var(--transition-fast);
}

.tree-node:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.tree-node .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.tree-node .username {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tree-node .status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Genealogy Tree */
.genealogy-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
}

.genealogy-level {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.genealogy-node {
    position: relative;
    min-width: 150px;
}

.genealogy-connector {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: var(--border-color);
}

.genealogy-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
}

/* Genealogy Container */
.genealogy-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    overflow-x: auto;
}

.genealogy-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.genealogy-controls .form-control {
    min-width: 200px;
}

.genealogy-controls button {
    padding: 0.875rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.genealogy-controls button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Payment Cards */
.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.payment-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.payment-card .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-success);
    margin-bottom: 0.5rem;
}

.payment-card .receiver {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.payment-card .status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Lock Overlay */
.form-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 26, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    z-index: 10;
}

.lock-content {
    text-align: center;
    padding: 2rem;
}

.lock-icon-wrap {
    margin-bottom: 1rem;
}

.lock-title {
    color: var(--accent-danger);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lock-subtitle {
    color: var(--text-secondary);
}

/* Select Item */
.select-item {
    position: relative;
}

.select-bar {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    appearance: none;
    cursor: pointer;
}

.select-bar:focus {
    border-color: var(--accent-primary);
    outline: none;
}

/* Input Group */
.input-group {
    display: flex;
    align-items: stretch;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.input-group-text {
    background: var(--bg-card);
    border: none;
    color: var(--text-secondary);
    padding: 0.875rem 1rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group .form-control {
    border: none;
    background: transparent;
    border-radius: 0;
}

/* Checkgroup */
.checkgroup {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkgroup input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-primary);
}

.checkgroup label {
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Filter */
.show-filter {
    display: none;
}

@media (max-width: 767px) {
    .responsive-filter-card {
        display: none;
    }
    
    .show-filter {
        display: block;
    }
}

/* Button Focus */
.btn-check:focus + .btn,
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Required Label */
label.required:after {
    content: '*';
    color: var(--accent-danger);
    margin-left: 2px;
}

/* Text Colors */
.text--danger {
    color: var(--accent-danger);
}

.text--success {
    color: var(--accent-success);
}

.text--warning {
    color: var(--accent-warning);
}

/* Margin Utilities */
.mb--25 {
    margin-bottom: 1.5rem;
}

/* Mobile Device Classes */
.mobile-device .mobile-sidebar {
    width: 280px;
}

.tablet-device .mobile-sidebar {
    width: 320px;
}

/* Header Page Title Styling */
.header-page-title {
    margin-left: 1.5rem;
    margin-right: auto;
    padding: 0.25rem 0.75rem;
    border-left: 3px solid var(--accent-primary, #ffd700);
}

.header-page-title .page-title-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-gold, #ffd700);
    letter-spacing: 0.75px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

/* Gradient Footer Styling (replaces background image) */
footer, .footer-section {
    background: linear-gradient(135deg, #060b19 0%, #0a1128 50%, #16244d 100%) !important;
    background-image: none !important;
    border-top: 1px solid var(--border-gold, rgba(212, 175, 55, 0.3));
    position: relative;
}

footer::before, .footer-section::before {
    display: none !important;
}

.footer-bottom {
    background: transparent !important;
    padding: 1.5rem 0;
}


/* PWA Mode */
.pwa-mode .header-section {
    padding-top: env(safe-area-inset-top);
}

.pwa-mode .mobile-sidebar {
    padding-top: calc(2rem + env(safe-area-inset-top));
}

/* Dashboard Glassmorphic Cards & Referral Section */
.referral-glass-card {
    background: rgba(13, 23, 51, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.08);
}

.referral-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-gold-copy {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
    color: #060b19 !important;
    border: none !important;
    border-radius: 0 10px 10px 0 !important;
    transition: all 0.25s ease !important;
}

.btn-gold-copy:hover {
    background: linear-gradient(135deg, #fff066 0%, #ffd700 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.35) !important;
}

.dashboard-item {
    background: rgba(13, 23, 51, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.12);
}

.dashboard-thumb {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.dashboard-item:hover .dashboard-thumb {
    transform: scale(1.08);
    background: rgba(255, 215, 0, 0.2);
}

.dashboard-content .amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.dashboard-content .title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin: 0;
}

.dashboard-item.highlight-stage {
    background: linear-gradient(135deg, rgba(13, 23, 51, 0.95) 0%, rgba(26, 43, 94, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.15);
}

/* Modals & Popups for EXCELLERS C */
.modal-card {
    background: linear-gradient(135deg, #060b19 0%, #0a1128 60%, #0f1b3b 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 215, 0, 0.12) !important;
}

.modal-amount .amount {
    color: #ffd700 !important;
}

/* Mobile Dashboard 2 Cards Per Row (col-6) Adjustments */
@media (max-width: 575px) {
    .dashboard-item {
        padding: 0.85rem 0.65rem !important;
        gap: 0.5rem !important;
        border-radius: 14px !important;
    }
    
    .dashboard-thumb {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        border-radius: 10px !important;
    }
    
    .dashboard-content .amount {
        font-size: 0.98rem !important;
        font-weight: 800 !important;
    }
    
    .dashboard-content .title {
        font-size: 0.68rem !important;
        letter-spacing: 0.2px !important;
    }
}

/* Transaction Section & Table Makeover */
.transaction-glass-card {
    background: rgba(13, 23, 51, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.08);
}

.header-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.custom-glass-table {
    border-collapse: separate;
    border-spacing: 0;
}

.custom-glass-table thead th {
    background: rgba(6, 11, 25, 0.8);
    color: #ffd700;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    padding: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.custom-glass-table tbody tr {
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-glass-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.04);
}

.custom-glass-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    color: #e2e8f0;
}

.trx-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.25px;
}

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

.trx-negative {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
