/* ===================== BehFin Formuláře – styly (generováno, specificita zvýšena proti motivu/Kitu) ===================== */
.bfm {
  --bfm-accent: #2C7092; --bfm-text: #2B2B2B; --bfm-ph: #6B7480; --bfm-muted: #5B6773; --bfm-error: #C0392B;
  --bfm-btn: var(--bfm-accent); --bfm-btn-text: #ffffff; --bfm-field: #ffffff; --bfm-border: transparent; --bfm-card: #ffffff;
  --bfm-radius: 0px; --bfm-h: 46px; --bfm-fs: 16px; --bfm-gx: 27px; --bfm-gy: 32px; --bfm-btn-r: 0px; --bfm-btn-h: 48px;
  --bfm-bw: 1px; --bfm-btn-bw: 0px; --bfm-btn-bd: var(--bfm-btn); --bfm-msg-r: 8px; --bfm-cb: #8A8A8E;
  --bfm-ok-text: #1F5C56; --bfm-ok-bg: #E4F0EE; --bfm-ok-bd: var(--bfm-accent); --bfm-ok-ic: #1E8E3E;
  --bfm-er-text: #7A1D12; --bfm-er-bg: #FDECEA; --bfm-er-bd: var(--bfm-error);
  position: relative; width: 100%; max-width: 100%; margin: 0; padding: 0;
  font-family: inherit; font-size: var(--bfm-fs); line-height: 1.5; color: var(--bfm-text); text-align: left;
  -webkit-font-smoothing: antialiased; box-sizing: border-box;
}
.bfm--white { --bfm-field: #E9F0F4; --bfm-card: #E9F0F4; }
.bfm *, .bfm *::before, .bfm *::after { box-sizing: border-box; }
.bfm [hidden] { display: none !important; }

.bfm.bfm.bfm .bfm__form { margin: 0; padding: 0; background: none; border: 0; }
.bfm.bfm.bfm .bfm__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--bfm-gx); row-gap: var(--bfm-gy); }
.bfm.bfm.bfm .bfm__f { grid-column: span var(--span, 12); min-width: 0; margin: 0; padding: 0; position: relative; }
.bfm.bfm.bfm .bfm__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* popisky */
.bfm.bfm.bfm .bfm__label { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--bfm-text); letter-spacing: 0; text-transform: none; }
.bfm.bfm.bfm .bfm__sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.bfm.bfm.bfm .bfm__legend { display: block; padding: 0; margin: 0 0 10px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--bfm-text); }
.bfm.bfm.bfm .bfm__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.bfm.bfm.bfm .bfm__opts { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* pole */
.bfm.bfm.bfm input.bfm__input,
.bfm.bfm.bfm select.bfm__input,
.bfm.bfm.bfm textarea.bfm__input {
  display: block; width: 100%; max-width: 100%; height: var(--bfm-h); margin: 0; padding: 0 16px;
  font-family: inherit; font-size: var(--bfm-fs); font-weight: 400; line-height: normal; letter-spacing: 0; text-transform: none;
  color: var(--bfm-text); background-color: var(--bfm-field); background-image: none;
  border: var(--bfm-bw) solid var(--bfm-border); border-radius: var(--bfm-radius); box-shadow: none; outline: 0;
  -webkit-appearance: none; appearance: none; transition: box-shadow .15s ease, outline-color .15s ease;
}
.bfm.bfm.bfm textarea.bfm__input { height: auto; min-height: var(--bfm-ta, calc(var(--bfm-h) * 2.2)); padding: 13px 16px; line-height: 1.5; resize: vertical; }
.bfm.bfm.bfm input.bfm__input::placeholder,
.bfm.bfm.bfm textarea.bfm__input::placeholder { color: var(--bfm-ph); opacity: 1; }
.bfm.bfm.bfm input.bfm__input[type="date"] { min-height: var(--bfm-h); color: var(--bfm-text); }
.bfm.bfm.bfm select.bfm__input {
  padding-right: 44px; cursor: pointer; text-overflow: ellipsis;
}
.bfm.bfm.bfm .bfm__selwrap { position: relative; display: block; }
.bfm.bfm.bfm .bfm__selwrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 0; height: 0; margin-top: -3px; border: solid transparent; border-width: 6px 5px 0; border-top-color: var(--bfm-caret, var(--bfm-muted)); pointer-events: none; }
.bfm.bfm.bfm select.bfm__input[data-empty="1"] { color: var(--bfm-ph); }
.bfm.bfm.bfm select.bfm__input option { color: #2B2B2B; background: #fff; }
.bfm.bfm.bfm .bfm__input:focus,
.bfm.bfm.bfm .bfm__input:focus-visible { outline: 2px solid var(--bfm-accent); outline-offset: 0; box-shadow: none; }
.bfm.bfm.bfm .has-error .bfm__input { box-shadow: inset 0 0 0 2px var(--bfm-error); }
.bfm.bfm.bfm .has-error .bfm__input:focus { outline-color: var(--bfm-error); }

/* zaškrtávátka a přepínače */
.bfm.bfm.bfm .bfm__check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 0; cursor: pointer; font-size: var(--bfm-fs); font-weight: 400; line-height: 1.5; color: var(--bfm-muted); letter-spacing: 0; text-transform: none; }
.bfm.bfm.bfm input.bfm__checkbox,
.bfm.bfm.bfm input.bfm__radio { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; margin: 0; padding: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
.bfm.bfm.bfm .bfm__box { flex: none; position: relative; width: 22px; height: 22px; margin-top: 2px; background: var(--bfm-field); border: 1.5px solid #9DB3C1; border-radius: max(2px, calc(var(--bfm-radius) / 2)); transition: background-color .15s ease, border-color .15s ease; }
.bfm.bfm.bfm .bfm__box--round { border-radius: 50%; }
.bfm.bfm.bfm .bfm__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .15s ease; }
.bfm.bfm.bfm .bfm__box--round::after { left: 5px; top: 5px; width: 8px; height: 8px; border: 0; border-radius: 50%; background: #fff; transform: scale(0); }
.bfm.bfm.bfm .bfm__check:hover .bfm__box { border-color: var(--bfm-accent); }
.bfm.bfm.bfm input:checked + .bfm__box { background: var(--bfm-accent); border-color: var(--bfm-accent); }
.bfm.bfm.bfm input:checked + .bfm__box::after { transform: rotate(45deg) scale(1); }
.bfm.bfm.bfm input:checked + .bfm__box--round::after { transform: scale(1); }
.bfm.bfm.bfm input:focus-visible + .bfm__box { outline: 2px solid var(--bfm-accent); outline-offset: 2px; }
.bfm.bfm.bfm .has-error .bfm__box { border-color: var(--bfm-error); box-shadow: 0 0 0 1px var(--bfm-error); }
.bfm.bfm.bfm .bfm__check-text a { color: var(--bfm-accent); text-decoration: underline; text-underline-offset: 2px; }
.bfm.bfm.bfm .bfm__check-text a:hover { text-decoration: none; }

/* příloha */
.bfm.bfm.bfm .bfm__file { position: relative; }
.bfm.bfm.bfm input.bfm__file-input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.bfm.bfm.bfm .bfm__file-ui { display: flex; align-items: center; gap: 10px; height: var(--bfm-h); padding: 0 16px; color: var(--bfm-ph); background: var(--bfm-field); border: 1px dashed #9DB3C1; border-radius: var(--bfm-radius); transition: border-color .15s ease; }
.bfm.bfm.bfm .bfm__file:hover .bfm__file-ui { border-color: var(--bfm-accent); }
.bfm.bfm.bfm .bfm__file.has-file .bfm__file-ui { color: var(--bfm-text); border-style: solid; border-color: var(--bfm-accent); }
.bfm.bfm.bfm .bfm__file:focus-within .bfm__file-ui { outline: 2px solid var(--bfm-accent); }
.bfm.bfm.bfm .bfm__file-ico svg { display: block; width: 18px; height: 18px; }
.bfm.bfm.bfm .bfm__file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bfm.bfm.bfm .has-error .bfm__file-ui { border-color: var(--bfm-error); }

/* texty kolem polí */
.bfm.bfm.bfm .bfm__help { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--bfm-muted); }
.bfm.bfm.bfm .bfm__err { margin: 6px 0 0; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--bfm-error); }
.bfm.bfm.bfm .bfm__heading { margin: 0; padding: 0; font-size: calc(var(--bfm-fs) + 4px); font-weight: 700; line-height: 1.3; color: var(--bfm-text); }
.bfm.bfm.bfm .bfm__para { font-size: var(--bfm-fs); line-height: 1.6; color: var(--bfm-muted); }
.bfm.bfm.bfm .bfm__para p { margin: 0 0 .6em; }
.bfm.bfm.bfm .bfm__para p:last-child { margin-bottom: 0; }
.bfm.bfm.bfm .bfm__hr { height: 0; margin: 4px 0; border: 0; border-top: 1px solid rgba(44, 112, 146, 0.22); background: none; }
.bfm.bfm.bfm .bfm__alert { margin: 0 0 24px; padding: 14px 16px; font-size: 15px; line-height: 1.45; color: #7a1d12; background: #FDECEA; border-left: 4px solid var(--bfm-error); border-radius: var(--bfm-radius); }
.bfm.bfm.bfm .bfm__captcha { margin-top: var(--bfm-gy); }

/* tlačítko */
.bfm.bfm.bfm .bfm__actions { display: flex; margin-top: var(--bfm-gy); }
.bfm--btn-center .bfm__actions { justify-content: center; }
.bfm--btn-right .bfm__actions { justify-content: flex-end; }
.bfm.bfm.bfm button.bfm__btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: var(--bfm-btn-w, auto); min-width: -moz-fit-content; min-width: fit-content; max-width: 100%; box-sizing: border-box; min-height: var(--bfm-btn-h); height: var(--bfm-btn-h); margin: 0; padding: 0 40px;
  font-family: inherit; font-size: calc(var(--bfm-fs) + 2px); font-weight: 700; line-height: 1; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--bfm-btn-text); background: var(--bfm-btn); border: var(--bfm-btn-bw) solid var(--bfm-btn-bd); border-radius: var(--bfm-btn-r); box-shadow: none; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: filter .2s ease, transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.bfm.bfm.bfm.bfm--btn-full button.bfm__btn { width: 100%; }
.bfm.bfm.bfm button.bfm__btn:hover { filter: var(--bfm-hover-filter, brightness(.92)); color: var(--bfm-btn-text-hv, var(--bfm-btn-text)); background: var(--bfm-btn-hv, var(--bfm-btn)); border-color: var(--bfm-btn-bd-hv, var(--bfm-btn-bd)); }
.bfm.bfm.bfm button.bfm__btn:active { transform: translateY(1px); }
.bfm.bfm.bfm button.bfm__btn:focus-visible { outline: 2px solid var(--bfm-accent); outline-offset: 3px; }
.bfm.bfm.bfm .bfm__btn-ico { display: inline-flex; width: 20px; height: 20px; }
.bfm.bfm.bfm .bfm__btn-ico svg { width: 100%; height: 100%; display: block; }
.bfm.bfm.bfm .bfm__spin { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: bfm-spin .7s linear infinite; }
.bfm.bfm.bfm .bfm__btn.is-loading { cursor: progress; opacity: .85; }
.bfm.bfm.bfm .bfm__btn.is-loading .bfm__spin { display: inline-block; }
.bfm.bfm.bfm .bfm__btn.is-loading .bfm__btn-ico { display: none; }

/* poděkování */
.bfm.bfm.bfm .bfm__success { padding: 48px 28px; text-align: center; background: var(--bfm-card); border-radius: var(--bfm-radius); outline: 0; animation: bfm-in .45s ease both; }
.bfm.bfm.bfm .bfm__ok-ico { display: inline-flex; width: 64px; height: 64px; color: var(--bfm-accent); }
.bfm.bfm.bfm .bfm__ok-ico svg { width: 100%; height: 100%; display: block; }
.bfm.bfm.bfm .bfm__ok-circle { stroke-dasharray: 152; stroke-dashoffset: 152; animation: bfm-draw .6s .1s ease forwards; }
.bfm.bfm.bfm .bfm__ok-tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: bfm-draw .4s .55s ease forwards; }
.bfm.bfm.bfm .bfm__ok-title { margin: 18px 0 8px; padding: 0; font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--bfm-text); }
.bfm.bfm.bfm .bfm__ok-text { margin: 0 auto; max-width: 520px; font-size: var(--bfm-fs); line-height: 1.6; color: var(--bfm-muted); }
.bfm.bfm.bfm button.bfm__again { margin: 22px 0 0; padding: 4px 2px; font: inherit; font-size: 15px; font-weight: 600; color: var(--bfm-accent); background: none; border: 0; border-radius: 0; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.bfm.bfm.bfm button.bfm__again:hover { background: none; color: var(--bfm-accent); text-decoration: none; }

/* ===== v1.1: dlaždice, čipy, posuvník, kroky, karta, důvěra ===== */
.bfm--card { --bfm-card: #ffffff; }
.bfm--card.bfm--tint { --bfm-field: #E9F0F4; }
.bfm--card.bfm--white { --bfm-card: #E9F0F4; --bfm-field: #ffffff; }
.bfm.bfm.bfm.bfm--card .bfm__form { padding: 40px; background: var(--bfm-card); border-radius: max(var(--bfm-radius), 4px); box-shadow: 0 18px 50px -24px rgba(26, 70, 92, .35); }
.bfm.bfm.bfm .bfm__step-head { margin: 0 0 var(--bfm-gy); }
.bfm.bfm.bfm .bfm__step-title { margin: 0; padding: 0; font-size: calc(var(--bfm-fs) + 8px); font-weight: 700; line-height: 1.25; color: var(--bfm-text); outline: 0; }
.bfm.bfm.bfm .bfm__step-sub { margin: 8px 0 0; font-size: var(--bfm-fs); line-height: 1.5; color: var(--bfm-muted); }
.bfm.bfm.bfm .bfm__step.is-off { display: none !important; }
.bfm.bfm.bfm .bfm__step { animation: bfm-in .35s ease both; }

/* výběr: dlaždice */
.bfm.bfm.bfm .bfm__opts--tiles { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 14px; }
.bfm.bfm.bfm .bfm__tile { position: relative; display: block; margin: 0; padding: 0; cursor: pointer; font-weight: 400; letter-spacing: 0; text-transform: none; }
.bfm.bfm.bfm input.bfm__pick { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; z-index: 2; -webkit-appearance: none; appearance: none; }
.bfm.bfm.bfm .bfm__tile-body { position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; height: 100%; padding: 16px 44px 16px 18px; background: var(--bfm-field); border: 2px solid transparent; border-radius: max(var(--bfm-radius), 6px); transition: border-color .15s ease, background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.bfm.bfm.bfm .bfm__tile:hover .bfm__tile-body { border-color: rgba(44, 112, 146, .45); transform: translateY(-1px); }
.bfm.bfm.bfm .bfm__tile-ico { flex: none; display: inline-flex; width: 36px; height: 36px; padding: 7px; color: var(--bfm-accent); background: rgba(44, 112, 146, .12); border-radius: 50%; transition: background-color .15s ease, color .15s ease; }
.bfm.bfm.bfm .bfm__tile-ico svg { width: 100%; height: 100%; display: block; }
.bfm.bfm.bfm .bfm__tile-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bfm.bfm.bfm .bfm__tile-title { font-size: var(--bfm-fs); font-weight: 600; line-height: 1.3; color: var(--bfm-text); }
.bfm.bfm.bfm .bfm__tile-desc { font-size: 14px; line-height: 1.35; color: var(--bfm-muted); }
.bfm.bfm.bfm .bfm__tile-tick { position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; padding: 4px; color: #fff; background: var(--bfm-accent); border-radius: 50%; opacity: 0; transform: scale(.5); transition: opacity .15s ease, transform .15s ease; }
.bfm.bfm.bfm .bfm__tile-tick svg { width: 100%; height: 100%; display: block; }
.bfm.bfm.bfm input:checked + .bfm__tile-body { border-color: var(--bfm-accent); background: #fff; box-shadow: 0 8px 22px -14px rgba(44, 112, 146, .7); }
.bfm.bfm.bfm.bfm--card input:checked + .bfm__tile-body { background: var(--bfm-card); }
.bfm.bfm.bfm input:checked + .bfm__tile-body .bfm__tile-ico { color: #fff; background: var(--bfm-accent); }
.bfm.bfm.bfm input:checked + .bfm__tile-body .bfm__tile-tick { opacity: 1; transform: none; }
.bfm.bfm.bfm input:focus-visible + .bfm__tile-body { outline: 2px solid var(--bfm-accent); outline-offset: 2px; }
.bfm.bfm.bfm .has-error .bfm__tile-body { border-color: var(--bfm-error); }

/* výběr: čipy */
.bfm.bfm.bfm .bfm__opts--chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bfm.bfm.bfm .bfm__chip { position: relative; display: inline-block; margin: 0; padding: 0; cursor: pointer; font-weight: 400; letter-spacing: 0; text-transform: none; }
.bfm.bfm.bfm .bfm__chip-body { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; font-size: var(--bfm-fs); font-weight: 600; color: var(--bfm-text); background: var(--bfm-field); border: 2px solid transparent; border-radius: 999px; transition: all .15s ease; }
.bfm.bfm.bfm .bfm__chip:hover .bfm__chip-body { border-color: rgba(44, 112, 146, .45); }
.bfm.bfm.bfm input:checked + .bfm__chip-body { color: #fff; background: var(--bfm-accent); border-color: var(--bfm-accent); }
.bfm.bfm.bfm input:focus-visible + .bfm__chip-body { outline: 2px solid var(--bfm-accent); outline-offset: 2px; }
.bfm.bfm.bfm .has-error .bfm__chip-body { border-color: var(--bfm-error); }

/* posuvník */
.bfm.bfm.bfm .bfm__range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.bfm.bfm.bfm .bfm__range-head .bfm__label { margin: 0; }
.bfm.bfm.bfm .bfm__range-out { font-size: calc(var(--bfm-fs) + 8px); font-weight: 700; line-height: 1.1; color: var(--bfm-accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bfm.bfm.bfm input.bfm__range-input { display: block; width: 100%; height: 28px; margin: 0; padding: 0; background: none; border: 0; outline: 0; cursor: pointer; -webkit-appearance: none; appearance: none; --pct: 50%; }
.bfm.bfm.bfm input.bfm__range-input::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--bfm-accent) var(--pct), var(--bfm-field) var(--pct)); }
.bfm.bfm.bfm input.bfm__range-input::-moz-range-track { height: 8px; border-radius: 999px; background: var(--bfm-field); }
.bfm.bfm.bfm input.bfm__range-input::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--bfm-accent); }
.bfm.bfm.bfm input.bfm__range-input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--bfm-accent); box-shadow: 0 3px 10px rgba(26, 70, 92, .3); transition: transform .12s ease; }
.bfm.bfm.bfm input.bfm__range-input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--bfm-accent); box-shadow: 0 3px 10px rgba(26, 70, 92, .3); }
.bfm.bfm.bfm input.bfm__range-input:active::-webkit-slider-thumb { transform: scale(1.12); }
.bfm.bfm.bfm input.bfm__range-input:focus-visible { outline: 2px solid var(--bfm-accent); outline-offset: 4px; border-radius: 6px; }
.bfm.bfm.bfm .bfm__range-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--bfm-muted); }

