/* =========================================================
   3. SIDEBAR FOOTER
   Stays INSIDE the sidebar (which now stretches with the row)
   Auto-pushed to bottom by margin-top:auto — never overlaps page footer
   ========================================================= */

.cs-sidebar-footer {
    margin-top: auto;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255,255,255,.05);
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.cs-footer-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.cs-footer-label {
    font-size: .75rem;
    opacity: .55;
    letter-spacing: .3px;
    white-space: nowrap;
}

.cs-toggle-group {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    padding: 3px;
}

.cs-mode-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,.4);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: .85rem;
    transition: all .2s ease;
}

.cs-mode-btn:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); }
.cs-mode-btn.active { color: var(--accent); background: rgba(245,179,1,.15); }

.cs-footer-divider {
    border-top: 1px solid rgba(255,255,255,.05);
    margin: 4px 0;
}
