/* === Sidebar Main Container === */
#main-sidebar {
    grid-area: sidebar;
    padding: 1.5rem;

    /* Glassmorphism Effect */
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);

    /* 3D Tilt */
    transform: translateZ(160px) var(--sidebar-rotate-x) var(--sidebar-rotate-y);
    transition: transform 0.1s ease-out, background-color 0.3s ease, border-color 0.3s ease;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--text-secondary);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-link:hover {
    background-color: var(--input-bg-focus);
    color: var(--text-primary);
}

.sidebar-link.active {
    background-color: var(--focus-ring-color);
    color: white;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

