﻿/* GDPR Cookie dialog */

/* --- GDPR Cookie Main Container --- */
.gdprcookie {
    position: fixed !important;
    color: #fff; !important;
    background: black !important;
    font-size: 0.7em !important; /* Leggermente più grande per leggibilità */
    line-height: 1.6em !important;
    padding: 2rem !important;
    z-index: 999999 !important;
    
    /* Centratura perfetta */
    left: 50% !important;
    bottom: 2rem !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    
    /* Larghezza aumentata */
    width: 90% !important;
    max-width: 800px !important; 
    
    /* Estetica */
    border-radius: 8px; /* Arrotonda leggermente gli angoli */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Aggiunge profondità */
}

/* Titoli */
.gdprcookie h1,
.gdprcookie h2 {
    font-family: 'Barlow', sans-serif;

    font-size: 1.4em !important;
    margin-bottom: 1rem !important;
    font-weight: bold !important;
    color: #fff;
}

.gdprcookie p {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75em;
    color: #fff;
    margin-bottom: 20px;
}


.gdprcookie a {
    color: #3498db !important; /* Un blu classico per i link, più visibile */
    text-decoration: underline;
}

/* --- Buttons Container --- */
.gdprcookie-buttons {
    text-align: center !important;
    margin-top: 1.5rem !important;
}

.gdprcookie-buttons button {
    color: white !important;
    font-family: inherit !important;
    font-size: 1em !important;
    padding: 0.6rem 1.5rem !important; /* Bottoni più grandi e cliccabili */
    border: solid 2px white !important;
    border-radius: 4px !important;
    margin: 0.5rem !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.gdprcookie-buttons button:hover {
    background: white !important;
    color: black !important;
}

.gdprcookie-buttons button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* --- Cookie Types (Checkbox) --- */
.gdprcookie-types ul {
    overflow: hidden !important;
    padding: 0 !important;
    margin: 1rem 0 !important;
    border-top: 1px solid #333;
    padding-top: 1rem !important;
    
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75em;
    color: #fff;
    
}

.gdprcookie-types li {
    display: block !important;
    list-style: none !important;
    float: left !important;
    width: 50% !important;
    padding: 0.5rem 0 !important;
    margin: 0 !important;
}

.gdprcookie-types input[type=checkbox] {
    margin-right: 0.5rem !important;
    transform: scale(1.2); /* Checkbox leggermente più grandi */
}

/* Responsive per schermi molto piccoli */
@media (max-width: 480px) {
    .gdprcookie-types li {
        width: 100% !important; /* Una colonna sola su mobile */
    }
}