/* ============================================================
   Konfigurátor — minimal, focus na vyplnění
   ============================================================ */

.kf-body {
  background: linear-gradient(180deg, #0F1117 0%, #14171F 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.kf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.kf-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
.kf-header__logo .logo-mark {
  background: var(--accent, #B5E126);
  color: #0F1117;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}
.kf-header__sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.kf-main { flex: 1; padding: 32px 16px 64px; }
.kf-container { max-width: 720px; margin: 0 auto; }

/* Loading */
.kf-loading {
  text-align: center;
  padding: 80px 16px;
  color: rgba(255, 255, 255, 0.7);
}
.kf-loading__spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent, #B5E126);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: kf-spin 0.7s linear infinite;
}
@keyframes kf-spin { to { transform: rotate(360deg); } }

/* Progress */
.kf-progress {
  margin-bottom: 32px;
}
.kf-progress__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.kf-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent, #B5E126), #DBFE5C);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.kf-progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* Hero */
.kf-hero {
  text-align: center;
  margin-bottom: 32px;
}
.kf-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #B5E126);
  margin-bottom: 12px;
}
.kf-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.kf-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* Step card */
.kf-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 24px;
}
.kf-card__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.kf-card__desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin: 0 0 24px;
  line-height: 1.55;
}

/* Fields */
.kf-field {
  margin-bottom: 20px;
}
.kf-field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
}
.kf-field__hint {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  line-height: 1.5;
}
.kf-field__required { color: var(--accent, #B5E126); }
.kf-field input[type="text"],
.kf-field input[type="email"],
.kf-field input[type="tel"],
.kf-field input[type="number"],
.kf-field textarea,
.kf-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.kf-field input:focus,
.kf-field textarea:focus,
.kf-field select:focus {
  border-color: var(--accent, #B5E126);
  background: rgba(181, 225, 38, 0.06);
}
.kf-field input::placeholder,
.kf-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.kf-field textarea { resize: vertical; min-height: 96px; }

/* Radio / checkbox grid */
.kf-options {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
.kf-options--cols-2 { grid-template-columns: repeat(2, 1fr); }
.kf-options--cols-3 { grid-template-columns: repeat(3, 1fr); }
.kf-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.kf-option:hover { border-color: rgba(181, 225, 38, 0.3); }
.kf-option input { position: absolute; opacity: 0; pointer-events: none; }
.kf-option__indicator {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex: 0 0 auto;
  margin-top: 1px;
  position: relative;
  transition: all 0.15s;
}
.kf-option input[type="checkbox"] + .kf-option__indicator { border-radius: 6px; }
.kf-option__indicator::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent, #B5E126);
  transform: scale(0);
  transition: transform 0.15s;
}
.kf-option input[type="checkbox"] + .kf-option__indicator::after { border-radius: 3px; }
.kf-option input:checked + .kf-option__indicator {
  border-color: var(--accent, #B5E126);
}
.kf-option input:checked + .kf-option__indicator::after { transform: scale(1); }
.kf-option__body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.kf-option__body span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
  line-height: 1.4;
}
.kf-option:has(input:checked) {
  border-color: var(--accent, #B5E126);
  background: rgba(181, 225, 38, 0.06);
}

/* Range slider */
.kf-range {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.kf-range input[type="range"] {
  width: 100%;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  outline: none;
}
.kf-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  background: var(--accent, #B5E126);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #0F1117;
  box-shadow: 0 0 0 1px var(--accent, #B5E126);
}
.kf-range input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--accent, #B5E126);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #0F1117;
}
.kf-range__value {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent, #B5E126);
  font-variant-numeric: tabular-nums;
  min-width: 80px;
  text-align: right;
}

/* Actions */
.kf-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.kf-actions .btn { min-width: 140px; }
.kf-actions__spacer { flex: 1; }

/* Done state */
.kf-done {
  text-align: center;
  padding: 64px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
}
.kf-done__icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  background: rgba(181, 225, 38, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.kf-done__icon svg { width: 32px; height: 32px; color: var(--accent, #B5E126); }
.kf-done h2 {
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.kf-done p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Error */
.kf-error {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #FFB5B5;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.kf-footer {
  text-align: center;
  padding: 24px 16px 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.kf-footer a { color: rgba(255, 255, 255, 0.7); }

/* Mobile */
@media (max-width: 600px) {
  .kf-header { padding: 14px 16px; }
  .kf-card { padding: 22px 18px; }
  .kf-options--cols-2,
  .kf-options--cols-3 { grid-template-columns: 1fr; }
  .kf-actions { flex-direction: column-reverse; }
  .kf-actions .btn { width: 100%; }
}
