#cookieConsent[hidden] {
    display: none;
}

#cookieConsent {
    position: fixed;
    z-index: 10000;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.75rem;
    background: rgba(11, 30, 51, 0.48);
    backdrop-filter: blur(3px);
}

.cookie-consent-inner {
    width: min(100%, 52rem);
    margin-inline: auto;
    padding: 1.15rem 1.25rem;
    color: var(--cvsl-offwhite, #f8fafc);
    background: linear-gradient(135deg, var(--cvsl-navy, #0b1e33), #153b63);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.85rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent-inner h2 {
    margin: 0 0 0.35rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.cookie-consent-inner p {
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cookie-consent-privacy a {
    color: #f2a93b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.cookie-consent-actions button {
    min-height: 2.65rem;
    padding: 0.55rem 1rem;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    border: 1px solid transparent;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

#rejectAnalytics {
    color: var(--cvsl-white, #fff);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
}

#acceptAnalytics {
    color: var(--cvsl-navy, #0b1e33);
    background: #f2a93b;
}

.cookie-consent-actions button:hover {
    transform: translateY(-1px);
}

#rejectAnalytics:hover {
    background: rgba(255, 255, 255, 0.12);
}

#acceptAnalytics:hover {
    background: #ffc35f;
}

.cookie-consent-actions button:focus-visible,
.admin-footer__links a:focus-visible,
.cookie-settings-button:focus-visible {
    outline: 3px solid #f2a93b;
    outline-offset: 3px;
}

@media (max-width: 32rem) {
    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cookie-consent-actions button {
        width: 100%;
    }
}
