﻿.sidebar {
    display: flex;
    flex-direction: column;
    width: 280px;
    min-height: 100dvh;
    background: transparent;
}

.sidebar-footer {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    color: var(--sidebar-footer-text);
    background: var(--sidebar-footer-bg);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    background-clip: padding-box;
    border-top: 1px solid var(--sidebar-footer-border);
    border-radius: 0;
    padding: var(--sidebar-footer-padding);
    margin-top: auto;
    flex-shrink: 0;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

@media (min-width: 480px) {
    .footer-nav {
        justify-content: flex-start;
    }
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--sidebar-footer-text-muted);
    font-size: 13px;
    line-height: 1.4;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .18s ease, color .18s ease, transform .08s ease, box-shadow .12s ease;
}

    .footer-link:hover,
    .footer-link:focus-visible {
        background: var(--sidebar-footer-hover);
        color: var(--sidebar-footer-text);
        outline: none;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

    .footer-link:active {
        transform: translateY(0.5px);
    }

.link-label {
    letter-spacing: -0.01em;
    font-weight: 600;
}

.divider {
    width: 1px;
    height: 16px;
    background: var(--sidebar-footer-border);
    align-self: center;
}

@media (max-width: 360px) {
    .footer-link {
        padding: 6px 8px;
        font-size: 12px;
    }
}
