/* BukuKita R11.8 — lapisan visual saja; tidak memengaruhi keputusan server. */
.bk-smooth-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 9998;
  overflow: hidden; pointer-events: none; opacity: 0;
  transition: opacity .15s ease;
  background: rgba(99, 102, 241, .10);
}
.bk-smooth-progress-bar {
  display: block; width: 38%; height: 100%; border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, #6366f1, #818cf8, #06b6d4);
  box-shadow: 0 0 10px rgba(99,102,241,.45);
  animation: bk-progress-moving 1.55s cubic-bezier(.45,.05,.55,.95) infinite;
  transform: translateX(-110%);
}
.bk-smooth-status {
  position: fixed; right: 16px; bottom: 18px; z-index: 9999;
  display: inline-flex; align-items: center; gap: 11px;
  max-width: min(390px, calc(100vw - 32px)); padding: 12px 16px;
  border: 1px solid rgba(165, 180, 252, .34); border-radius: 14px;
  background: rgba(15, 23, 42, .96); color: #fff;
  box-shadow: 0 16px 48px rgba(15,23,42,.23);
  font: 600 13px/1.55 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: transform .2s ease, opacity .2s ease, visibility .2s;
  pointer-events: none;
}
.bk-smooth-spinner {
  display: inline-block; width: 17px; height: 17px; flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.26); border-top-color: #a5b4fc;
  border-radius: 50%; animation: bk-spinning .8s linear infinite;
}
.bk-smooth-busy .bk-smooth-progress { opacity: 1; }
.bk-smooth-busy .bk-smooth-status { opacity: 1; visibility: visible; transform: translateY(0); }
[data-bk-pending="true"] { opacity: .77; cursor: progress !important; pointer-events: none; }
@keyframes bk-progress-moving { from { transform: translateX(-110%); } to { transform: translateX(365%); } }
@keyframes bk-spinning { to { transform: rotate(360deg); } }
@keyframes bk-smooth-page-enter {
  from { opacity: .72; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .bk-smooth-ready main { animation: bk-smooth-page-enter .24s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-smooth-progress-bar, .bk-smooth-spinner { animation: none !important; }
  .bk-smooth-status, .bk-smooth-progress { transition: none !important; }
  .bk-smooth-ready main { animation: none !important; }
}
