/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* -------------------- Variables -------------------- */
:root {
  --border:#9aa3af;
  --ink:#111827;
  --muted:#6b7280;

  /* animation knobs */
  --anim-dur:.22s;
  --anim-ease:cubic-bezier(.2,.7,.3,1);
  --anim-delay:0ms;

   /* type scale */
  --fs-12: clamp(12px, 1.2vw, 14px);
  --fs-14: clamp(13px, 1.35vw, 16px);
  --fs-16: clamp(14px, 1.6vw, 18px);
  --fs-18: clamp(15px, 1.8vw, 20px);
  --fs-22: clamp(18px, 2.2vw, 24px);

  /* spacing scale */
  --sp-8:  clamp(6px, 1.0vw, 8px);
  --sp-10: clamp(8px, 1.2vw, 10px);
  --sp-12: clamp(10px, 1.4vw, 12px);
  --sp-16: clamp(12px, 1.8vw, 16px);
  --sp-20: clamp(14px, 2.2vw, 20px);

  /* radius scale */
  --r-10: clamp(8px, 1.2vw, 10px);
  --r-12: clamp(10px, 1.4vw, 12px);
  --r-16: clamp(12px, 1.8vw, 16px);
}

/* -------------------- Base & Layout -------------------- */
* { box-sizing: border-box;  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  /* background: #f8fafc; */
  background: black;
  font-size: 14px;
  line-height: 1.4;
}

.wrap {
  max-width: 1300px;
  margin: auto!important;
  padding: 0!important;
}

@media(min-width: 1900px) {
  .wrap {
    max-width: 1500px;
  }
}

.stage {
  position: relative;               
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}


/* Donkere overlay (achtergrond dimmen bij callout) */
#dim-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 4; /* tussen frame en callout */
}

#dim-bg.active {
  opacity: 1;
  pointer-events: auto;
}

/* Zoomable frame (image lives here) */
.frame {
  position: relative;
  z-index: 1;                        /* sits under overlays */
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  transform: scale(var(--z, 1));
  transition: transform var(--dur, 320ms) var(--anim-ease);
}

.stage img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Unscaled overlays (outside the frame) */
#hots,
#callout-layer {
  position: absolute;
  inset: 0;                          /* fill .stage */
  z-index: 5;                        /* above the image */
  pointer-events: none;              /* children opt-in */
}

/* Make overlay children interactive */
#hots .hotspot,
#callout-layer .bubble,
#callout-layer .callout {
  pointer-events: auto;
}

/* -------------------- Hotspots -------------------- */
.hotspot {
  position: absolute;
  border: 2px dashed var(--border);
  border-radius: 12px;
  /* background: rgba(255,255,255,.2); */
  /* backdrop-filter: saturate(140%); */
}
.hotspot button {
   height: 100%;
   width: 100%;
  background: transparent; border: 0;
  cursor: pointer;
}

.hotspot:focus { outline: 4px solid rgba(59,130,246,.35); }

/* Label chip under hotspot (optional) */
.chip {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -8px;
  padding: 2px 8px;
  font-size: 11px;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* Hotspot animations */
@keyframes kf-hotspot-pop {
  0% { transform: scale(.96); opacity: 0; }
  100%{ transform: scale(1);   opacity: 1; }
}
.hotspot-pop { animation: kf-hotspot-pop var(--anim-dur) var(--anim-ease) both; }

@keyframes kf-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,149,218,.35); }
  100% { box-shadow: 0 0 0 14px rgba(0,149,218,0); }
}
.hotspot-pulse { animation: kf-pulse 1.4s ease-out infinite; }

.hotspot:hover { filter: brightness(1.02); }

/* -------------------- Bubbles (tooltips) -------------------- */
/* Base bubble (single transform source of truth) */
.bubble {
  position: absolute;
  background: white;
  color: #000000;
  font-size: 16px;
  padding: 18px 20px;
  border: 1px solid #c9c9c9;
  border-radius: 10px;
  min-width: 280px;
  z-index: 100;
  will-change: transform, opacity;
  transform: translate(var(--tx, 0), var(--ty, 0));
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* Bubble arrow tail */
.bubble::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: white;
  border-right: 1px solid #c9c9c9;
  border-top: 1px solid #c9c9c9;
  transform: rotate(45deg);
}

