/* Pita demo + toast. Mengikuti tema web Bikinin sekarang: gelap, aksen biru es #3DB4FF, Chivo, sudut siku.
   Tinggi tetap 48px, 52px di layar <=760px (demo 3D memasang topbar-nya di angka ini), tanpa membungkus baris. */
@font-face { font-family: "Chivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/chivo-var.woff2") format("woff2"); }

.demo-bar {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; gap: 8px 18px;
  height: 48px; padding: 0 16px; flex-wrap: nowrap;
  background: rgb(10 18 24 / .96); color: #EEECE6;
  border-bottom: 1px solid rgb(238 236 230 / .1);
  font: 400 16px/1.3 "Chivo", system-ui, sans-serif;
}
@media (min-width: 1024px) and (hover: hover) {
  @supports (backdrop-filter: blur(1px)) {
    .demo-bar { background: rgb(10 18 24 / .84); backdrop-filter: blur(14px) saturate(1.2); }
  }
}
.demo-bar a { color: inherit; text-decoration: none; }
.demo-bar a:focus-visible { outline: 2px solid #3DB4FF; outline-offset: 3px; }

/* Kiri: satu tautan kembali (panah + logo + nama) */
.demo-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; flex: none; }
.demo-back img { width: 28px; height: 28px; display: block; }
.demo-panah { width: 16px; height: 16px; flex: none; color: #B9BDC0; transition: transform .15s ease, color .15s ease; }
.demo-back:hover .demo-panah { transform: translateX(-3px); color: #EEECE6; }
.demo-back:hover .demo-nama { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Tengah: label karya (gaya label konsep: garis putus, sudut siku) + keterangan */
.demo-label { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; }
.demo-label b { flex: none; white-space: nowrap; padding: 3px 10px; border: 1.5px dashed rgb(238 236 230 / .6); font-weight: 700; }
.demo-label b.demo-sendiri { border-style: solid; background: #3DB4FF; border-color: #3DB4FF; color: #0A1620; }
.demo-label b.demo-asli { border-style: solid; background: #EEECE6; border-color: #EEECE6; color: #0A1620; }
.demo-by { color: #B9BDC0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kanan: satu aksi */
.demo-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; flex: none; background: #3DB4FF; color: #0A1620 !important; font-weight: 700; white-space: nowrap; transition: background-color .15s ease, transform .15s ease; }
.demo-cta:hover { background: #6CC8FF; }
.demo-cta:active { transform: scale(.97); }
.demo-cta:focus-visible { outline-color: #EEECE6 !important; }
.demo-cta svg { width: 18px; height: 18px; flex: none; }
.demo-cta-k { display: none; }

@media (max-width: 1023px) { .demo-by { display: none; } }
@media (max-width: 760px) {
  .demo-bar { gap: 8px 12px; height: 52px; }
  .demo-nama, .demo-pj { display: none; }
  .demo-cta { min-height: 44px; }
}
@media (max-width: 479px) {
  .demo-bar { padding: 2px 12px; }
  .demo-cta { padding: 0 12px; }
  .demo-cta svg, .demo-cta-p { display: none; }
  .demo-cta-k { display: inline; }
}

.demo-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 1100;
  max-width: calc(100% - 32px); padding: 12px 18px;
  background: #0A1218; color: #EEECE6; border: 1px solid rgb(61 180 255 / .5);
  font: 400 16px/1.4 "Chivo", system-ui, sans-serif;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.demo-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  .demo-panah, .demo-cta, .demo-toast { transition: none; }
}
