  :root {
            --sidebar-bg: #1a1d23;
            --premium-gold: #d4af37;
            --accent-blue: #3498db;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }

        body { font-family: 'Inter', sans-serif; background-color: #f4f7f6; color: #333; }

        /* Premium Sidebar Fixes */
        .sidebar { 
            width: 280px; 
            height: 100vh; /* Set height to viewport height */
            background: #1a1d23 !important; 
            position: fixed; 
            top: 0;
            left: 0;
            overflow-y: auto; /* ENABLE SCROLLING */
            z-index: 1000;
            padding-bottom: 40px; /* Space at the bottom for last link */
        }

        /* Custom Scrollbar for a cleaner look */
        .sidebar::-webkit-scrollbar {
            width: 5px;
        }
        .sidebar::-webkit-scrollbar-thumb {
            background: #d4af37;
            border-radius: 10px;
        }

        /* Force Text Colors */
        .nav-link { 
            color: #ffffff !important; /* Forces text to white */
            white-space: nowrap; 
            font-size: 0.95rem; 
            padding: 12px 20px;
            display: block;
            transition: 0.3s;
        }

        .nav-link i { 
            color: #d4af37 !important; /* Forces icons to gold */
            margin-right: 10px;
        }

        .nav-link:hover, .nav-link.active { 
            background: rgba(212, 175, 55, 0.15) !important; 
            border-left: 4px solid #d4af37;
        }

        /* Label Colors */
        .section-label {
            color: #64748b !important; /* Lighter gray for readability */
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 20px 25px 5px;
        }
               
        .sidebar-header {
            padding: 30px 20px;
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .brand-text {
            font-weight: 700;
            letter-spacing: 1px;
            color: white;
            text-transform: uppercase;
            font-size: 1.1rem;
        }

        .brand-text span { color: var(--premium-gold); }
            
        .section-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            color: #475569;
            padding: 20px 30px 5px;
            font-weight: 700;
        }

        /* Main Content */
       .main-content { 
            margin-left: 280px; 
            padding: 40px; 
            width: calc(100% - 280px);
        }
        /* KPI Cards */
        .kpi-card { 
            border: none; 
            border-radius: 16px; 
            background: white;
            box-shadow: var(--card-shadow);
            padding: 25px;
            transition: transform 0.3s ease; 
        }
        
        .kpi-card:hover { transform: translateY(-10px); }

        .icon-box {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .stat-val { font-size: 1.8rem; font-weight: 700; color: #1e293b; }
        .stat-label { color: #64748b; font-size: 0.85rem; font-weight: 500; }

        /* Table Styling */
        .custom-table-card {
            border: none;
            border-radius: 16px;
            box-shadow: var(--card-shadow);
            background: white;
            overflow: hidden;
        }

        .table thead th {
            background: #f8fafc;
            border-bottom: none;
            padding: 15px 20px;
            font-size: 0.8rem;
            text-transform: uppercase;
            color: #64748b;
        }

        .table tbody td { padding: 15px 20px; vertical-align: middle; border-color: #f1f5f9; }

        .university-logo {
            width: 100px;         /* Adjusted for a professional size */
            height: auto;
            border-radius: 8px;  /* Subtle rounded corners */
            filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.3)); /* Adds depth */
            background-color: white; /* Ensures visibility if the logo is transparent */
            padding: 5px;
        }

        .sidebar-header {
            padding: 25px 15px;
            background: #15181c; /* Slightly darker than sidebar for contrast */
            text-align: center;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .badge {
            font-weight: 500;
            padding: 6px 12px;
            border-radius: 8px;
        }

        .bg-success-subtle { background-color: #dcfce7 !important; color: #15803d !important; }
        .bg-danger-subtle { background-color: #fee2e2 !important; color: #b91c1c !important; }
        .bg-secondary-subtle { background-color: #f1f5f9 !important; color: #475569 !important; }

        /* Fix for the Top Navigation Tabs visibility */
.nav-tabs .nav-link {
    color: #64748b !important; /* Darker grey for inactive tabs */
    font-weight: 500;
    border: none !important;
    padding: 10px 20px;
}

.nav-tabs .nav-link.active {
    color: #1a1d23 !important; /* Darkest for active */
    background-color: #fff !important;
    border-bottom: 3px solid #d4af37 !important; /* Gold underline for active tab */
}

.nav-tabs .nav-link:hover {
    color: #d4af37 !important;
}
/* Ensure Star Icons and Trash Icons are vibrant */
.text-warning { color: #f1c40f !important; }
.btn-outline-danger:hover { background-color: #dc3545; color: white; }

/* Small helper for module names */
.x-small { font-size: 0.75rem; color: #64748b; }

/* Table hover effect matching your premium theme */
.table-hover tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.03) !important;
}