/* Sidebar Navigation Styles */
.sidebar {
    width: 220px;
    background: rgba(15, 20, 25, 0.4);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    position: relative;
    z-index: 10;
}

.nav-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    min-height: 40px;
    position: relative;
    overflow: hidden;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(2px);
}

.nav-button:active {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(1px);
}

.nav-button.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateX(4px);
}

.nav-button.active:hover {
    background: rgba(255, 255, 255, 0.12);
}

.nav-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-button.active svg {
    opacity: 1;
}

.nav-button span {
    font-weight: 400;
    letter-spacing: 0.01em;
}

.nav-button.active span {
    font-weight: 500;
}


/* Focus styles for accessibility */
.nav-button:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Animation for page transitions */
@keyframes slideInNav {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-button {
    animation: slideInNav 0.3s ease-out;
}

.nav-button:nth-child(1) {
    animation-delay: 0.1s;
}
.nav-button:nth-child(2) {
    animation-delay: 0.2s;
}
.nav-button:nth-child(3) {
    animation-delay: 0.3s;
}
.nav-button:nth-child(4) {
    animation-delay: 0.4s;
}
.nav-button:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .sidebar {
        width: 240px;
        padding: var(--space-md);
    }

    .nav-button {
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-sm);
        min-height: 50px;
        font-size: 14px;
    }

    .nav-button svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 200px;
        padding: var(--space-sm);
    }

    .nav-button {
        padding: var(--space-xs) var(--space-sm);
        min-height: 44px;
        font-size: 13px;
    }

    .nav-button span {
        font-weight: 500;
    }
}
