#confirmOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Sfondo nero al 60% di opacità */
    z-index: 99999; /* Lo tiene in primo piano sopra tutto */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 2. Il riquadro bianco del popup */
#confirmBox {
    background-color: #ffffff;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: 12px; /* Angoli arrotondati */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Ombra morbida */
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

/* 3. Il titolo (Attenzione!) */
#confirmBox h1 {
    margin-top: 0;
    color: #d9534f; /* Rosso per catturare l'attenzione */
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 4. Il testo del messaggio */
#confirmBox p {
    color: #444444;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* 5. Contenitore dei bottoni */
#confirmButtons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Spazio tra i due bottoni */
    flex-wrap: wrap; /* Manda a capo i bottoni su schermi minuscoli */
}

#confirmBox{
    background-color: #F2F0EB;
}

/* 6. Stile base per tutti i bottoni del popup */
#confirmBox .button {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

/* 7. Bottone Verde (Acconsento) */
#confirmBox .button.green {
    background-color: #28a745;
    color: #ffffff;
    text-transform: uppercase;
}
#confirmBox .button.green:hover {
    background-color: #218838; /* Colore più scuro al passaggio del mouse */
}

/* 8. Bottone Blu (Prosegui comunque) */
#confirmBox .button.blue {
    background-color: #E30614; /* Grigio/Blu neutro per renderlo secondario */
    color: #ffffff;
    text-transform: uppercase;
}
#confirmBox .button.blue:hover {
    background-color: #5a6268;
}