/* ============================================================
   Match Lab – n8n Form Plugin Styles
   Pas kleuren aan via de variabelen hieronder.
   ============================================================ */

.n8n-app {
  --ml-accent: #f91d43;
  --ml-accent-dark: #f91d43;
  --ml-success: #0f9b6e;
  --ml-error: #d93025;
  --ml-text: #23203c;
  --ml-muted: #666666;
  --ml-border: #e2e2e2;
  --ml-bg: #ffffff;
  --ml-bg-soft: #f7f8fa;
  --ml-radius: 10px;
  --ml-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  /* Search bar accent (scoped to the URL input + submit button only —
     the rest of the form keeps --ml-accent red; see Figma node 217:2) */
  --ml-search-accent: #4600db;
  --ml-search-accent-dark: #38009f;
  --ml-search-bar-bg: #f4f4f5;
  --ml-search-text: #52586c;

  max-width: 856px; /* Figma node 217:2 designed width */
  margin: 0 auto;
  font-family: inherit;
  color: var(--ml-text);
}

.n8n-screen {
  scroll-margin-top: 96px;
}

/* ---- Hero pill badge (used in page content above the form, outside .n8n-app —
   e.g. the "Quickscan" label above the H1; see Figma node 215:26/EL-5c1f241b) ---- */
.n8n-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 12px;
  font-family: Aeonik, inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  color: #4600db;
  background: rgba(70, 0, 219, 0.05);
  border-radius: 1000px;
}

/* ---- Card ---- */
.n8n-card {
  background: var(--ml-bg);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  box-shadow: var(--ml-shadow);
  padding: 2rem;
}
p.n8n-result-empty {
  padding-top: 0.5em;
}

.n8n-card--result {
  border-color: var(--ml-success);
  border-width: 1.5px;
}

.n8n-card--error {
  border-color: var(--ml-error);
  border-width: 1.5px;
}

/* ---- Bare card (form step) — Figma node 215:26 shows the search bar
   sitting directly on the page, no white box/border/shadow/padding ---- */
.n8n-card--bare {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Visually hidden but still available to screen readers (WP core pattern) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ---- Intro text ---- */
.n8n-intro {
  color: var(--ml-muted);
  margin-bottom: 1.5rem;
}

/* ---- Form field ---- */
.n8n-field {
  margin-bottom: 1.25rem;
}

.n8n-field label {
  display: block;
  font-size: 0.8em;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ml-text);
}

/* ---- Search bar (input + submit button merged) ---- */
.n8n-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: var(--ml-search-bar-bg);
  border-radius: 12px;
}

/* Icon + input are real flex siblings (icon's box edge to input's box edge,
   gap:6px) rather than an absolutely-positioned icon over padding-left —
   that old approach left a much bigger visual gap than Figma's tight 4-6px
   because icon-font glyphs don't fill their nominal box width. Background/
   radius/height now live on the wrapper; the input itself is transparent
   and unstyled so it just flows inside it. */
.n8n-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 16px;
  background: var(--ml-bg);
  border-radius: 16px;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
}

.n8n-search-icon {
  flex: 0 0 auto;
  font-size: 15px;
  color: var(--ml-search-text);
  pointer-events: none;
  line-height: 1;
}

/* .n8n-app prefix + [type="text"] bumps specificity above Salient's own
   input[type=text] rules (style.css and skin-material.css both set
   background-color/padding on input[type=text] at equal specificity —
   since those load after n8n-form.css in <head>, they'd otherwise win
   the cascade tie and clobber this transparent background / spacing). */
.n8n-app .n8n-search-input-wrap input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: normal;
  font-family: inherit;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ml-search-text);
  transition: box-shadow 0.15s;
  outline: none;
  box-sizing: border-box;
}

.n8n-search-input-wrap:focus-within {
  box-shadow: 0 0 0 2px var(--ml-search-accent);
}

.n8n-search-input-wrap:has(input[aria-invalid="true"]) {
  box-shadow: 0 0 0 2px var(--ml-error);
}

.n8n-field-hint {
  font-size: 0.7em;
  color: var(--ml-muted);
  margin-top: 5px;
}

.n8n-field-error {
  font-size: 0.75em;
  color: var(--ml-error) !important;
  margin-top: 5px;
  min-height: 18px;
}

/* ---- Submit button ---- */
.n8n-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  width: 196px;
  height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  background: var(--ml-search-accent);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.1s;
}

.n8n-submit-btn:hover {
  background: var(--ml-search-accent-dark);
}
.n8n-submit-btn:active {
  transform: scale(0.98);
}

/* ---- Trust badges below the search bar ---- */
.n8n-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.n8n-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ml-search-accent);
  background: rgba(70, 0, 219, 0.05);
  border-radius: 1000px;
}

.n8n-trust-badge i {
  font-size: 10px;
}

