/* DIGI-PND — notifications « toast » (Bootstrap 4 .toast, style commun portail citoyen + portail métier) */
.pnd-toasts { position: fixed; top: 18px; right: 18px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.pnd-toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; background: #fff; color: #1B2420; border: 1px solid #E6DFD3; border-radius: 10px; box-shadow: 0 14px 34px rgba(27,36,32,.18); padding: 13px 14px 13px 14px; font-family: 'Poppins', system-ui, sans-serif; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateX(24px); transition: opacity .25s ease, transform .25s ease; position: relative; overflow: hidden; }
.pnd-toast.show { opacity: 1; transform: none; }
.pnd-toast.hide { opacity: 0; transform: translateX(24px); }
.pnd-toast__ico { flex: none; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; color: currentColor; margin-top: 1px; }
.pnd-toast__ico svg { width: 18px; height: 18px; }
.pnd-toast__body { flex: 1; min-width: 0; }
.pnd-toast__titre { font-weight: 600; display: block; margin-bottom: 1px; }
.pnd-toast__msg { color: #3F4743; word-break: break-word; }
.pnd-toast__msg ul { margin: 4px 0 0; padding-left: 18px; }
.pnd-toast__close { flex: none; border: 0; background: none; color: #8A918D; font-size: 20px; line-height: 1; padding: 0 2px; cursor: pointer; }
.pnd-toast__close:hover { color: #1B2420; }
.pnd-toast__barre { position: absolute; left: 0; bottom: 0; height: 2px; background: currentColor; opacity: .25; width: 100%; transform-origin: left; animation: pnd-toast-barre linear forwards; }
@keyframes pnd-toast-barre { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.pnd-toast--ok { color: #0B7A47; }
.pnd-toast--err { color: #B3261E; }
.pnd-toast--warn { color: #E86A00; }
.pnd-toast--info { color: #1F5FA8; }
.pnd-toast .pnd-toast__titre, .pnd-toast .pnd-toast__msg { color: #1B2420; }
.pnd-toast .pnd-toast__msg { color: #3F4743; }
@media (max-width: 575.98px) { .pnd-toasts { top: auto; bottom: 14px; right: 16px; left: 16px; width: auto; } .pnd-toast { transform: translateY(16px); } .pnd-toast.hide { transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .pnd-toast { transition: none; } .pnd-toast__barre { animation: none; } }
