/* toast.css — notifications discrètes, à la place des alert() */
#toastContainer {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 340px;
}
.toast {
    background: #1f2937;
    color: #fff;
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    animation: toast-in 0.25s ease-out;
    border-left: 4px solid #0066cc;
}
.toast.success { border-left-color: #16a34a; }
.toast.error { border-left-color: #dc3545; }
.toast.info { border-left-color: #0066cc; }
@keyframes toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
    #toastContainer { left: 1rem; right: 1rem; max-width: none; top: auto; bottom: 1rem; }
}
