/* Estilos para el diálogo de confirmación */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog-confirm {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content-confirm {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header-confirm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.modal-title-confirm {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #024731;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #666;
}

.modal-body-confirm {
    padding: 30px 24px;
    text-align: center;
}

.modal-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.modal-message {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.modal-footer-confirm {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.btn-cancel {
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background-color: #e8e8e8;
    border-color: #ccc;
    color: #333;
}

.btn-confirm {
    background-color: #ff4444;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-confirm:hover {
    background-color: #cc0000;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.3);
}

.btn-confirm:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .modal-dialog-confirm {
        width: 95%;
        margin: 20px;
    }

    .modal-header-confirm,
    .modal-body-confirm,
    .modal-footer-confirm {
        padding: 16px 20px;
    }

    .modal-title-confirm {
        font-size: 18px;
    }

    .modal-message {
        font-size: 14px;
    }

    .btn-cancel,
    .btn-confirm {
        padding: 8px 20px;
        font-size: 13px;
    }
}

