/* === SYSTÈME DE TOASTS AQ STOCKS — P1.3 === */

.aq-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 380px;
}

.aq-toast {
    pointer-events: auto;
    background: #fff;
    border-radius: 8px;
    padding: 13px 14px 13px 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.08);
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .2s ease, transform .25s ease;
    cursor: pointer;
    border-left: 4px solid #6c757d;
    min-width: 260px;
    max-width: 380px;
    user-select: none;
}

.aq-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.aq-toast.hide {
    opacity: 0;
    transform: translateX(20px);
}

.aq-toast__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    margin-top: 1px;
}

.aq-toast__message {
    flex: 1;
    color: #212529;
    padding-top: 2px;
}

.aq-toast__close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: rgba(0,0,0,.35);
    font-size: 19px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    margin-top: -1px;
}

.aq-toast__close:hover { color: rgba(0,0,0,.65); }

/* Variantes */
.aq-toast--success { border-left-color: #28a745; }
.aq-toast--success .aq-toast__icon { background: #28a745; }

.aq-toast--error   { border-left-color: #dc3545; }
.aq-toast--error   .aq-toast__icon { background: #dc3545; }

.aq-toast--warning { border-left-color: #ffc107; }
.aq-toast--warning .aq-toast__icon { background: #ffc107; color: #212529; }

.aq-toast--info    { border-left-color: #17a2b8; }
.aq-toast--info    .aq-toast__icon { background: #17a2b8; }

/* Responsive mobile */
@media (max-width: 575px) {
    .aq-toast-container {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
    .aq-toast { min-width: 0; }
}
