/* BQAM — satu model notifikasi untuk admin & OPAC: kaca cair (liquid glass) dengan gradasi warna sesuai jenis.
   sukses = hijau, galat = merah, peringatan = kuning, info = biru. Gradasi bergerak pelan, kilau menyapu sesekali,
   garis sisa waktu di bawah (berhenti saat kursor di atas notifikasi). */
.bqt-wadah { position:fixed; top:16px; right:16px; z-index:2147483000; display:flex; flex-direction:column; gap:10px;
             width:min(360px, calc(100vw - 32px)); pointer-events:none; }
.bqt { --c1:#3b82f6; --c2:#6366f1; --bqt-durasi:4500ms;
       position:relative; pointer-events:auto; display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:start;
       padding:13px 42px 15px 14px; border-radius:18px; color:#fff; overflow:hidden; isolation:isolate;
       font:400 13px/1.45 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-shadow:0 1px 2px rgba(0,0,0,.22);
       background:
         linear-gradient(125deg, color-mix(in srgb, var(--c1) 62%, transparent) 0%, color-mix(in srgb, var(--c2) 30%, transparent) 45%,
                         rgba(255,255,255,.05) 70%, color-mix(in srgb, var(--c1) 26%, transparent) 100%),
         rgba(17, 24, 39, .46);
       background-size:240% 240%, auto;
       -webkit-backdrop-filter:blur(24px) saturate(190%); backdrop-filter:blur(24px) saturate(190%);
       border:1px solid rgba(255,255,255,.34);
       box-shadow:0 16px 38px rgba(0,0,0,.26), 0 2px 8px rgba(0,0,0,.16), 0 0 0 1px color-mix(in srgb, var(--c1) 18%, transparent),
                  inset 0 1px 0 rgba(255,255,255,.48), inset 0 -1px 0 rgba(255,255,255,.08);
       animation:bqt-masuk .55s cubic-bezier(.2,.9,.25,1.15) both, bqt-alir 7s ease-in-out infinite; }
.bqt::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; border-radius:inherit;
               background:radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.36), rgba(255,255,255,0) 55%); }
.bqt::after { content:""; position:absolute; top:0; bottom:0; left:-60%; width:45%; z-index:-1; pointer-events:none;
              background:linear-gradient(105deg, transparent, rgba(255,255,255,.22), transparent); transform:skewX(-18deg);
              animation:bqt-kilau 4.2s ease-in-out .7s infinite; }
.bqt-sukses     { --c1:#22c55e; --c2:#10b981; }
.bqt-galat      { --c1:#ef4444; --c2:#f43f5e; }
.bqt-peringatan { --c1:#f59e0b; --c2:#facc15; }
.bqt-info       { --c1:#3b82f6; --c2:#6366f1; }
.bqt-ikon { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; margin-top:1px;
            background:linear-gradient(135deg, var(--c1), var(--c2));
            box-shadow:0 0 0 4px color-mix(in srgb, var(--c1) 24%, transparent), 0 6px 14px color-mix(in srgb, var(--c1) 45%, transparent),
                       inset 0 1px 0 rgba(255,255,255,.45); }
.bqt-ikon svg { width:17px; height:17px; stroke:#fff; stroke-width:2.6; fill:none; stroke-linecap:round; stroke-linejoin:round;
                filter:drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
.bqt-judul { font-weight:700; font-size:13.5px; letter-spacing:.1px; margin-bottom:1px; }
.bqt-pesan { opacity:.94; overflow-wrap:anywhere; }
.bqt-pesan a { color:#fff; text-decoration:underline; }
.bqt-tutup { position:absolute; top:9px; right:9px; width:26px; height:26px; border-radius:50%; border:0; padding:0; cursor:pointer;
             background:rgba(255,255,255,.14); color:#fff; font-size:16px; line-height:26px; transition:background .15s; }
.bqt-tutup:hover { background:rgba(255,255,255,.26); }
.bqt-tutup:focus-visible { outline:2px solid #fff; outline-offset:1px; }
.bqt-sisa { position:absolute; left:0; right:0; bottom:0; height:3px; transform-origin:left center;
            background:linear-gradient(90deg, var(--c1), var(--c2)); box-shadow:0 0 8px var(--c1);
            animation:bqt-sisa var(--bqt-durasi) linear forwards; }
.bqt-jeda .bqt-sisa { animation-play-state:paused; }
.bqt-keluar { animation:bqt-keluar .42s cubic-bezier(.4,0,.6,1) forwards !important; }
@keyframes bqt-masuk { from { opacity:0; transform:translateX(42px) scale(.95); filter:blur(4px); } to { opacity:1; transform:none; filter:none; } }
@keyframes bqt-keluar { to { opacity:0; transform:translateX(42px) scale(.95); filter:blur(4px); } }
@keyframes bqt-alir { 0%, 100% { background-position:0% 0%, 0 0; } 50% { background-position:100% 100%, 0 0; } }
@keyframes bqt-kilau { 0%, 62% { left:-60%; } 100% { left:130%; } }
@keyframes bqt-sisa { from { transform:scaleX(1); } to { transform:scaleX(0); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .bqt { background-color:rgba(17,24,39,.94); } }
@media (max-width: 560px) { .bqt-wadah { top:10px; right:auto; left:50%; transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .bqt { animation:none; } .bqt::after { animation:none; display:none; } .bqt-keluar { animation:none !important; opacity:0; }
}
