/* =============================================
   MODAL.CSS
   Modal de Confirmación Premium + Animaciones
   ============================================= */

.confirm-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.confirm-modal-card {
    max-width: 450px;
    width: 100%;
    padding: 2.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .confirm-modal-card {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.confirm-icon-outer {
    width: 80px; height: 80px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: pulseDanger 2s infinite;
}

@keyframes pulseDanger {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.confirm-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 2rem;
}

.btn-cancel {
    background: linear-gradient(135deg, #39A900, #2d8500) !important;
    color: white !important;
}

.btn-danger-action {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: white !important;
}

.confirm-modal-overlay.active .confirm-modal-card {
    animation: scale-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
