.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.75rem; }
.font-weight-700 { font-weight: 700; }
.fw-bold { font-weight: 600; }

/* Dashboard Layout */
#sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    padding: 1.5rem 1rem;
    box-shadow: 4px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    z-index: 1000;
}

#main-content {
    margin-left: 250px;
    background-color: #f8fafc;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    #sidebar {
        display: none;
    }

    #main-content {
        margin-left: 0;
    }
    
    .mobile-menu {
        display: none;
        background: #1e293b;
        color: #e2e8f0;
        padding: 1rem;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 950;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .mobile-menu.show {
        display: block;
    }

    .mobile-menu .nav-link {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

.mobile-menu {
    display: none;
}

.sidebar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding: 0.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-section {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin: 1.5rem 0 0.5rem 0.5rem;
    font-weight: 700;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
    text-decoration: none;
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.top-navbar {
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #475569;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 991.98px) {
    .sidebar-toggle {
        display: block;
    }
    .top-navbar {
        padding: 0 1rem;
    }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1) !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
