/* ============================================================
   rd-toast — standalone toast styles for pages outside the admin
   shell (login / auth). Visual twin of the .rd-toast rules in
   burble-admin/css/burble-admin.css so notifications look identical
   everywhere. Keep the two in sync.
   ============================================================ */

#rd-toast-container {
    position: fixed; top: 20px; right: 20px;
    z-index: 9999; display: flex; flex-direction: column; gap: 10px;
    pointer-events: none;
}

@keyframes rd-toast-in  { from { opacity:0; transform:translateX(24px) scale(.97); } to { opacity:1; transform:translateX(0) scale(1); } }
@keyframes rd-toast-out { from { opacity:1; transform:translateX(0) scale(1); max-height:200px; } to { opacity:0; transform:translateX(16px) scale(.96); max-height:0; padding:0; margin-bottom:-10px; } }

.rd-toast {
    display: flex; align-items: flex-start; gap: 12px;
    min-width: 300px; max-width: 380px;
    padding: 14px 16px; border-radius: 14px;
    border-left: 3px solid transparent;
    background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
    pointer-events: auto; font-family: 'Inter', sans-serif;
    font-size: 13.5px; line-height: 1.5;
    animation: rd-toast-in .32s cubic-bezier(.22,1,.36,1) both;
}
.rd-toast.hiding { animation: rd-toast-out .22s ease forwards; }
.rd-toast-icon { width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.rd-toast-icon svg { width:11px; height:11px; stroke:#fff; stroke-width:2.5; fill:none; }
.rd-toast-body { flex:1; color:#1E293B; }
.rd-toast-close { background:none; border:none; cursor:pointer; color:#94A3B8; font-size:16px; line-height:1; padding:0; flex-shrink:0; transition:color .15s; }
.rd-toast-close:hover { color:#475569; }
.rd-toast.success { border-left-color:#16A34A; } .rd-toast.success .rd-toast-icon { background:#16A34A; }
.rd-toast.danger  { border-left-color:#DC2626; } .rd-toast.danger  .rd-toast-icon { background:#DC2626; }
.rd-toast.warning { border-left-color:#D97706; } .rd-toast.warning .rd-toast-icon { background:#D97706; }
.rd-toast.info    { border-left-color:#2563EB; } .rd-toast.info    .rd-toast-icon { background:#2563EB; }