@media (max-width: 520px) {
  .n8n-search-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .n8n-submit-btn {
    width: 100%;
  }
}

/* ---- Loader ---- */
.n8n-loader-card {
  padding: 2rem 2rem 1.75rem;
}

.n8n-loader-live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.n8n-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ml-accent);
  flex-shrink: 0;
  animation: n8n-live-pulse 1.8s ease-in-out infinite;
}

@keyframes n8n-live-pulse {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%       { opacity: 0.3;  transform: scale(0.65); }
}

.n8n-loader-msg {
  font-size: 1em;
  font-weight: 500;
  color: var(--ml-text);
  transition: opacity 0.45s ease;
}

.n8n-loader-msg.n8n-msg-fade {
  opacity: 0;
}

.n8n-loader-bar-wrap {
  height: 2px;
  background: rgba(249, 29, 67, 0.1);
  border-radius: 2px;
  width: 100%;
  overflow: hidden;
}

.n8n-loader-bar {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ml-accent), rgba(249, 29, 67, 0.45) 50%, var(--ml-accent));
  background-size: 200% 100%;
  transition: width 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: n8n-bar-shimmer 2.5s linear infinite;
}

@keyframes n8n-bar-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.n8n-loader-hint {
  font-size: 0.75em;
  color: var(--ml-muted);
  margin-top: 0.75rem;
}

/* ---- Result ---- */
.n8n-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ml-success);
  margin-bottom: 1.25rem;
}

.n8n-result-icon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  background: var(--ml-success);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.n8n-result-body {
  background: var(--ml-bg-soft);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.n8n-result-empty {
  color: var(--ml-muted);
}

/* Key/value result list */
.n8n-result-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0;
}

.n8n-result-list dt {
  font-weight: 600;
  color: var(--ml-muted);
  white-space: nowrap;
}

.n8n-result-list dd {
  color: var(--ml-text);
  word-break: break-word;
  margin: 0;
}

/* ---- Error screen ---- */
.n8n-error-msg {
  color: var(--ml-error);
  margin-bottom: 1.25rem;
}

/* ---- Result actions / Print button ---- */
.n8n-result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.n8n-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 10px 18px;
  font-size: inherit;
  font-family: inherit;
  color: var(--ml-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.n8n-print-btn:hover {
  border-color: var(--ml-text);
  color: var(--ml-text);
}

.n8n-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid var(--ml-accent);
  border-radius: var(--ml-radius);
  padding: 10px 18px;
  font-size: inherit;
  font-family: inherit;
  color: var(--ml-accent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.n8n-share-btn:hover {
  background: var(--ml-accent);
  color: #ffffff;
}

.n8n-share-btn.n8n-share-copied {
  border-color: var(--ml-success);
  color: var(--ml-success);
}

/* ---- Reset button ---- */
.n8n-reset-btn {
  background: none;
  border: 1.5px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 10px 18px;
  font-size: inherit;
  font-family: inherit;
  color: var(--ml-muted);
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.n8n-reset-btn:hover {
  border-color: var(--ml-accent);
  color: var(--ml-accent);
}

/* ---- Responsive ---- */
@media (max-width: 560px) {
  .n8n-card {
    padding: 1.25rem;
  }
}

/* ============================================================
   Report: Gestructureerd resultaat
   ============================================================ */

/* Score colour tokens — cascade to children via --sc / --sc-bg */
.score-high {
  --sc: #4cd964;
  --sc-bg: #dbf7e0;
}
.score-mid {
  --sc: #ff9500;
  --sc-bg: #ffeacc;
}
.score-low {
  --sc: #ff3b30;
  --sc-bg: #ffd8d6;
}

/* Outer wrapper */
.n8n-report {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--ml-radius);
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(35, 32, 60, 0.12);
}

/* ---- Brand bar ---- */
.n8n-report-brandbar {
  background: #23203c;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
}

.n8n-brandbar-logo {
  height: 34px;
  width: auto;
}

/* ---- Header ---- */
.n8n-report-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--ml-bg);
  border-bottom: 1px solid var(--ml-border);
}

.n8n-score-ring-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.n8n-score-ring-svg {
  width: 160px;
  height: 160px;
  display: block;
}

.n8n-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.n8n-score-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--ml-text);
  line-height: 1;
}

.n8n-score-denom {
  font-size: 14px;
  font-weight: 600;
  color: var(--ml-muted);
}

.n8n-header-text {
}

.n8n-header-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 45px;
  color: var(--ml-text);
  margin-bottom: 0.2rem;
}

.n8n-header-sub {
  font-size: 1.2em;
  color: var(--ml-muted);
}

.n8n-header-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.2em;
  color: var(--ml-muted);
  text-decoration: none;
  transition: color 0.15s;
  word-break: break-all;
}

.n8n-header-url:hover {
  color: var(--ml-text);
}

