/* Estilos para el popup de mantenimiento */
#maintenance-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

#maintenance-modal-overlay.show {
    display: flex;
}

#maintenance-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    text-align: center;
    padding: 0;
}

#maintenance-modal-header {
    background: linear-gradient(135deg, #a42429 0%, #941e23 100%);
    color: #fff;
    padding: 25px 20px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

#maintenance-modal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

#maintenance-modal-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#maintenance-modal-body {
    padding: 30px 25px;
    color: #333;
}

#maintenance-modal-message {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #555;
}

#maintenance-modal-close {
    background: #a42429;
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
}

#maintenance-modal-close:hover {
    background: #941e23;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(164, 36, 41, 0.4);
}

#maintenance-modal-close:active {
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    #maintenance-modal {
        width: 95%;
        margin: 20px;
    }
    
    #maintenance-modal-header {
        padding: 20px 15px;
    }
    
    #maintenance-modal-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    #maintenance-modal-title {
        font-size: 18px;
    }
    
    #maintenance-modal-body {
        padding: 25px 20px;
    }
    
    #maintenance-modal-message {
        font-size: 15px;
    }
}

