/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-consent__modal {
    position: relative;
    z-index: 1;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: cookieSlideUp 0.4s ease;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-consent__title {
    font-family: var(--font-family);
    font-size: 1.3rem;
    color: var(--color-heading);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.cookie-consent__text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-consent__text a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Opzioni cookie */
.cookie-consent__options {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: 8px;
}

.cookie-consent__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--color-text);
    font-size: 0.9rem;
    cursor: pointer;
}

.cookie-consent__option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.cookie-consent__option input[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Bottoni */
.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .cookie-consent__modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .cookie-consent__actions {
        flex-direction: column;
    }

    .cookie-consent__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
