﻿/* Contenedor para múltiples toasts en la parte superior derecha */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 400px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s, transform 0.5s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

    .toast.show {
        opacity: 1;
        transform: translateX(0);
    }

    /* Tipos de toasts */
    .toast.success {
        background-color: #51a351;
    }

    .toast.error {
        background-color: #bd362f;
    }

    .toast.info {
        background-color: #2f96b4;
    }

    .toast.warning {
        background-color: #f89406;
    }

    /* Botón de cierre */
    .toast .close-btn {
        margin-left: auto;
        cursor: pointer;
        font-weight: bold;
        padding: 0 8px;
    }

        .toast .close-btn:hover {
            opacity: 0.7;
        }

    /* Iconos */
    .toast .icon {
        margin-right: 10px;
        font-size: 18px;
    }
