﻿

.alerta-deuda {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    display: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.alerta-deuda-header {
    background-color: #dc3545;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alerta-deuda-body {
    padding: 8px;
    background-color: #fff;
}

.alerta-deuda-progress {
    height: 4px;
    width: 100%;
    background-color: #f8f9fa;
}

.alerta-deuda-progress-bar {
    height: 4px;
    background-color: #dc3545;
    width: 100%;
}

.alerta-deuda-close {
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    padding: 0;
}

.mensaje-deuda {
    margin-bottom: 10px;
}

.mensaje-suspension {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 10px;
}

.mensaje-contacto {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    to {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

.fadeInUp {
    animation: fadeInUp 0.5s ease-out forwards;
}

.fadeOut {
    animation: fadeOut 0.5s ease-in forwards;
}

/* Estilos para los iconos de alerta */
.icon-warning {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.alerta-deuda-close {
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    margin: 0;
    font-weight: bold;
}
