/* ============================================================
   Revalis — Offerte-indicator (letselschade / AOV / werkgever)
   On-brand widget styling. Tokens uit shared.css.
   ============================================================ */

.ls-ind {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  overflow: hidden;
  color: var(--ink);
}

/* ---- Mode toggle (wizard vs. één formulier) ---- */
.ls-ind-modebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  flex-wrap: wrap;
}
.ls-ind-modebar .mb-label {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.ls-seg {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}
.ls-seg button {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.ls-seg button.active {
  background: var(--navy);
  color: #fff;
}

/* ---- Progress (wizard) ---- */
.ls-ind-progress { height: 4px; background: var(--bg-alt); overflow: hidden; }
.ls-ind-progress-bar {
  height: 100%;
  width: 0;
  background: var(--c-magenta);
  border-radius: 0 3px 3px 0;
  transition: width 0.4s cubic-bezier(.2,.8,.2,1);
}

/* ---- Body ---- */
.ls-ind-body { padding: 34px 38px; }
.ls-ind-stepcount {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 14px;
}
.ls-ind-q {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.ls-ind-sub {
  color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin: 0 0 24px;
}

/* ---- Options (radio cards) ---- */
.ls-opts { display: grid; gap: 10px; }
.ls-opt {
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  line-height: 1.4;
  display: flex; align-items: flex-start; gap: 14px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  width: 100%;
}
.ls-opt:hover { border-color: var(--c-magenta); background: #fffafd; transform: translateX(2px); }
.ls-opt.selected { border-color: var(--c-magenta); background: #fff2f7; box-shadow: inset 0 0 0 1px var(--c-magenta); }
.ls-opt-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line); flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff; transition: all 0.15s;
}
.ls-opt.selected .ls-opt-check { background: var(--c-magenta); border-color: var(--c-magenta); }
.ls-opt.selected .ls-opt-check::before { content: '\2713'; }
.ls-opt-txt { display: flex; flex-direction: column; gap: 3px; }
.ls-opt-txt b { font-weight: 600; font-size: 15.5px; color: var(--navy); }
.ls-opt-txt span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ---- Text fields ---- */
.ls-fields { display: grid; gap: 16px; }
.ls-fields.two { grid-template-columns: 1fr 1fr; }
.ls-field { display: flex; flex-direction: column; gap: 6px; }
.ls-field.full { grid-column: 1 / -1; }
.ls-field label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.03em; color: var(--ink-soft);
}
.ls-field label .req { color: var(--c-magenta); }
.ls-field input,
.ls-field select {
  width: 100%; font-family: inherit; font-size: 15px;
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg); color: var(--navy);
  transition: border-color 0.18s, background 0.18s;
}
.ls-field input:focus,
.ls-field select:focus { outline: none; border-color: var(--c-magenta); background: #fff; box-shadow: 0 0 0 3px rgba(229,25,127,0.18); }
.ls-field input.invalid,
.ls-field select.invalid { border-color: #e23b3b; }
.ls-field .hint { font-size: 12px; color: var(--ink-soft); line-height: 1.45; }

.ls-group-title {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-magenta); font-weight: 600; margin: 6px 0 -2px;
}

/* ---- Footer nav ---- */
.ls-ind-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 38px; border-top: 1px solid var(--line); background: var(--bg-alt);
  flex-wrap: wrap;
}
.ls-ind-btn {
  padding: 13px 24px; border-radius: 100px; font-family: inherit;
  font-size: 14px; font-weight: 500; cursor: pointer; border: none;
  transition: transform 0.15s, background 0.2s, opacity 0.15s;
}
.ls-ind-back { background: transparent; color: var(--ink-soft); }
.ls-ind-back:hover:not(:disabled) { color: var(--navy); }
.ls-ind-back:disabled { opacity: 0.3; cursor: default; }
.ls-ind-next { background: var(--navy); color: #fff; }
.ls-ind-next:hover:not(:disabled) { transform: translateY(-1px); background: var(--c-magenta); }
.ls-ind-next:disabled { opacity: 0.45; cursor: not-allowed; }
.ls-foot-note { font-size: 12px; color: var(--ink-soft); }

/* ============================================================ SINGLE FORM MODE */
.ls-form-section { margin-bottom: 30px; }
.ls-form-section > h3 {
  font-size: 15px; font-weight: 600; color: var(--navy); margin: 0 0 4px;
  display: flex; align-items: center; gap: 10px;
}
.ls-form-section > h3 .n {
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ls-form-section > p.s { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 16px 36px; line-height: 1.5; }
.ls-form-opts { display: grid; gap: 10px; }
.ls-form-submitrow {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 8px;
}

/* ============================================================ RESULT */
.ls-result-top {
  display: flex; align-items: flex-start; gap: 18px; margin-bottom: 8px;
}
.ls-result-ic {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--rc, var(--c-magenta)) 15%, white);
  color: var(--rc, var(--c-magenta));
}
.ls-result-ic svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ls-result-top .rt-eyebrow { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--rc, var(--c-magenta)); font-weight: 600; }
.ls-result-top h3 {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 26px; letter-spacing: -0.01em;
  color: var(--navy); line-height: 1.18; margin: 3px 0 0;
}

