/* Suinance · pop-up notifications (top right). Used by notify.js (server alerts written by @Html.Alerts)
   and by the dashboard (window.SUInanceNotify). */
.ad-notify-stack { position: fixed; z-index: 4000; top: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.ad-note { --k: #1f9d6b; --ks: #e6f6ef; position: relative; overflow: hidden; display: grid; grid-template-columns: 34px 1fr 24px; gap: 12px; align-items: start; padding: 14px 12px 16px 14px;
  background: #ffffff; color: #0f1414; border: 1px solid #e3e9e8; border-radius: 16px; box-shadow: 0 22px 48px -18px rgba(11, 18, 18, .45), 0 2px 6px rgba(11, 18, 18, .06);
  font-family: "IBM Plex Sans", system-ui, sans-serif; pointer-events: auto; opacity: 0; transform: translateX(24px) scale(.98); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.ad-note.show { opacity: 1; transform: none; }
.ad-note.is-ok { --k: #1f9d6b; --ks: #e6f6ef; }
.ad-note.is-err { --k: #d6455d; --ks: #fdecef; }
.ad-note.is-info { --k: #3c807b; --ks: #e5f2f1; }
.ad-note .ic { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--ks); color: var(--k); }
.ad-note .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ad-note .tx { display: grid; gap: 2px; min-width: 0; padding-top: 1px; }
.ad-note .tx b { font-family: "Poppins", "IBM Plex Sans", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.ad-note .tx span { font-size: 13.5px; line-height: 1.45; color: #4a5656; overflow-wrap: anywhere; }
.ad-note .x { width: 24px; height: 24px; border: 0; border-radius: 8px; background: transparent; color: #8a9696; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.ad-note .x:hover { background: #f1f5f4; color: #0f1414; }
.ad-note .x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ad-note .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--k); transform-origin: left; opacity: .85; }
.ad-note.show .bar { animation: ad-note-bar var(--t, 5000ms) linear forwards; }
.ad-note:hover .bar { animation-play-state: paused; }
@keyframes ad-note-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
[data-theme="dark"] .ad-note { background: #121a1a; color: #fff; border-color: #243030; }
[data-theme="dark"] .ad-note .tx span { color: #b9c9c8; }
/* server alerts are shown as pop-ups; the inline copy is hidden once it has been shown */
[data-notify].is-toasted { display: none !important; }
/* small "copied" toast */
.ad-toast { position: fixed; top: 20px; right: 20px; z-index: 4000; transform: translateY(-10px); opacity: 0; padding: 11px 16px; border-radius: 12px; background: #0b1212; color: #fff; font: 600 13.5px "IBM Plex Sans", sans-serif; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s; pointer-events: none; }
.ad-toast.show { opacity: 1; transform: none; }
@media (max-width: 600px) { .ad-notify-stack { top: 12px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .ad-note, .ad-toast { transition: none; } .ad-note.show .bar { animation: none; } }
