#cookieConsent[hidden] {
    display: none;
}

#cookieConsent {
    position: fixed;
    z-index: 10000;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.75rem;
    background: rgba(2, 44, 42, 0.45);
    backdrop-filter: blur(3px);
}

.cookie-consent-inner {
    width: min(100%, 52rem);
    margin-inline: auto;
    padding: 1.15rem 1.25rem;
    color: #f8fafc;
    background: linear-gradient(135deg, rgb(4, 47, 46), rgb(6, 78, 59));
    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-size: 1.15rem;
    font-weight: 700;
}

.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: #fde68a;
    font-weight: 600;
    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-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

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

#acceptAnalytics {
    color: #042f2e;
    background: #fbbf24;
}

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

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

#acceptAnalytics:hover {
    background: #fcd34d;
}

.cookie-consent-actions button:focus-visible,
.site-footer-links a:focus-visible,
.cookie-settings-button:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
}

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

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