.n8n-header-url i {
  flex-shrink: 0;
  font-size: 0.85em;
}

/* ---- Score tile strip ---- */
.n8n-score-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--ml-border);
  background: var(--ml-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.n8n-score-tile {
  display: block;
  padding: 1.1rem 0.75rem;
  text-align: center;
  border-right: 1px solid var(--ml-border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s;
}

.n8n-score-tile:hover {
  background: var(--ml-bg-soft);
  text-decoration: none;
  color: inherit;
}

.n8n-score-tile:last-child {
  border-right: none;
}

.n8n-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 1000px;
  background: var(--ml-bg-soft);
  color: var(--sc);
  font-size: 16px;
  margin: 0 auto 0.4rem;
}

.n8n-tile-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ml-muted);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.n8n-tile-score {
  font-size: 28px;
  font-weight: 400;
  color: var(--ml-text);
}

.n8n-tile-bar {
  height: 6px;
  border-radius: 10px;
  background: var(--sc-bg);
  margin-top: 0.45rem;
  position: relative;
}

.n8n-tile-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  border-radius: 10px;
  background: var(--sc);
}

/* ---- Section detail cards ---- */
.n8n-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--ml-bg);
}

.n8n-section-card {
  background: var(--ml-bg);
  border-bottom: 1px solid var(--ml-border);
  padding: 1.75rem 2.5rem;
}

.n8n-section-card:last-child {
  border-bottom: none;
}

.n8n-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.n8n-section-icon-wrap {
  display: inline-flex;
  width: 50px;
  height: 50px;
  padding-top: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sc-bg);
  color: var(--sc);
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 20px;
}

.n8n-section-title {
  font-weight: 400;
  color: var(--ml-text);
  flex: 1;
  font-size: 30px;
}

.n8n-section-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  padding: 3px 12px;
  border-radius: 200px;
  font-size: 1.6em;
  font-weight: 400;
  background: var(--ml-bg-soft);
  color: var(--ml-text);
  flex-shrink: 0;
}

.n8n-badge-denom {
  font-size: 0.6em;
  font-weight: 400;
  color: var(--ml-muted);
}

.n8n-section-bevindingen {
  color: var(--ml-muted);
  margin: 0.5rem 0 1rem 0;
}

.n8n-section-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.n8n-list-block {
  border-radius: 8px;
  padding: 1.5rem 1.5rem;
}

.n8n-list-sterktes {
  background: #f7f7f7;
}
.n8n-list-verbeter {
  background: #f7f7f7;
}

.n8n-list-head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

.n8n-list-sterktes .n8n-list-head {
  color: #22a350;
}
.n8n-list-verbeter .n8n-list-head {
  color: #d97706;
}
.n8n-list-verbeter.score-low .n8n-list-head {
  color: #ff3b30;
}

.n8n-list-block ul {
  margin: 0;
  padding-left: 1.2rem;
}

.n8n-list-block ul li {
  color: var(--ml-text);
  font-size: 17px;
  margin-bottom: 0.35em;
}

.n8n-list-block ul li:last-child {
  margin-bottom: 0;
}

/* ---- Vervolgstappen ---- */
.n8n-vervolgstappen {
  background: #f9f9fc;
  border-top: 1px solid var(--ml-border);
  padding: 1.75rem 2.5rem;
}

.n8n-vervolg-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--ml-text);
  margin-bottom: 1rem;
  font-size: 30px;
}

.n8n-vervolg-title i {
  color: var(--ml-accent);
}

.n8n-prio-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.n8n-prio-block:last-child {
  margin-bottom: 0;
}

.n8n-prio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55rem;
}

.prio-hoog .n8n-prio-dot {
  background: #d93025;
}
.prio-mid .n8n-prio-dot {
  background: #d97706;
}
.prio-laag .n8n-prio-dot {
  background: #4600db;
}

.n8n-prio-content {
  flex: 1;
}

