/* Modal de Error */
.modal-error {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    font-family: obvia, sans-serif;
}

.modal-error__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-error__content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-error__header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.modal-error__header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    color: #e74c3c;
    line-height: 1.2;
}

.modal-error__body {
    padding: 20px 30px;
    text-align: center;
}

.modal-error__body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.modal-error__footer {
    padding: 15px 30px 25px;
    text-align: center;
    border-top: 1px solid #eee;
}

.modal-error__footer .boton {
    background-color: #39DEC9;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.modal-error__footer .boton:hover {
    background-color: #2bc4b0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 222, 201, 0.3);
}

.modal-error__footer .boton:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-error__overlay {
        padding: 15px;
    }
    
    .modal-error__content {
        max-width: 100%;
    }
    
    .modal-error__header {
        padding: 20px 20px 15px;
    }
    
    .modal-error__header h3 {
        font-size: 20px;
    }
    
    .modal-error__body {
        padding: 15px 20px;
    }
    
    .modal-error__body p {
        font-size: 14px;
    }
    
    .modal-error__footer {
        padding: 15px 20px 20px;
    }
    
    .modal-error__footer .boton {
        padding: 10px 25px;
        font-size: 14px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .modal-error__overlay {
        padding: 10px;
    }
    
    .modal-error__header {
        padding: 15px 15px 10px;
    }
    
    .modal-error__header h3 {
        font-size: 18px;
    }
    
    .modal-error__body {
        padding: 10px 15px;
    }
    
    .modal-error__footer {
        padding: 10px 15px 15px;
    }
}
