/**
 * SNAPSMACK - Storage Consent Banner
 *
 * Minimal full-width bottom banner for storage consent.
 * Styled to blend with any skin: semi-transparent dark backdrop,
 * neutral typography, compact layout.
 */

#snap-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
    background: rgba(18, 18, 18, 0.96);
    color: #d0d0d0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#snap-consent-banner .consent-text {
    max-width: 620px;
    text-align: center;
}

#snap-consent-banner .consent-text a {
    color: #aaa;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#snap-consent-banner .consent-text a:hover {
    color: #fff;
}

#snap-consent-banner .consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#snap-consent-banner button {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #d0d0d0;
}

#snap-consent-accept {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

#snap-consent-accept:hover {
    background: rgba(255, 255, 255, 0.22) !important;
}

#snap-consent-decline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Mobile: stack vertically */
@media (max-width: 600px) {
    #snap-consent-banner {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }

    #snap-consent-banner .consent-buttons {
        width: 100%;
        justify-content: center;
    }
}
