#ael-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 37, 41, 0.85);
    /* Sfondo scuro semi-trasparente */
    z-index: 999999 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: ael-fade-in 0.3s forwards;
}

@keyframes ael-fade-in {
    to {
        opacity: 1;
    }
}

#ael-modal {
    background-color: #ffffff;
    padding: 35px 45px;
    border-radius: 8px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    animation: ael-modal-pop 0.3s forwards;
}

@keyframes ael-modal-pop {
    to {
        transform: scale(1);
    }
}

#ael-modal h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #212529;
    font-size: 24px;
}

#ael-modal p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 25px;
}

#ael-email-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin-top: 20px;
    box-sizing: border-box;
    font-size: 16px;
    text-align: center;
}

#ael-modal button {
    background-color: #007bff;
    /* Blu primario */
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
}

#ael-modal button:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
}

#ael-modal button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

#ael-message {
    margin-top: 20px;
    font-weight: 600;
    padding: 10px;
    border-radius: 4px;
    display: none;
    /* Nascosto di default */
}

#ael-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    display: block;
}

.ael-blurred-content {
    filter: blur(8px);
    transition: filter 0.3s;
    pointer-events: none;
}