/* Dashboard Layout Styles */
.sidebar {
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    z-index: 2;
}

/* Sidebar Navigation */
.nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.8rem 1rem;
    margin: 0.2rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateX(5px);
}

.nav-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.nav-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Mobile Hamburger Menu */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Sidebar */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 1040;
        width: 80% !important;
        max-width: 300px;
        transition: all 0.3s ease-in-out;
        padding-top: 1rem;
    }

    .sidebar.show {
        left: 0;
    }

    .sidebar-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1035;
    }

    .sidebar-backdrop.show {
        display: block;
    }
}

/* Header Styles */
.dashboard-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Content Wrapper */
.content-wrapper {
    padding-top: 4rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .content-wrapper {
        padding-top: 1rem;
    }
}

/* Container modifications */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Row modifications */
.row {
    margin-left: 0;
    margin-right: 0;
}

/* Sidebar Labels */
.nav-item small {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #a8c7fa !important;
    font-weight: 600;
    text-transform: uppercase;
}

/* Sidebar Scrolling */
.position-sticky {
    height: calc(100vh - 1rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

/* Webkit Scrollbar Styles */
.position-sticky::-webkit-scrollbar {
    width: 4px;
}

.position-sticky::-webkit-scrollbar-track {
    background: transparent;
}

.position-sticky::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.2);
    border-radius: 20px;
}

/* Active Link Indicator */
.nav-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    position: relative;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 3px;
    background: #fff;
    border-radius: 0 3px 3px 0;
}

/* Fix hover effects for dashboard elements when modal is open */
.modal-open .stat-card:hover,
.modal-open .dashboard-card:hover {
    transform: none !important;
    box-shadow: inherit !important;
}

/* Adjust z-index for dropdown menus */
.dropdown-menu {
    z-index: 1047;
} 