/* Bubble positions — now placed OUTSIDE the hotspot */
.bubble.arrow-top {
  left: 50%;
  bottom: calc(100% + 8px);  /* bubble boven hotspot */
  --tx: -50%; --ty: 0;
}
.bubble.arrow-bottom {
  left: 50%;
  top: calc(100% + 8px);     /* bubble onder hotspot */
  --tx: -50%; --ty: 0;
}
.bubble.arrow-left {
  top: 50%;
  right: calc(100% + 8px);   /* bubble links van hotspot */
  --tx: 0; --ty: -50%;
}
.bubble.arrow-right {
  top: 50%;
  left: calc(100% + 8px);    /* bubble rechts van hotspot */
  --tx: 0; --ty: -50%;
}

/* Arrow tail placement */
.bubble.arrow-top::after {
  left: 50%;
  bottom: -4px;               /* pijltje aan onderkant van bubble */
  transform: translateX(-50%) rotate(45deg);
}
.bubble.arrow-bottom::after {
  left: 50%;
  top: -4px;                  /* pijltje aan bovenkant van bubble */
  transform: translateX(-50%) rotate(45deg);
}
.bubble.arrow-left::after {
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.bubble.arrow-right::after {
  left: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

/* Buttons row inside bubble */
.bubble .row {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  margin-top: 20px;
}
.bubble button {
  border: 0;
  cursor: pointer;
}
.bubble .back {
  color: #7e7e7e;
  padding: 2px 0px 2px 0px;
  width: 0%;
}
.bubble .next {
  background: #0095da;
  color: white;
  padding: 4px 60px 4px 30px;
  border-radius: 5px;
  width: 0%;
}

/* Bubble entrance animations */
@keyframes kf-pop {
  0% { opacity: 0; transform: translate(var(--tx,0), var(--ty,0)) scale(.96); }
  100%{ opacity: 1; transform: translate(var(--tx,0), var(--ty,0)) scale(1); }
}
@keyframes kf-slide-up {
  0% { opacity: 0; transform: translate(var(--tx,0), calc(var(--ty,0) + 10px)); }
  100%{ opacity: 1; transform: translate(var(--tx,0), var(--ty,0)); }
}
@keyframes kf-slide-down {
  0% { opacity: 0; transform: translate(var(--tx,0), calc(var(--ty,0) - 10px)); }
  100%{ opacity: 1; transform: translate(var(--tx,0), var(--ty,0)); }
}
@keyframes kf-slide-left {
  0% { opacity: 0; transform: translate(calc(var(--tx,0) + 10px), var(--ty,0)); }
  100%{ opacity: 1; transform: translate(var(--tx,0), var(--ty,0)); }
}
@keyframes kf-slide-right {
  0% { opacity: 0; transform: translate(calc(var(--tx,0) - 10px), var(--ty,0)); }
  100%{ opacity: 1; transform: translate(var(--tx,0), var(--ty,0)); }
}

/* Helpers to apply the animations */
.anim-pop        { animation: kf-pop var(--anim-dur) var(--anim-ease) both;        animation-delay: var(--delay, var(--anim-delay)); }
.anim-slide-up   { animation: kf-slide-up var(--anim-dur) ease-out both;            animation-delay: var(--delay, var(--anim-delay)); }
.anim-slide-down { animation: kf-slide-down var(--anim-dur) ease-out both;          animation-delay: var(--delay, var(--anim-delay)); }
.anim-slide-left { animation: kf-slide-left var(--anim-dur) ease-out both;          animation-delay: var(--delay, var(--anim-delay)); }
.anim-slide-right{ animation: kf-slide-right var(--anim-dur) ease-out both;         animation-delay: var(--delay, var(--anim-delay)); }

/* -------------------- Callout (unscaled) -------------------- */
.callout {
  position: absolute;
  z-index: 20;
  background: white;
  backdrop-filter: blur(2px);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  padding: 20px;
  max-width: 400px;
  transform: translate(-50%,-50%);
}

.callout h3 { margin: 0 0 10px; font-size: 22px; padding-top: 10px;}
.callout p  { margin: 0 0 10px; font-size: 16px; color: #4b5563; }
.callout .row { display: flex; justify-content: space-between; margin-top: 30px; }
.callout .back { border-radius:none; border: none; background:none; color: #7e7e7e; padding-left: 0; cursor: pointer; font-size: 14px; }
.callout .next { padding: 4px 30px; border-radius: 5px; border: 1px solid #0095da; background:#0095da; color: #fff; cursor: pointer; font-size: 14px;}

.callout-body  { margin: 0 0 10px; font-size: 16px; color: black; padding: 5px 0px; }

/* Pop-in animatie voor callout */
@keyframes callout-pop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.96); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* activeer animatie door deze extra class toe te voegen */
.callout.callout-pop {
  will-change: transform, opacity;
  animation: callout-pop .24s cubic-bezier(.2,.7,.3,1) both;
}

/* (optioneel) alternatieven */
@keyframes callout-fade   { from {opacity:0} to {opacity:1} }
@keyframes callout-slide-up {
  0%   { opacity:0; transform: translate(-50%, calc(-50% + 12px)) }
  100% { opacity:1; transform: translate(-50%, -50%) }
}
.callout.callout-fade      { animation: callout-fade .18s ease-out both; }
.callout.callout-slide-up  { animation: callout-slide-up .22s ease-out both; }

/* Respecteer 'voorkeuren voor minder beweging' */
@media (prefers-reduced-motion: reduce) {
  .callout.callout-pop,
  .callout.callout-fade,
  .callout.callout-slide-up {
    animation: none !important;
  }
}

/* Buttons einde demo */
.end-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.end-buttons .btn-main,
.end-buttons .btn-accent {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.end-buttons .btn-main {
  background: #f1f5f9;
  color: #0f172a;
}

.end-buttons .btn-main:hover {
  background: #e2e8f0;
}

.end-buttons .btn-accent {
  background: #0095da;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.end-buttons .btn-accent:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}


/* -------------------- Section Callout (unscaled) -------------------- */
.callout--section {
  max-width: 520px;     
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}

/* typografie wat opvallender */
.callout--section h3 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
}
.callout--section p {
  margin: auto;
  font-size: 16px;
  color: #6b7280;
  line-height: 1.45;
  text-align: center;
  width: 400px;
  padding-bottom: 20px;
}
.callout--section .row {
  margin-top: 16px;
}

/* optionele accentkleur (knop en rand) */
.callout--section {
  --section-accent: #111827;
  border-color: #e5e7eb;
}
.callout--section .next {
  border-color: var(--section-accent);
  background: var(--section-accent);
  color: #fff;
}

/* -------------------- Bottom bar & buttons -------------------- */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px 12px;
  border-top: 1px solid #e5e7eb; background: #f3f4f6;
  z-index: 99999!important; position: relative;
}
.caption { color: var(--muted); }

.btn {
  padding: 8px 12px; border-radius: 10px; border: 1px solid #ddd;
  background: white; cursor: pointer;
}
.btn.primary { background: #111827; color: white; border-color: #111827; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* -------------------- Reduced motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  .anim-pop, .anim-slide-up, .anim-slide-down, .anim-slide-left, .anim-slide-right,
  .hotspot-pop, .hotspot-pulse {
    animation: none !important;
    transition: none !important;
  }
}


/* Stage: afgeronde hoeken blijven netjes op mobiel */
.stage {
  border-radius: clamp(10px, 2vw, 16px);
}

/* Zorg dat de bar altijd boven de dim blijft */
.bar { position: relative; z-index: 10; }

/* Bubbles: schaal typografie & minimum-breedte */
.bubble {
  font-size: clamp(13px, 1.6vw, 16px);
  min-width: clamp(200px, 46vw, 320px);
  padding: clamp(10px, 1.6vw, 18px) clamp(12px, 2vw, 20px);
  border-radius: clamp(8px, 1.2vw, 10px);
}

/* Bubble knoppen rij */
.bubble .row {
  gap: clamp(8px, 3vw, 50px);
  margin-top: clamp(8px, 2.2vw, 20px);
}
.bubble button {
  font-size: clamp(12px, 1.4vw, 14px);
}
.bubble .next {
  padding: clamp(4px, 1vw, 6px) clamp(16px, 5vw, 60px) clamp(4px, 1vw, 6px) clamp(10px, 3vw, 30px);
  border-radius: 5px;
}

/* Algemene callout */
.callout {
  max-width: clamp(260px, 80vw, 520px);
  padding: clamp(14px, 2.2vw, 20px);
  border-radius: clamp(12px, 1.8vw, 16px);
}


/* Sectie-callout variant (geen vaste 400px breedte meer) */
.callout--section {
  max-width: clamp(280px, 86vw, 560px);
}
.callout--section p {
  width: auto;               /* ← verwijder de vaste 400px */
  max-width: 48ch;           /* mooie leesbreedte */
  margin: 0 auto;
  padding-bottom: clamp(12px, 2vw, 20px);
}

.hotspot {
  border-width: clamp(1px, .3vw, 2px);
  border-radius: clamp(8px, 1.4vw, 12px);
}
.chip {
  font-size: clamp(10px, 1.4vw, 11px);
  padding: 2px clamp(6px, 1.6vw, 8px);
  bottom: -8px;
}

/* ≤ 480px: compacte spacing */
@media (max-width: 480px) {
  .bubble { min-width: min(88vw, 320px); }
  .bubble .row { gap: 12px; }
  .callout { max-width: 90vw; }
  .bar { padding: 8px 10px; }
  .btn { padding: 6px 10px; }
}


/* === Tablet (tussen 600 en 1024px) === */
@media (max-width: 1024px) {
  .callout,
  .bubble {
    font-size: 10px;
    padding: 12px 18px;
  }
  .callout h3,
  .bubble h3 {
    font-size: 15px;
  }
  .bubble button,
  .callout button {
    font-size: 8px;
  }
  
  .callout p {
      font-size: 13px;
  }

   .bubble {
    font-size: 8px;
    padding: 10px 14px;
    min-width: 0px;
    max-width: 200px;
  }

  .bubble .next{
    padding: 2px 30px 2px 15px;
  }

  .bubble .row {
    margin-top: 5px;
  }

  /* Menu */

  .menu-item {
    padding: 5px 7px;
  }

  .menu-title {
    font-size: 13px;
  }

  .menu-intro {
    font-size: 10px;
  }

  .item-title {
    font-size: 10px;
  }

  .item-sub{
    font-size: 9px;
  }

  .num, .prog {
    font-size: 9px;
  }

  .num {
    width: 18px;
    height: 18px;
  }

}


/* Fullscreen overlay voor mobiel */
/* Fullscreen overlay */
#mobile-warning{
  position: fixed;
  inset: 0;
  display: none; /* via JS */
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    1200px 600px at 50% 20%,
    rgba(255,255,255,.06),
    rgba(0,0,0,.92)
  );
  z-index: 9999;
  padding: 24px;
  text-align: center;
}

/* Card */
#mobile-warning .mw-card{
  max-width: 420px;
  width: 100%;
  background: #0b0f14;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  box-shadow:
    0 40px 120px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.04);
  padding: 28px 26px 26px;
}

