/* Banner del consenso ai cookie analitici (fragments/analytics.html). Non
   dipende da Bootstrap: alcune pagine non lo includono. */
.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2100;
    max-width: 560px;
    margin: 0 auto;
    padding: 1rem 1.1rem;
    border-radius: 0.8rem;
    background: linear-gradient(145deg, rgba(22, 24, 29, 0.98), rgba(10, 11, 15, 0.98));
    color: var(--text-body, #e6dfd2);
    border: 1px solid rgba(194, 164, 109, 0.55);
    box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.5);
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-title {
    margin: 0 0 0.35rem;
    font-weight: 700;
    color: var(--aged-gold-bright, #f5e9d0);
}

.cookie-consent-text {
    margin: 0 0 0.85rem;
}

.cookie-consent-text a {
    color: var(--aged-gold, #c2a46d);
}

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

/* Stesso peso visivo per le due scelte: rifiutare deve essere facile quanto
   accettare. */
.cookie-consent-button {
    min-width: 7rem;
    padding: 0.45rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid var(--aged-gold, #c2a46d);
    background: transparent;
    color: var(--aged-gold-bright, #f5e9d0);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
    background: rgba(194, 164, 109, 0.18);
}