/* průběh */
.bfm.bfm.bfm .bfm__progress { margin: 0 0 calc(var(--bfm-gy) + 4px); }
.bfm.bfm.bfm .bfm__pro-text { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--bfm-muted); }
.bfm.bfm.bfm .bfm__bar { height: 6px; background: rgba(44, 112, 146, .16); border-radius: 999px; overflow: hidden; }
.bfm.bfm.bfm .bfm__bar-fill { display: block; height: 100%; width: 0; background: var(--bfm-accent); border-radius: 999px; transition: width .4s cubic-bezier(.3, .8, .3, 1); }
.bfm.bfm.bfm .bfm__stepper { display: none; list-style: none; margin: 0; padding: 0; }
.bfm.bfm.bfm.bfm--prog-stepper .bfm__stepper { display: flex; gap: 8px; margin-top: 14px; }
.bfm.bfm.bfm.bfm--prog-stepper .bfm__bar { display: none; }
.bfm.bfm.bfm.bfm--prog-bar .bfm__stepper { display: none; }
.bfm.bfm.bfm .bfm__st { flex: 1 1 0; min-width: 0; margin: 0; padding: 0; list-style: none; }
.bfm.bfm.bfm button.bfm__st-btn { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; text-align: left; color: var(--bfm-muted); background: none; border: 0; border-radius: 0; box-shadow: none; cursor: default; text-transform: none; letter-spacing: 0; }
.bfm.bfm.bfm .bfm__st.is-done .bfm__st-btn { cursor: pointer; }
.bfm.bfm.bfm .bfm__st-num { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgba(44, 112, 146, .16); transition: background-color .2s ease; counter-increment: bfm-st; }
.bfm.bfm.bfm .bfm__stepper { counter-reset: bfm-st; }
.bfm.bfm.bfm .bfm__st-num::before { content: counter(bfm-st); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--bfm-accent); }
.bfm.bfm.bfm .bfm__st-tick { position: absolute; inset: 0; display: none; padding: 7px; color: #fff; }
.bfm.bfm.bfm .bfm__st-tick svg { width: 100%; height: 100%; display: block; }
.bfm.bfm.bfm .bfm__st.is-active .bfm__st-num { background: var(--bfm-accent); }
.bfm.bfm.bfm .bfm__st.is-active .bfm__st-num::before { color: #fff; }
.bfm.bfm.bfm .bfm__st.is-active .bfm__st-btn { color: var(--bfm-text); }
.bfm.bfm.bfm .bfm__st.is-done .bfm__st-num { background: var(--bfm-accent); }
.bfm.bfm.bfm .bfm__st.is-done .bfm__st-num::before { display: none; }
.bfm.bfm.bfm .bfm__st.is-done .bfm__st-tick { display: block; }
.bfm.bfm.bfm .bfm__st-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* navigace kroků */
.bfm.bfm.bfm .bfm__nav { display: flex; align-items: center; gap: 16px; margin-top: var(--bfm-gy); }
.bfm--btn-center .bfm__nav { justify-content: center; }
.bfm--btn-right .bfm__nav { justify-content: flex-end; }
.bfm.bfm.bfm button.bfm__next { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bfm-btn-h); height: var(--bfm-btn-h); margin: 0 0 0 auto; padding: 0 36px; font-family: inherit; font-size: calc(var(--bfm-fs) + 2px); font-weight: 700; line-height: 1; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; color: var(--bfm-btn-text); background: var(--bfm-btn); border: 0; border-radius: var(--bfm-btn-r); box-shadow: none; cursor: pointer; -webkit-appearance: none; appearance: none; transition: filter .2s ease, transform .2s ease; }
.bfm.bfm.bfm button.bfm__next:hover { filter: brightness(.92); color: var(--bfm-btn-text); background: var(--bfm-btn); }
.bfm.bfm.bfm button.bfm__next:focus-visible { outline: 2px solid var(--bfm-accent); outline-offset: 3px; }
.bfm.bfm.bfm.bfm--wizard .bfm__nav button.bfm__btn { margin-left: auto; }
.bfm.bfm.bfm button.bfm__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 6px; font: inherit; font-size: 15px; font-weight: 600; color: var(--bfm-muted); background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; text-transform: none; letter-spacing: 0; }
.bfm.bfm.bfm button.bfm__back:hover { color: var(--bfm-accent); background: none; }
.bfm.bfm.bfm .bfm__back-ico { display: inline-flex; width: 18px; height: 18px; }
.bfm.bfm.bfm .bfm__back-ico svg { width: 100%; height: 100%; display: block; }

