:root {
    --main-bg: #e0e7ff;
    /* Light Indigo */
    --main-text: #3730a3;
    /* Dark Indigo */
    --second-text: #4b5563;
    /* Gray 600 */
    --second-bg: #ffffff;
    --primary-color: #4f46e5;
    /* Indigo 600 */
    --secondary-color: #6c757d;
    --rounded-full: 50px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    overflow-x: hidden;
}

/* Sidebar Styles */
#wrapper {
    overflow-x: hidden;
    background-color: #f3f4f6;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    transition: margin 0.25s ease-out;
    background-color: #1e1e2d !important;
    /* Darker sidebar */
    width: 15rem;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
    color: #fff;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
    transition: margin 0.25s ease-out;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

#menu-toggle {
    cursor: pointer;
}

.list-group-item {
    border: none;
    padding: 20px 30px;
    color: #a4a6b3 !important;
    /* Muted text */
}

.list-group-item.active {
    background-color: transparent;
    color: #fff !important;
    font-weight: bold;
    border-left: 4px solid var(--primary-color);
}

.list-group-item:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Submenu styles */
.list-group-item[data-bs-toggle="collapse"] .fa-chevron-down {
    transition: transform 0.3s ease;
}

.list-group-item[data-bs-toggle="collapse"]:not(.collapsed) .fa-chevron-down {
    transform: rotate(180deg);
}

#reportsSubmenu .list-group-item {
    padding: 15px 30px 15px 50px;
    font-size: 0.9rem;
    border-left: 2px solid transparent;
}

#reportsSubmenu .list-group-item:hover {
    border-left-color: var(--primary-color);
}

.primary-text {
    color: var(--main-text);
}

.second-text {
    color: var(--second-text);
}

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

.secondary-bg {
    background-color: var(--second-bg);
}

.rounded-full {
    border-radius: var(--rounded-full);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card Improvements */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

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

.stats-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Responsive */
@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

/* Custom Tab Styles */
.nav-tabs {
    border-bottom: 2px solid #e5e7eb;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--second-text);
    background: transparent;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--primary-color);
    background-color: rgba(79, 70, 229, 0.05);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom: 3px solid var(--primary-color);
}