/* Icon */
.mw-icon{
  font-size: 32px;
  margin-bottom: 12px;
  opacity: .9;
}

/* Title */
#mobile-warning h3{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #f9fafb;
}

/* Text */
#mobile-warning p{
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.45;
  color: #9ca3af;
}

/* Actions */
.mw-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Buttons */
.mw-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

/* Primary */
.mw-btn-primary{
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(37,99,235,.35);
}

.mw-btn-primary:hover{
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* Secondary */
.mw-btn-secondary{
  background: rgba(255,255,255,.06);
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,.12);
}

.mw-btn-secondary:hover{
  background: rgba(255,255,255,.10);
}

/* Verberg de echte demo als mobiel */
.stage.is-hidden,
.stage.is-hidden *{
  visibility: hidden !important;
  pointer-events: none !important;
}



.fake-drop-ui{
  position:absolute;
  inset:0;
  z-index: 30;          /* boven hotspots/callouts als jij wilt; pas aan */
  pointer-events: auto; /* belangrijk */
}

.fake-explorer{
  position:absolute;
  left: 5%;
  top: 14%;
  width: 38%;
  height: 55%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  overflow: hidden;
}

.fe-head{
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.fe-body{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
}

.fe-tree{
  border: 1px solid #eef0f4;
  border-radius: 12px;
  padding: 10px;
  background: #fbfbfc;
}

.fe-item{ font-size: 13px; padding: 4px 0; }
.fe-indent{ padding-left: 16px; }
.fe-muted{ color:#6b7280; }

.fe-dropzone{
  border: 2px dashed #9aa3af;
  border-radius: 12px;
  padding: 14px;
  background: rgba(241,245,249,.65);
  min-height: 90px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 4px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.fe-dropzone .dz-title{ font-weight:700; }
.fe-dropzone .dz-sub{ color:#374151; font-size: 13px; }

.fe-dropzone.is-done{
  border-color: #16a34a;
  background: rgba(220,252,231,.75);
}

.fe-footer{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 10px 12px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  display:flex;
  align-items:center;
  gap: 10px;
}

.fe-pill{
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background:#111827;
  color:#fff;
}

.fe-hint{ color:#6b7280; font-size: 12px; }

.fake-pdf{
  position:absolute;
  left: 50%;
  top: 45%;
  background:#ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  padding: 10px 12px;
  font-weight: 600;
  cursor: grab;
  user-select:none;
  touch-action:none; /* voor pointer events */
}

.fake-pdf.is-dragging{
  cursor: grabbing;
  transform: translate(0,0);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}

/* Overlay container (niet click-blocking) */
.fake-drop-ui{
  position:absolute;
  inset:0;
  z-index: 100; /* boven hotspot, onder bubble (bubble is z-index:10) */
}

/* Explorer/pfd positioneren met px (JS zet left/top) */
.fake-explorer{
  position:absolute;
  width: 320px;
  height: 240px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  overflow:hidden;
}

.fe-head{
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
}

.fe-body{ padding: 12px; }
.fe-tree{
  border: 1px solid #eef0f4;
  border-radius: 12px;
  padding: 10px;
  background: #fbfbfc;
}
.fe-item{ font-size: 13px; padding: 4px 0; }
.fe-indent{ padding-left: 16px; }
.fe-muted{ color:#6b7280; }

.fe-footer{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 10px 12px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  display:flex;
  gap: 10px;
  align-items:center;
}
.fe-pill{
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background:#111827;
  color:#fff;
}
.fe-hint{ color:#6b7280; font-size: 12px; }

/* Draggable PDF tile */
.fake-pdf{
  position:absolute;
  background:#fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  padding: 10px 12px;
  font-weight: 600;
  cursor: grab;
  user-select:none;
  touch-action:none;
  transition: opacity .15s ease;
}
.fake-pdf.is-dragging{
  cursor: grabbing;
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}

/* Hotspot success */
.hotspot.hotspot-done{
  border-color: #16a34a !important;
}

#hots .fake-drop-ui,
#callout-layer .fake-drop-ui,
#hots .fake-explorer,
#hots .fake-pdf,
#callout-layer .fake-explorer,
#callout-layer .fake-pdf{
  pointer-events: auto;
}

.fe-file{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 6px 8px;
  border-radius: 10px;
  cursor: grab;
  user-select:none;
  touch-action:none;
  z-index: 999;
}

.fe-file:hover{
  background: rgba(0,0,0,.05);
}

.fe-file.is-dragging{
  cursor: grabbing;
  background: rgba(0,0,0,.06);
}

.fe-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:red;
}

.fe-pdf-svg{
  width:18px;
  height:18px;
  display:block;
}
.fe-filename{
  font-weight:600;
  font-size: 13px;
}

/* Overlay vangt GEEN clicks */
.fake-drop-ui{
  pointer-events: none !important;
}

/* Alleen deze onderdelen mogen wel clicks */
.fake-drop-ui .fake-explorer,
.fake-drop-ui .fe-file{
  pointer-events: auto !important;
}


/* Zorg dat overlay klikbaar mag zijn (hots heeft vaak pointer-events:none) */
#hots .loading-ui,
#callout-layer .loading-ui{
  pointer-events: none;  /* loader blokkeert geen Next/Back; wil je wél blokkeren -> auto */
}

.loading-ui{
  position:absolute;
  inset:0;
  z-index: 8; /* onder bubble (10), boven screenshot */
}

.loading-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.25);
}

.loading-modal{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  width: min(520px, 70vw);
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0,0,0,.25);
  padding: 18px 18px;
  display:flex;
  gap: 14px;
  align-items:center;
}

.loading-title{
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
}

.loading-body{
  color:#4b5563;
  font-size: 13px;
  line-height: 1.35;
}

.loading-spinner{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 4px solid rgba(0,0,0,.12);
  border-top-color: rgba(0,0,0,.55);
  animation: spin 0.9s linear infinite;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}

/* overlay mag bubble niet blokkeren */
.fake-drag-ui{
  position:absolute;
  inset:0;
  z-index: 6;
  pointer-events:none;
}

/* alleen chip interactief */
.fake-drag-ui .vehicle-chip{
  pointer-events:auto;
}

/* dropzone overlay (alleen visual, geen clicks nodig) */
.fake-dropzone{
  position:absolute;
  border: 2px dashed rgba(59,130,246,.6);
  border-radius: 12px;
  box-shadow: 0 0 0 rgba(59,130,246,0);
  background: rgba(59,130,246,.06);
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.fake-dropzone.is-hover{
  border-color: rgba(59,130,246,.95);
  background: rgba(59,130,246,.10);
  box-shadow: 0 0 0 6px rgba(59,130,246,.20);
}

.fake-dropzone.is-done{
  border-color: rgba(34,197,94,.95);
  background: rgba(34,197,94,.10);
  box-shadow: 0 0 0 6px rgba(34,197,94,.18);
}

/* draggable chip */
.vehicle-chip{
  position:absolute;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  cursor: grab;
  user-select:none;
  touch-action:none;
  font-weight:700;
  font-size: 13px;
}

.vehicle-chip.is-dragging{
  cursor: grabbing;
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}

.veh-ico{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.vehicle-chip{
  position:absolute;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  cursor: grab;
  user-select:none;
  touch-action:none;
  min-width: 360px;          /* ✅ langer */
}

.vehicle-chip.is-dragging{
  cursor: grabbing;
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}

.veh-ico{
  width:34px;
  height:34px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(11,90,122,.10);
  color:#0b5a7a;
  flex: 0 0 auto;
}

.veh-svg{
  width:20px;
  height:20px;
  display:block;
}

.veh-meta{
  display:grid;
  grid-template-columns: repeat(4, max-content);
  gap: 8px 14px;
  align-items:center;
}

.veh-row{
  display:flex;
  align-items:baseline;
  gap:6px;
  white-space: nowrap;
}

.veh-badge{
  font-size: 10px;
  letter-spacing: .04em;
  color:#6b7280;
  font-weight: 800;
}

.veh-val{
  font-size: 13px;
  font-weight: 800;
  color:#111827;
}

/* overlay blokkeert bubble niet */
.fake-drag-ui{
  position:absolute;
  inset:0;
  z-index: 6;
  pointer-events:none;
}

/* dropzone is alleen visual */
.fake-dropzone{
  position:absolute;
  border: 2px dashed rgba(59,130,246,.6);
  border-radius: 12px;
  background: rgba(59,130,246,.06);
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.fake-dropzone.is-hover{
  border-color: rgba(59,130,246,.95);
  background: rgba(59,130,246,.10);
  box-shadow: 0 0 0 6px rgba(59,130,246,.20);
}

.fake-dropzone.is-done{
  border-color: rgba(34,197,94,.95);
  background: rgba(34,197,94,.10);
  box-shadow: 0 0 0 6px rgba(34,197,94,.18);
}

/* ghost volgt muis */
.drag-ghost{
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  display:flex;
  align-items:center;
  justify-content:center;
}

.ghost-ico{
  font-size: 18px;
}

.fake-dropzone{
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border: 2px dashed rgba(59,130,246,.6);
  border-radius: 12px;
  background: rgba(59,130,246,.06);
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

/* content */
.dropzone-content{
  pointer-events:none;
}

.dropzone-title{
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color:#2563eb;
  text-transform: uppercase;
}

.dropzone-sub{
  margin-top: 2px;
  font-size: 12px;
  color:#475569;
}

/* hover state */
.fake-dropzone.is-hover{
  border-color: rgba(59,130,246,.95);
  background: rgba(59,130,246,.10);
  box-shadow: 0 0 0 6px rgba(59,130,246,.20);
}

.fake-dropzone.is-hover .dropzone-title{
  color:#1d4ed8;
}

/* success */
.fake-dropzone.is-done{
  border-color: rgba(34,197,94,.95);
  background: rgba(34,197,94,.10);
  box-shadow: 0 0 0 6px rgba(34,197,94,.18);
}

.fake-dropzone.is-done .dropzone-title{
  color:#15803d;
}

.fake-dropzone.is-done .dropzone-sub{
  color:#166534;
}





.stage{
  display:flex;
  flex-direction:column;
}

/* alleen screenshot-gebied */
.screen{
  position:relative;
}

/* overlays vullen alleen de screenshot, niet de bar */
#dim-bg,
#hots,
#callout-layer{
  position:absolute;
  inset:0;
}

@media (max-width: 640px){
  .bar{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .bar > div:last-child{
    width:100%;
    justify-content:space-between;
  }
}