/* důvěra */
.bfm.bfm.bfm .bfm__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.bfm--btn-center .bfm__trust { justify-content: center; }
.bfm.bfm.bfm .bfm__trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.3; color: var(--bfm-muted); }
.bfm.bfm.bfm .bfm__trust svg { flex: none; width: 16px; height: 16px; padding: 3px; color: #fff; background: var(--bfm-accent); border-radius: 50%; }

/* ===== v1.2: hláška pod tlačítkem (úspěch / chyba) ===== */
.bfm.bfm.bfm .bfm__feedback { margin: 0; padding: 0; }
.bfm.bfm.bfm .bfm__msg { display: flex; align-items: center; gap: 10px; margin: 15px 0 0; padding: 16px 20px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--bfm-ok-text); background: var(--bfm-ok-bg); border-left: 5px solid var(--bfm-ok-bd); border-radius: var(--bfm-msg-r); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); animation: bfm-in .4s ease both; }
.bfm.bfm.bfm .bfm__msg-ico { flex: none; display: inline-flex; width: 20px; height: 20px; color: var(--bfm-ok-ic); }
.bfm.bfm.bfm .bfm__msg-ico svg { width: 100%; height: 100%; display: block; }
.bfm.bfm.bfm .bfm__msg-text { min-width: 0; overflow-wrap: anywhere; }
.bfm.bfm.bfm .bfm__msg--err { color: var(--bfm-er-text); background: var(--bfm-er-bg); border-left-color: var(--bfm-er-bd); }
.bfm.bfm.bfm .bfm__msg--err .bfm__msg-ico { color: var(--bfm-er-bd); }

