/* Estilos para el contenedor de notificaciones */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    z-index: 1050;
}

/* Estilos base para cada notificación */
.toast-notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    animation: fade-in 0.5s ease-out;
}

/* Estilos para el cuerpo del mensaje */
.toast-body {
    flex-grow: 1;
    margin: 0 15px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: bold;
}

.toast-body span {
    font-weight: normal;
}


/* Estilos para el icono SVG */
.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    /* Esto hará que el color del SVG sea el mismo que el color del texto de la notificación */
}

.toast-icon .close-svg {
    width: 20px;
    height: 20px;
}

/* Estilos para el botón de cerrar */
.toast-close-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.toast-close-btn:hover {
    opacity: 1;
}

/* Colores para cada tipo de notificación */
.toast-success {
    background-color: #28a745;
}

.toast-info {
    background-color: #17a2b8;
}

.toast-warning {
    background-color: #ffc107;
}

.toast-error {
    background-color: #dc3545;
}

/* Animación de entrada */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}