/* Core UI Customizations */
body {
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fc !important;
}

#wrapper {
    padding-left: 0;
    transition: all 0.3s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    transition: all 0.3s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styling */
.sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

.list-group-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: #5a5c69;
}

.list-group-item:hover, .list-group-item.active {
    background-color: #f4f6f9;
    color: #0d6efd;
    border-left: 4px solid #0d6efd !important;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.opacity-0 {
    opacity: 0 !important;
    transition: opacity 0.5s ease-out;
}
.z-3 { z-index: 1050; }

.list-group-item.active {
    background-color: rgba(13, 110, 253, 0.05);
}

.text-gray-800 { color: #5a5c69 !important; }
.text-gray-300 { color: #dddfeb !important; }

@media (min-width: 768px) {
    #wrapper { padding-left: 250px; }
    #wrapper.toggled { padding-left: 0; }
    #sidebar-wrapper { width: 250px; }
    #wrapper.toggled #sidebar-wrapper { width: 0; }
    #page-content-wrapper { position: relative; width: 100%; }
    #wrapper.toggled #page-content-wrapper { position: relative; margin-right: 0; }
}
