/* KMK Funda Popup v1.1.9 */
.kmk-no-scroll { overflow: hidden; }
.kmk-funda-modal { position: fixed; inset: 0; z-index: 999999; }
.kmk-funda-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.kmk-funda-dialog {
  position: relative; margin: 4vh auto; width: min(980px, 96vw); height: 92vh;
  display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.kmk-funda-bar {
  display:flex; align-items:center; justify-content:space-between; padding: 10px 12px;
  background: #2195D2; color: #fff;
}
.kmk-funda-title { font-weight: 600; }
.kmk-funda-actions { display:flex; gap: 8px; align-items:center; }
.kmk-funda-actions .kmk-funda-open,
.kmk-funda-actions .kmk-funda-close {
  background: #F9A825; border: none; color: #0C1C2D; padding: 8px 12px; border-radius: 8px; text-decoration: none; cursor: pointer;
  font-weight:600;
}
.kmk-funda-actions .kmk-funda-close { background: #FFD95B; }
.kmk-funda-body { position: relative; flex: 1; }
#kmk-funda-frame { width: 100%; height: 100%; border: 0; display:block; }
.kmk-funda-fallback {
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: 24px; text-align:center; background:#fff;
}
.kmk-fallback-open {
  display:inline-block; margin-top:10px; background:#F9A825; padding:10px 14px; border-radius:8px; color:#0C1C2D; text-decoration:none; font-weight:600;
}

/* Buitenknop (shortcode) */
.kmk-funda-button {
  display:inline-block; background:#2195D2; color:#fff; padding:12px 16px; border-radius:8px; text-decoration:none; font-weight:600; border:none;
}
.kmk-funda-button:hover { opacity:.92; }

/* Admin-only debug (alleen zichtbaar bij ?kmkdebug=1 of KMK_FUNDA_DEBUG) */
.kmk-funda-debug {
  background: transparent;
  color: #fff;
  opacity: .85;
  padding: 0 6px;
  border-radius: 4px;
  margin-right: 8px;
  font-size: 11px;
  line-height: 1.6;
  max-width: 45vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px dashed rgba(255,255,255,.25);
}