/* Stili per il modal automatico */
.auto-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.auto-modal.show {
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-modal-content {
    background-color: #fff;
    width: 100%;
    max-width: 560px;
    border-radius: 16px;
    margin: 30px auto;
    box-shadow: 0px 4px 6px -2px rgba(44, 44, 44, 0.04), 0px 10px 16px -4px rgba(44, 44, 44, 0.10);
    position: relative;
    animation: autoModalSlideIn 0.5s ease-out;
}

@keyframes autoModalSlideIn {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.auto-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border: 2px solid #cfcfcf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auto-modal-close:hover {
    background-color: #f0f0f0;
}

.auto-modal-body {
    padding: 20px;
}