/**
 * Sims Archives — Marketing / consent banner styles.
 *
 * Sticky banner at the bottom of the viewport, shown only on first visit
 * (or when the saved consent is missing). The slide-up transition is
 * applied via `.is-visible` so the banner can be hidden until JS decides
 * to show it without a flash of unstyled content.
 */

.sa-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998;
    background: #0A1E5C;
    color: #F4F7FE;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(100%);
    transition: transform .35s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}
.sa-consent.is-visible {
    transform: translateY(0);
}
.sa-consent[hidden] {
    display: none !important;
}

.sa-consent-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.sa-consent-text {
    flex: 1 1 360px;
    min-width: 0;
}
.sa-consent-title {
    margin: 0 0 .25rem;
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}
.sa-consent-body {
    margin: 0;
    color: rgba(244, 247, 254, 0.78);
    font-size: 13px;
}

.sa-consent-actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}
.sa-consent-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: .55rem 1.1rem;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .12s;
    line-height: 1.2;
}
.sa-consent-btn:hover {
    transform: translateY(-1px);
}
.sa-consent-btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #F4F7FE;
}
.sa-consent-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}
.sa-consent-btn-primary {
    background: #8FE03D;
    border-color: #8FE03D;
    color: #0A1E5C;
}
.sa-consent-btn-primary:hover {
    background: #9DEC4D;
    border-color: #9DEC4D;
}

@media (max-width: 600px) {
    .sa-consent-inner {
        padding: .85rem 1rem;
        gap: .75rem;
    }
    .sa-consent-actions {
        width: 100%;
    }
    .sa-consent-btn {
        flex: 1;
        text-align: center;
    }
}
