/* public/assets/css/40-toasts.css */

.lx-toast-stack{
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 36px));
}

.lx-toast{
    display:flex;
    align-items:flex-start;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    color: #1b425b;

    /* ✅ visible par défaut */
    opacity: 1;
    transform: translateY(0);

    transition: opacity .18s ease, transform .18s ease;
}

.lx-toast.is-hide{
    opacity: 0;
    transform: translateY(-6px);
}

.lx-toast__body{
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
}

.lx-toast__close{
    margin-left:auto;
    border:0;
    background:transparent;
    font-size: 18px;
    line-height: 1;
    opacity: .6;
    cursor: pointer;
    padding: 2px 6px;
}
.lx-toast__close:hover{ opacity: .9; }

/* Variantes */
.lx-toast--success{ border-left: 6px solid #22c55e; }
.lx-toast--danger{  border-left: 6px solid #ef4444; }
.lx-toast--warning{ border-left: 6px solid #f59e0b; }
.lx-toast--info{    border-left: 6px solid #3b82f6; }