/* Estilos para notificaciones de operaciones de parcelas */
.notification-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notification-overlay.active {
    opacity: 1;
    visibility: visible;
}

.notification-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 80%;
    width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    direction: rtl;
}

.notification-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.notification-message {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.notification-progress {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #007bff;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.notification-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-success .notification-title {
    color: #28a745;
}

.notification-error .notification-title {
    color: #dc3545;
}

.notification-success .progress-bar {
    background-color: #28a745;
}

.notification-error .progress-bar {
    background-color: #dc3545;
}

/* Animación para filas de la tabla actualizadas */
.row-updated {
    animation: highlightRow 2s ease;
}

@keyframes highlightRow {
    0% {
        background-color: rgba(40, 167, 69, 0.2);
    }
    100% {
        background-color: transparent;
    }
}

.row-error {
    animation: highlightErrorRow 2s ease;
}

@keyframes highlightErrorRow {
    0% {
        background-color: rgba(220, 53, 69, 0.2);
    }
    100% {
        background-color: transparent;
    }
}

/* Estilos adicionales para dispositivos móviles */
@media (max-width: 576px) {
    .notification-content {
        width: 90%;
        padding: 15px;
    }
    
    .notification-title {
        font-size: 16px;
    }
    
    .notification-message {
        font-size: 14px;
    }
}
