:root {
    --main-bg-color: #f1f5f9; /* Light Grey Blue Background */
    --main-text-color: #0f172a; /* Dark Navy Text */
    --second-text-color: #bbbec5;
    --second-bg-color: #1e293b; /* Sidebar Dark Blue */
    --primary-color: #3b82f6; /* Modern Blue */
    --secondary-color: #e2e8f0;
    --rounded-full: 20px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--main-bg-color);
    overflow-x: hidden;
}

/* Sidebar Styles */
#wrapper {
    overflow-x: hidden;
    min-height: 100vh;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    transition: margin 0.25s ease-out;
    background-color: var(--second-bg-color) !important;
    width: 15rem;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

#page-content-wrapper {
    width: 100%;
    min-height: 100vh;
}

/* Links inside sidebar */
.list-group-item {
    border: none;
    padding: 20px 30px;
    color: var(--second-text-color) !important; 
}

.list-group-item:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important; 
    border-left: 4px solid var(--primary-color);
}

.list-group-item.active {
    background-color: transparent;
    color: var(--primary-color) !important;
    font-weight: bold;
    border-left: 4px solid var(--primary-color);
}

/* Modern Cards (Glassmorphism-ish) */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
}

/* Table Styling */
.table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.table thead {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Toggler */
@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}