/* Overlay a tutto schermo */
#avviso-eta-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Nero quasi opaco */
    z-index: 999999; /* Sopra a tutto */
    display: none; /* Gestito dal JS */
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

/* Il contenitore centrale */
.avviso-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.avviso-box h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    font-family: sans-serif!important;
}

.avviso-box p {
    color: #666;
    line-height: 1.5;
}

/* Pulsanti */
.avviso-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-avviso {
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: opacity 0.2s;
}

.btn-avviso:hover {
    opacity: 0.8;
}

.btn-accetta {
    background: #222222;
    color: white;
}

.btn-nega {
    background: #eaeaea;
    color: #333;
}

/* mobile*/
@media screen and (max-width: 767px) {
    .avviso-box{padding: 20px;}

}

/* ipad */
@media screen and (min-width: 768px) and  (max-width: 1023px){

}

/* ipad pro */
@media screen and (min-width: 1024px) and  (max-width: 1200px){

}