.n8n-prio-head {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.prio-hoog .n8n-prio-head {
  color: #d93025;
}
.prio-mid .n8n-prio-head {
  color: #d97706;
}
.prio-laag .n8n-prio-head {
  color: #4600db;
}

.n8n-prio-block ul {
  margin: 0;
  padding-left: 1.25rem;
}

.n8n-prio-block ul li {
  color: var(--ml-text);
  margin-bottom: 0.4em;
}

.n8n-prio-block ul li:last-child {
  margin-bottom: 0;
}

/* ---- Report responsive ---- */
@media (max-width: 560px) {
  .n8n-report-header {
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
  }

  .n8n-score-ring-wrap,
  .n8n-score-ring-svg {
    width: 120px;
    height: 120px;
  }

  .n8n-score-num {
    font-size: 28px;
  }
  .n8n-score-denom {
    font-size: 13px;
  }
  .n8n-header-title {
    font-size: 1.4em;
  }

  .n8n-score-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .n8n-score-tile:nth-child(3) {
    border-right: none;
  }
  .n8n-score-tile:nth-child(4) {
    border-top: 1px solid var(--ml-border);
  }
  .n8n-score-tile:nth-child(5) {
    border-top: 1px solid var(--ml-border);
  }

  .n8n-section-card {
    padding: 1.25rem 1.5rem;
  }
  .n8n-section-bevindingen,
  .n8n-section-lists {
    margin-left: 0;
  }
  .n8n-section-lists {
    grid-template-columns: 1fr;
  }

  .n8n-vervolgstappen {
    padding: 1.5rem;
  }
}

/* Small screens (mobile) */
@media (max-width: 576px) {
  .n8n-result-body {
    padding: 0rem;
  }
  .n8n-score-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .n8n-score-ring-wrap,
  .n8n-score-ring-svg {
    width: 100px;
    height: 100px;
  }
  .n8n-score-denom {
    font-size: 12px;
  }
  .n8n-header-sub {
    font-size: 1em;
    line-height: 1.1em;
  }
  .n8n-score-num {
    font-size: 26px;
  }
  .n8n-section-icon-wrap {
    width: 30px;
    height: 30px;
    font-size: 13px;
    line-height: 20px;
  }
  .n8n-section-badge {
    font-size: 1em;
  }
  .n8n-badge-denom {
    font-size: 1em;
  }
  .n8n-section-title {
    font-size: 16px;
  }
  .n8n-list-block ul li {
    font-size: 16px;
  }
  .n8n-vervolg-title i {
    font-size: 15px;
  }
  .n8n-vervolg-title {
    font-size: 15x;
  }

  .n8n-score-tile {
    border: 1px solid var(--ml-border);
  }
  .n8n-intro {
    margin-bottom: 0rem;
  }

  .n8n-submit-btn {
  width: 100% !important;
}
}

/* Tablets and larger */
@media (min-width: 577px) {
 
}

/* Desktops and beyond */
@media (min-width: 1024px) {
  
}

/* ============================================================
   Visibility scan additions
   ============================================================ */

/* Optional field badge */
.n8n-field-optional {
  font-size: 0.7em;
  font-weight: 400;
  color: var(--ml-muted);
  background: var(--ml-bg-soft);
  border: 1px solid var(--ml-border);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Direct text inputs not inside .n8n-input-wrap (e.g. functies field) */
.n8n-field > input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  font-size: inherit;
  font-family: inherit;
  border: 1.5px solid var(--ml-border);
  border-radius: var(--ml-radius);
  background: var(--ml-bg);
  color: var(--ml-text);
  transition: border-color 0.15s;
  outline: none;
  box-sizing: border-box;
}

.n8n-field > input[type="text"]:focus {
  border-color: var(--ml-accent);
  box-shadow: 0 0 0 3px rgba(249, 29, 67, 0.12);
}

/* Icon offset for visibility form instances */
input#n8nv-1-domain {
  padding-left: 35px;
}

/* Icon offset for inputs with a left icon — covers all forms generically */
.n8n-input-wrap input[data-role="domain-input"],
.n8n-input-wrap input[data-role="recruitee-input"] {
  width: 100%;
  padding: 11px 14px 11px 38px;
  font-size: inherit;
  font-family: inherit;
  border: 1.5px solid var(--ml-border);
  border-radius: var(--ml-radius);
  background: var(--ml-bg);
  color: var(--ml-text);
  transition: border-color 0.15s;
  outline: none;
  box-sizing: border-box;
}

.n8n-input-wrap input[data-role="domain-input"]:focus,
.n8n-input-wrap input[data-role="recruitee-input"]:focus {
  border-color: var(--ml-accent);
  box-shadow: 0 0 0 3px rgba(249, 29, 67, 0.12);
}

.n8n-input-wrap input[data-role="domain-input"][aria-invalid="true"] {
  border-color: var(--ml-error);
}

/* Badge padding for domain input inside --badge wrapper */
.n8n-input-wrap--badge input[data-role="domain-input"] {
  padding-right: 68px !important;
}

/* ---- Checkbox field (analyze images) ---- */
.n8n-field--checkbox {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.n8n-field--checkbox .n8n-field-hint {
  margin-top: 0;
  flex: 1;
}

.n8n-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
}

.n8n-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--ml-accent);
  cursor: pointer;
}

.n8n-checkbox-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95em;
  color: var(--ml-text);
}

.n8n-checkbox-text i {
  color: var(--ml-accent);
}

.n8n-field-hint-inline {
  font-size: 0.75em;
  font-weight: 400;
  color: var(--ml-muted);
  background: var(--ml-bg-soft);
  border: 1px solid var(--ml-border);
  border-radius: 4px;
  padding: 1px 6px;
}
