/*
 * File: my-cookie-style.css
 * Versione: 1.7.2
 * Stili per la Modale Cookie
 */

/* Overlay scuro che copre tutto lo schermo */
#my-cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* DEVE essere altissimo */
}

/* Contenitore principale della modale */
#my-cookie-modal {
    background: #fff;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-height: 90vh; 
    display: flex;
    flex-direction: column;
}

/* Intestazione e Contenuto */
#my-cookie-modal .my-cookie-header {
    padding: 15px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #eee;
}

#my-cookie-modal .my-cookie-header h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

#my-cookie-modal .my-cookie-content {
    padding: 20px 15px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1; 
    color: #555;
}

/* Footer (pulsanti) */
#my-cookie-modal .my-cookie-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #eee;
}

/* Stile per il pulsante ACCETTA (Primario) */
.my-cookie-button {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background-color: #0073aa; 
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-decoration: none; 
}

.my-cookie-button:hover {
    background-color: #005177;
}

/* Stile per il pulsante RIFIUTA (Secondario) */
.my-cookie-button-secondary {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f0f0f0; 
    color: #333;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-right: 10px; 
    text-decoration: none;
}

.my-cookie-button-secondary:hover {
    background-color: #e0e0e0;
}