/* Fixed footer + PWA install bar (install at screen bottom, footer stacked above) */

:root {
    --site-dock-height: 3.25rem;
    --pwa-install-height: 0px;
}

body {
    padding-bottom: var(--site-dock-height);
}

.site-bottom-dock {
    position: relative;
    z-index: 1100;
    height: 0;
    overflow: visible;
    pointer-events: none;
}

.site-sticky-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--pwa-install-height, 0px);
    z-index: 1102;
    pointer-events: auto;
    background: var(--qr-sidebar, #1e293b);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.15);
    transition: bottom 0.28s ease;
}

.pwa-install-slot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1101;
    pointer-events: auto;
}

.site-sticky-footer--login {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(8px);
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.site-footer-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-footer-brand {
    color: #e2e8f0;
    font-weight: 600;
}

.site-footer-credits {
    font-size: 0.75rem;
    color: #64748b;
}

.site-footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer-social-label {
    color: #64748b;
    font-size: 0.75rem;
    margin-right: 0.25rem;
}

.site-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

.site-social-link i {
    font-size: 1rem;
}

.site-social-link--facebook {
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.15);
}

.site-social-link--facebook:hover {
    color: #fff;
    background: #1877f2;
}

.site-social-link--linkedin {
    color: #7dd3fc;
    background: rgba(14, 116, 144, 0.2);
}

.site-social-link--linkedin:hover {
    color: #fff;
    background: #0a66c2;
}

.site-social-link:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

@media (max-width: 576px) {
    .site-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .site-footer-copy {
        align-items: center;
    }

    .site-footer-social {
        justify-content: center;
    }

    .site-social-link span {
        display: none;
    }

    .site-social-link {
        padding: 0.45rem 0.65rem;
    }
}
