/* Sidebar Styles */
.sidebar {
    background-color: #021E45;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    height: 100vh;
}

.nav-item {
    position: relative;
    transition: all 0.3s ease;
    margin: 4px 0;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-right: 4px solid #60a5fa;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #60a5fa;
}

.nav-link {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-item.active .nav-link {
    color: #ffffff;
    font-weight: 500;
}

.logo-container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Sidebar Styles */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 50;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 40;
    }
    
    .mobile-overlay.show {
        display: block;
    }
}

/* Smooth nav link transitions */
.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::after {
    left: 100%;
}