        :root {
            --primary: #0062ff;
            --bg: #0b0e11;
            --surface: #1e2329;
            --text: #eaecef;
            --text-muted: #9ba3af; 
            --border: #2b3139;
            --success: #26a69a;
            --danger: #ef5350;
            --warning: #f0b90b;
        }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans SC', 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Background Utilities */
.bg-surface { background-color: var(--surface) !important; }
.bg-black { background-color: #000000 !important; }
.bg-dark { background-color: var(--bg) !important; }

/* Border Utilities */
.border-secondary { border-color: var(--border) !important; }

/* Text Utilities */
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-primary { color: var(--primary) !important; }
.text-warning { color: var(--warning) !important; }

/* Card Overrides */
.card {
    background-color: var(--surface);
    border-color: var(--border);
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
}

/* List Group Overrides */
.list-group-item {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text);
}

.list-group-item-action:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

/* Form Overrides */
.form-control, .form-select {
    background-color: #000000;
    border-color: var(--border);
    color: #ffffff;
}

.form-control:focus, .form-select:focus {
    background-color: #121212;
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(0, 98, 255, 0.25);
}

/* Table Overrides */
.table-dark {
    --bs-table-bg: var(--surface);
    --bs-table-border-color: var(--border);
}

* {
    box-sizing: border-box;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.section {
    padding: 80px 0;
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .display-3 {
        font-size: 2.2rem;
        font-weight: 800;
        line-height: 1.2;
    }
    .display-4 {
        font-size: 1.8rem;
        font-weight: 700;
    }
    .card {
        border-radius: 16px !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        margin-bottom: 15px;
    }
    .card-body {
        padding: 1.25rem !important;
    }
    .btn {
        padding: 12px 20px;
        border-radius: 12px;
        font-size: 14px;
    }
    header {
        height: 60px;
        padding: 0 15px;
        background: rgba(11, 14, 17, 0.95) !important;
    }
    .logo-text {
        font-size: 18px;
        letter-spacing: 0 !important;
    }
    .logo-container {
        gap: 8px;
    }
    
    /* Better spacing for sections on mobile */
    .section {
        padding: 40px 0;
    }
    
    /* Improve table visibility on mobile */
    .table-container {
        padding: 10px;
        border-radius: 12px;
        overflow-x: auto;
    }
    
    /* App-like feel for mobile */
    body {
        padding-bottom: 75px; /* Space for bottom nav */
    }
    
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        border-bottom: 1px solid var(--border);
    }
    .nav-tabs::-webkit-scrollbar { display: none; }
    .nav-tabs .nav-link {
        white-space: nowrap;
        padding: 10px 15px;
    }

    /* Fixed Bottom Navigation for App-like experience */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: rgba(18, 21, 25, 0.95);
        backdrop-filter: blur(15px);
        display: flex;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid var(--border);
        z-index: 1000;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-muted);
        font-size: 11px;
        gap: 4px;
        flex: 1;
    }
    .mobile-bottom-nav a i {
        font-size: 20px;
    }
    .mobile-bottom-nav a.active {
        color: var(--primary);
    }
    
    /* Responsive grids */
    .row > * {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }
    .register-card, .login-card {
        padding: 30px 15px !important;
        margin: 10px 0;
        border-radius: 20px !important;
    }
    .register-card .logo-text, .login-card .logo-text {
        font-size: 20px !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.shadow-primary {
    box-shadow: 0 8px 20px rgba(0, 98, 255, 0.3) !important;
}

.transition-all {
    transition: all 0.3s ease;
}
