:root {
    --primary-color: #0d6efd;
    --sidebar-width: 250px;
}

body {
    background-color: #f8f9fa;
}

[data-bs-theme="dark"] body {
    background-color: #212529;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0; 
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    width: var(--sidebar-width);
    background-color: #343a40;
}

[data-bs-theme="dark"] .sidebar {
    background-color: #1a1d20;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .1);
}

.sidebar .nav-link {
    font-weight: 500;
    color: #cbd5e1;
    padding: 0.75rem 1rem;
    margin: 0.2rem 1rem;
    border-radius: 0.5rem;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    color: #fff;
    background-color: var(--primary-color);
}

.main-content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1.25rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.card-stat {
    transition: transform 0.2s;
}
.card-stat:hover {
    transform: translateY(-5px);
}

/* Tablet adjustments */
@media (max-width: 767.98px) {
    .sidebar {
        width: 100%;
        position: relative;
        padding-top: 0;
    }
    .main-content {
        margin-left: 0;
    }
}

/* Big Buttons for Tablets */
.btn-tablet {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}
