        body {
            background-color: #f4f6f9;
            font-family: sans-serif;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

    
.app-shell {
    display: block;
    width: 100%;
    min-height: 100vh;
    position: relative;
}


.sidebar {
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 250px !important;
    background-color: #343a40 !important;
    padding-top: 20px;
    z-index: 1050 !important;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
}

/* Override Bootstrap flex classes for sidebar */
.sidebar.d-flex {
    display: flex !important;
    flex-direction: column !important;
}

.sidebar .nav {
    gap: 5px;
}

.sidebar .nav-link {
    padding: 12px 20px;
    color: #d1d1d1;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.sidebar .nav-link:hover {
    color: #fff;
    background-color: #495057;
}

.sidebar .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
}

.sidebar > a {
    padding: 12px 20px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    display: block;
    transition: all 0.2s ease;
}

.sidebar > a:hover {
    color: #fff;
}

.sidebar .dropdown-menu {
    background-color: #495057;
    border: none;
    margin-left: -10px;
}

.sidebar .dropdown-menu .dropdown-item {
    color: #d1d1d1;
    padding: 8px 20px;
}

.sidebar .dropdown-menu .dropdown-item:hover {
    background-color: #5a6268;
    color: #fff;
}

.sidebar .dropdown-menu .dropdown-item.active,
.sidebar .dropdown-menu .dropdown-item:active {
    background-color: #0d6efd;
    color: #fff;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
    min-height: 100vh;
    width: calc(100% - 250px);
    transition: all 0.3s;
    overflow-x: hidden;
    box-sizing: border-box;
}

.section-header {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.card {
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.summary-card {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }
    .sidebar.active {
        margin-left: 0;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
    }
    .mobile-overlay.active {
        display: block;
    }
}

/* Fix for Tab Rendering & Animation */
.tab-pane {
    padding-top: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}