.sidebar {
    width: 20%;
    background: #111827;
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    animation: fadeInSidebar 0.4s ease;
}

@keyframes fadeInSidebar {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-header {
    padding: 26px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-tab {
    margin-top: auto; /* Pushes it to the bottom */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none; /* Remove bottom border since it’s last */
}

.tab-header {
    padding: 20px 26px;
    font-size: 1.15rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.25s ease;
}

.tab-header:hover {
    background: #1f2a37;
}

/* Tab content */
.tab-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    background: #1f2937;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.95rem;
}

.tab-content.open {
    max-height: 200px;
    padding: 16px 26px;
}