/* Indicatie figure */
.ls-amount {
  margin: 24px 0;
  background: var(--navy); color: #fff;
  border-radius: 16px; padding: 26px 28px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
}
.ls-amount .am-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); font-weight: 600; margin-bottom: 8px; }
.ls-amount .am-figure { font-size: clamp(28px, 4.5vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.ls-amount .am-figure .cur { font-size: 0.6em; opacity: 0.8; margin-right: 2px; vertical-align: 0.08em; }
.ls-amount .am-sub { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 8px; line-height: 1.5; max-width: 360px; }
.ls-amount .am-chip {
  font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 100px;
  background: rgba(255,255,255,0.14); color: #fff; white-space: nowrap;
}

/* Detail blocks */
.ls-detail { background: var(--bg-alt); border-radius: 14px; padding: 20px 22px; margin-bottom: 14px; }
.ls-detail h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); font-weight: 600; margin: 0 0 12px; }
.ls-detail p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin: 0; }
.ls-detail ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.ls-detail li { font-size: 14px; color: var(--ink); line-height: 1.5; display: flex; gap: 10px; }
.ls-detail li::before { content: ''; flex-shrink: 0; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--c-magenta); }
.ls-detail.summary li { justify-content: space-between; }
.ls-detail.summary li::before { display: none; }
.ls-detail.summary li { border-top: 1px solid var(--line); padding-top: 9px; }
.ls-detail.summary li:first-child { border-top: none; padding-top: 0; }
.ls-detail.summary .k { color: var(--ink-soft); }
.ls-detail.summary .v { color: var(--navy); font-weight: 500; text-align: right; }

.ls-result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.ls-result-actions .primary {
  background: var(--c-magenta); color: #fff; border: none;
  padding: 14px 24px; border-radius: 100px; font-family: inherit; font-size: 14px;
  font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.15s, background 0.2s;
}
.ls-result-actions .primary:hover { transform: translateY(-1px); background: var(--c-magenta-700, #C00E68); }
.ls-result-actions .ghost {
  background: #fff; color: var(--navy); border: 1px solid var(--line);
  padding: 14px 22px; border-radius: 100px; font-family: inherit; font-size: 14px;
  font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.ls-result-actions .ghost:hover { border-color: var(--navy); }

.ls-disclaimer { font-size: 12px; color: var(--ink-soft); line-height: 1.55; margin-top: 18px; }

/* Confirmation (na verzenden) */
.ls-confirm { text-align: center; padding: 14px 0 6px; }
.ls-confirm-ic {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 20px;
  background: color-mix(in srgb, var(--c-green) 16%, white); color: var(--c-green);
  display: flex; align-items: center; justify-content: center;
}
.ls-confirm-ic svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ls-confirm h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 28px; color: var(--navy); margin: 0 0 12px; letter-spacing: -0.01em; }
.ls-confirm p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin: 0 auto 8px; max-width: 480px; }
.ls-confirm .ref {
  display: inline-block; margin: 14px 0 4px; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px; letter-spacing: 0.04em; color: var(--navy); font-weight: 600;
  background: var(--bg-alt); padding: 10px 18px; border-radius: 10px;
}

/* error note */
.ls-err {
  background: #fdecec; border: 1px solid #f3b9b9; color: #a12525;
  border-radius: 11px; padding: 12px 16px; font-size: 13.5px; line-height: 1.5; margin-top: 4px;
}

@media (max-width: 640px) {
  .ls-ind-body { padding: 26px 22px; }
  .ls-ind-foot { padding: 16px 22px; }
  .ls-fields.two { grid-template-columns: 1fr; }
  .ls-amount { grid-template-columns: 1fr; }
  .ls-amount .am-chip { justify-self: start; }
}