/* ===== v1.2: malé zaškrtávací políčko (jako v původním formuláři) ===== */
.bfm.bfm.bfm.bfm--check-compact .bfm__check { gap: 8px; min-height: 44px; margin: -10px 0; padding: 10px 0; align-items: flex-start; }
.bfm.bfm.bfm.bfm--check-compact .bfm__check-text { font-size: var(--bfm-fs); line-height: 1.4; }
.bfm.bfm.bfm.bfm--check-compact input.bfm__checkbox, .bfm.bfm.bfm.bfm--check-compact input.bfm__radio { top: 13px; margin-top: 0; width: 16px; height: 16px; }
.bfm.bfm.bfm.bfm--check-compact .bfm__box { width: 16px; height: 16px; margin-top: 3px; border: 1px solid var(--bfm-cb); border-radius: 3px; }
.bfm.bfm.bfm.bfm--check-compact .bfm__box::after { left: 4.5px; top: 1px; width: 4px; height: 8px; border-width: 0 2px 2px 0; }

@media (max-width: 767px) {
  .bfm.bfm.bfm .bfm__opts--tiles { grid-template-columns: 1fr; gap: 10px; }
  .bfm.bfm.bfm .bfm__tile-body { min-height: 60px; padding: 14px 44px 14px 14px; }
  .bfm.bfm.bfm .bfm__nav { flex-wrap: wrap; flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .bfm.bfm.bfm button.bfm__next { width: 100%; margin: 0; padding: 0 24px; }
  .bfm.bfm.bfm.bfm--wizard .bfm__nav button.bfm__btn { margin: 0; }
  .bfm.bfm.bfm button.bfm__back { justify-content: center; }
  .bfm.bfm.bfm.bfm--card .bfm__form { padding: 24px 18px; }
  .bfm.bfm.bfm.bfm--prog-stepper .bfm__st-label { display: none; }
  .bfm.bfm.bfm .bfm__step-title { font-size: calc(var(--bfm-fs) + 4px); }
}

@keyframes bfm-spin { to { transform: rotate(360deg); } }
@keyframes bfm-draw { to { stroke-dashoffset: 0; } }
@keyframes bfm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .bfm.bfm.bfm .bfm__f { grid-column: 1 / -1; }
  .bfm.bfm.bfm button.bfm__btn { width: 100%; padding: 0 24px; white-space: normal; }
  .bfm.bfm.bfm .bfm__success { padding: 36px 20px; }
  .bfm.bfm.bfm .bfm__ok-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .bfm *, .bfm *::before, .bfm *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
}
