/* Hamburger Button */
.hamburger {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.hamburger:hover {
    background: #334155;
}

.hamburger svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #1e293b;
    border-right: 1px solid #334155;
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    display: block;
}

.side-nav.open {
    left: 0;
}

.nav-header {
    padding: 24px 20px;
    border-bottom: 1px solid #334155;
    display: block;
}

.nav-header h2 {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-header p {
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
}

.nav-menu {
    padding: 16px 0;
    display: block;
}

.nav-item {
    padding: 14px 20px 14px 17px; /* 17px + 3px border = 20px to align with nav-header */
    display: flex;
    align-items: center;
    gap: 14px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #e2e8f0;
}

.nav-item:hover .nav-icon {
    color: #60a5fa;
    transform: translateX(2px);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border-left-color: #3b82f6;
}

.nav-item.active .nav-icon {
    color: #3b82f6;
}

.nav-icon {
    font-size: 16px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #94a3b8;
}

.nav-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.nav-section {
    padding: 20px 20px 10px 20px;
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}
