/* ========================================================= */
/* ===============   OBECNÉ LAYOUTY & FIELDY   ============== */
/* ========================================================= */

/* === Řádky a grid systém === */
.row {
  display: grid;
  gap: 14px;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.row + .row { margin-top: 22px; }

@media (min-width: 960px) {
  .row--3 { grid-template-columns: repeat(3, 1fr); }
  .row--2 { grid-template-columns: 1fr 1fr; }
}

/* === Pole formuláře === */
.field { display: flex; flex-direction: column; gap: 4px; }

/* Nadpisy polí */
.field > label {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 750;
  color: #111827;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

/* === Inputy a selecty === */
input, select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line-strong, #d1d5db);
  border-radius: 12px;
  font-size: 14px;
  background: #fff;
  transition: box-shadow .15s, border-color .15s, background .15s;
}
input::placeholder { color: #94a3b8; }

/* Fokus efekt */
input:focus-visible,
select:focus-visible,
.chip:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(17,17,17,.12);
  border-color: var(--focus, #111);
}

/* Úzká pole v 3 sloupcích */
@media (min-width: 960px) {
  .row--3 input[type=number], .row--3 select {
    max-width: 180px;
    padding: 10px 12px;
  }
}

/* === Texty nápovědy === */
.help { margin-bottom: 10px; }
.help_under {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
  margin-top: 6px;
}

/* ========================================================= */
/* =====================   CHIPS / RADIOS   ================= */
/* ========================================================= */

.radios, .chips { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  border: 1px solid var(--line-strong, #d1d5db);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  background: var(--chip-bg, #f8fafc);
  color: var(--chip-fg, #0f172a);
  font-weight: 600;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: transform .06s, box-shadow .15s, background .15s, color .15s;
  user-select: none;
}
.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.chip.selected {
  border-color: #111;
  background: #111;
  color: #fff;
}

.center { justify-content: center; }

/* === Hero chips === */
.chips-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.chips-hero .chip {
  padding: 12px 16px;
  font-size: 15px;
  min-width: 100px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* === Pulzující upozornění na nevybraný chip === */
.chips.attention { animation: chipPulse 1.6s ease-in-out infinite; }

@keyframes chipPulse {
  0%, 100% { transform: scale(1); box-shadow: none; }
  50% { transform: scale(1.03); box-shadow: 0 0 0 6px rgba(5,102,8,0.15); }
}

/* ========================================================= */
/* ==================   CTA PRIMÁRNÍ BTN   ================== */
/* ========================================================= */

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--cta-h);
  padding: 14px 24px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  transition: transform .2s, box-shadow .2s, background .3s;
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  background: linear-gradient(135deg, #000 0%, #222 100%);
}

/* Jemná pulzující animace */
.pulse { animation: pulseAnim 2s infinite; }
@keyframes pulseAnim {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========================================================= */
/* ===============   HERO SEKCE & TOOLTIPY   ================ */
/* ========================================================= */

/* === Legenda grafu === */
.legend {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.leg::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}
.leg.bmr::before   { background: #60A5FA; }
.leg.bda::before   { background: #2563EB; }
.leg.sport::before { background: #06B6D4; }
.leg.intake::before{ background: #F59E0B; }

/* === Scroll pro graf === */
.chart-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 80%;
  padding-bottom: 8px;
}
#chart_balance {
  display: block;
  max-width: none;
  min-width: 640px;
}

/* === Přepínač sportu === */
.sport-toggle {
  margin: 20px 0 16px;
  font-size: 14px;
}
.sport-toggle label {
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sport-toggle input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
}
.sport-toggle .toggle-help {
  margin-top: 6px;
  color: #555;
  font-size: 13px;
  line-height: 1.5;
  max-width: 420px;
}

/* === Tooltip === */
.tooltip {
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  color: #111;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tooltip.show {
  opacity: 1;
  transform: translateY(0);
}
.tooltip b {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

/* ========================================================= */
/* =======================   VALIDACE   ===================== */
/* ========================================================= */

.field-error input,
.field-error select,
.field-error textarea {
  border-color: #b00020;
  box-shadow: 0 0 0 3px rgba(176,0,32,.12);
}
.field-error .chips,
.chips[data-invalid="true"] {
  outline: 2px solid rgba(176,0,32,.6);
  border-radius: 12px;
  padding: 4px;
}
.field-error { animation: fieldShake .18s linear; }

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  33% { transform: translateX(-4px); }
  66% { transform: translateX(3px); }
}

.field .error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 4px;
}

.info-text {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ========================================================= */
/* ==========   STEP 2 – Cíl & Jednotka energie   =========== */
/* ========================================================= */

.layout-step2, .layout-step2 * { color: #111; }

@media (min-width: 960px) {
  .layout-step2 .row--2 { align-items: flex-start; }
  .layout-step2 .field--target .note { margin-top: 6px; }
}
.align-end { align-items: end; }
.input-with-unit { display: inline-flex; align-items: center; gap: 10px; }
.layout-step2 #bmr_value { max-width: 260px; padding: 10px 12px; }
.error-inline { margin-top: 8px; }
/* Lepší vertikální zarovnání mezi "Cíl" a "Jednotka energie" */
.layout-step2 .row--2 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; /* místo align-items: end */
  gap: 40px; /* malé rozestupy mezi bloky */
}

.layout-step2 .field {
  flex: 1 1 300px; /* umožní lepší responzivitu */
  min-width: 280px;
}



/* ========================================================= */
/* =======   STEP 3 – vlastní bloky & Accordions   ========== */
/* ========================================================= */

.layout-step3, .layout-step3 * { color: #111; }

.section-hero { margin-bottom: 16px; }
.section-block { margin-top: 20px; padding-top: 8px; }
.section-sub { margin-top: 16px; }

.activity_help { margin-top: 8px; }

.own-block-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  margin-top: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.own-block-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr 0.7fr 0.6fr;
  gap: 12px;
  align-items: end;
}

@media (min-width: 720px) {
  .own-block-grid { grid-template-columns: 1.1fr .6fr .7fr .6fr; }
}

.own-block-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.btn-del-block {
  border: 1px solid #ef4444;
  background: #ef4444;
  color: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}
.btn-del-block[disabled] { opacity: .5; cursor: not-allowed; }

.actions-row {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}
@media (max-width: 720px) { .actions-row { margin-bottom: 25px; } }

.btn-add-block {
  border: 1px solid #111;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

/* --- Accordions --- */
#hours_block { margin: 24px 0; }

.need-groups-grid { column-gap: 12px; }
@media (min-width: 960px) { .need-groups-grid { column-count: 2; } }

.need-groups-grid .sport-accordion {
  break-inside: avoid;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.377);
  border-radius: 5px;
  padding: 4px 10px;
  background: #fff;
}

.need-groups-grid .sport-accordion > summary {
  color: #000;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  padding: 10px 4px;
  position: relative;
  transition: color 0.15s;
}
.need-groups-grid .sport-accordion > summary::after {
  content: '▾';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transition: transform .15s;
}
.need-groups-grid .sport-accordion[open] > summary {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.need-groups-grid .sport-accordion[open] > summary::after {
  transform: translateY(-50%) rotate(0deg);
}
@media (max-width: 550px) {
  .own-block-grid {
    display: grid;
    grid-template-columns: 1fr; /* všechny pod sebe */
    gap: 14px;
  }

  .own-block-grid label {
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
  }

  .own-block-grid select,
  .own-block-grid input {
    width: 100%;
    font-size: 16px;
  }

  /* tlačítko odstranit blok (křížek) */
  .own-block-actions {
    justify-content: flex-start;
    margin-top: 10px;
  }
}

/* --- Chybová pole --- */
.field input.error,
.field select.error { border-color: #ef4444; }
#err-sessions_total {
  font-size: 0.95rem;  /* větší než default 0.85rem */
  font-weight: 500;    /* trochu tučnější */
}
.btn-add-block.limit-reached {
  background-color: #ccc;
  color: #888;
  opacity: 0.6;
}
#add_own_block_limit_hint {
  color: #b00020;
  font-size: 0.95rem;
  margin-top: 6px;
  text-align: center;
}

/* automaticky zobrazit, když není prázdný */
#add_own_block_limit_hint:not(:empty) {
  display: block;
}

/* ========================================================= */
/* ============   STEP 4 – dieta (bez maker)   ============== */
/* ========================================================= */

/* === Základní barvy a chyby === */
.layout-step4, .layout-step4 * { color: #111; }
.layout-step4 .error { color: var(--error); }

/* === Sekce "Nejím" ve stylu políček === */
.layout-step4 #dislikes_block {
  margin-top: 30px;
}
.layout-step4 #repeats_block {
  margin-top: 30px;
}

.layout-step4 #dislikes_block .chip {
  min-height: 40px;
  padding: 10px 14px;
  font-weight: 650;
}

/* === Repeat hints === */

.repeat-hints {
  margin-top: 6px;
  text-align: center;
}
.repeat-hints .repeat-hint {
  margin-top: 6px;
  display: none;
}
.repeat-hints .repeat-hint.active {
  display: block;
}

/* === Prémiová poznámka === */
.premium-note {
  font-size: 14px;
  color: #444;
  border-radius: 6px;
  margin-top: 12px;
  display: flex;
  align-items: center;
}

/* ========================================================= */
/* ==============   STEP 5 – Makra & Grafy   ================ */
/* ========================================================= */

/* === Textové poznámky === */
.layout-step5 .step5-sub {
  margin-bottom: 24px;
}
.macro-note {
  font-size: 14px;
  color: #444;
  margin-top: 14px;
  line-height: 1.4;
}

/* === Grid maker === */
.layout-step5 .macros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 18px;
  align-items: start;
}

/* Responsivní chování */
@media (max-width: 960px) {
  .layout-step5 .macros-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 320px) {
  .layout-step5 .macros-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* === Pole maker === */
.layout-step5 .macros-grid .field label {
  display: block;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  font-size: 15px;
}
.layout-step5 .macros-grid .field input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d4da;
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
  transition: border-color 0.2s;
}
.layout-step5 .macros-grid .field input[type="number"]:focus {
  outline: none;
  border-color: #2563eb;
}
.layout-step5 #macro_sum {
  background: #f1f5f9;
  cursor: default;
}

/* === Donuty (grafy) === */
.layout-step5 .macros-grid.donuts {
  margin-top: 22px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.layout-step5 .macros-grid.donuts .donut {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Donuty vždy 1:1 */
.layout-step5 .donut canvas {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  height: auto; /* zruší pevnou výšku a drží poměr */
  display: block;
}

/* === Responsivní grafy === */
@media (max-width: 960px) {
  .layout-step5 .macros-grid.donuts {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout-step5 .donut canvas {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .layout-step5 .macros-grid.donuts {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .layout-step5 .donut canvas {
    max-width: 160px;
  }
  .layout-step5 .donut-label {
    font-size: 14px;
    margin-top: 10px;
  }
}
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55); /* jemnější tmavý overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.2s ease-out;
}

.confirm-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
  max-width: 440px;
  width: 90%;
  padding: 2rem 2.2rem 2.3rem;
  text-align: center;
  animation: fadeSlideIn 0.25s ease-out;
}

.confirm-modal h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.8rem;
}

.confirm-modal p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 1.6rem;
}

.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* fallback pro případy, kdy nemáš CSS kompozici */
.confirm-actions .btn-primary {
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  border: 1px solid var(--brand);
  padding: 12px 20px;
  transition: transform 0.06s, box-shadow 0.15s;
}

.confirm-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.confirm-actions .btn-secondary {
  background: #fff;
  color: #111;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid #111;
  padding: 12px 20px;
  transition: background 0.15s, transform 0.06s;
}

.confirm-actions .btn-secondary:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* ========================================================= */
/* ====================   STEP 6 – PLÁNY   ================== */
/* ========================================================= */

/* === Nadpisy a grid === */
#plan-step h1 {
  font-size: 28px;
  text-align: center;
}
/* === Karty plánů === */
.plan-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* ⬅ zmenšeno z 280px */
  gap: 20px;
  margin: 20px 0;
  overflow-x: clip; /* zabrání přetečení */
  max-width: 100%;
}
/* === Klikatelné karty plánů === */
.plan-card--select {
  border: 1px solid #cfcfcf;
  border-radius: 16px;
  padding: 20px 20px 10px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.plan-card--select:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.plan-card--select.selected {
  border: 3px solid var(--brand, #111);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Nadpisy a texty v kartě */
.plan-card--select h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  margin-bottom: 8px;
}
.plan-card--select .badge {
  background: var(--brand, #111);
  color: #fff;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
}
.plan-card--select p,
.plan-card--select ul {
  color: #000;
  font-size: 15px;
  line-height: 1.7;
}
.plan-card--select ul {
  margin: 0;
  padding-left: 20px;
}

/* === Ceny === */
.plan-card--select .prices {
  margin-top: 26px;
  text-align: center;
}
.price {
  font-size: 17px;
  font-weight: 600;
  margin: 6px 0;
}
.price--week { color: #000; }
.price--month {
  color: #056608;
  font-size: 18px;
}

/* === Detailní sekce === */
.plan-details {
  margin-top: 24px;
  padding-top: 12px;
}
.plan-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, transform .2s;
}
.plan-details summary:hover {
  color: #056608;
  transform: scale(1.02);
}

/* === Grid detailních karet === */
.plan-details-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* === Detailní karty === */
.plan-card--detail {
  border: 1px solid #bababa9e;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.plan-card--detail h4 {
  font-size: 18px;
  margin: 4px 0 10px;
}
.plan-card--detail ul {
  font-size: 15px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}

/* === Rozložení sekcí === */
.plan-options {
  display: grid;
  gap: 20px;
}
@media (min-width: 960px) {
  .plan-options {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* === Celková cena === */
.plan-total {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}
.plan-total .label { font-weight: 600; color: #444; }
.plan-total .value {
  font-size: 22px;
  font-weight: 800;
  color: #056608;
}

/* === Validace === */
.field-error .plan-buttons,
.field-error .plan-period,
.plan-buttons[data-invalid="true"],
.plan-period[data-invalid="true"] {
  outline: 2px solid rgba(176,0,32,.6);
  border-radius: 12px;
  padding: 4px;
}

/* === Doručení a prémiové prvky === */
.delivery-time {
  margin-top: 30px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}
.delivery-time::before { content: "🕒"; font-size: 16px; }
[data-variant="premium"] .delivery-time::before { content: "⚡"; }

.plan-card--detail .premium-feature {
  color: #056608;
  font-weight: 700;
  background: #fbfffc;
  border-radius: 6px;
  padding: 4px 8px;
  margin: 4px 0;
  transition: background .2s, transform .2s;
}
.plan-card--detail .premium-feature:hover {
  background: #d6f4db;
  transform: translateX(2px);
}

/* ========================================================= */
/* ================   STEP 7 – Shrnutí & Nákup   ============ */
/* ========================================================= */

#step7 { margin: 6px 0 0; }

/* === Grid rozložení === */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* === Karty === */
.card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.review-left .card { padding-bottom: 0; }

.card h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 750;
  color: #222;
}

/* === Souhrn objednávky === */
.summary-block {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.summary-block:last-child { border-bottom: none; }
.summary-block h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #000000;
}
.summary-block p {
  margin: 0;
  font-size: 14px;
  color: #1b1b1b;
}

/* === Celková cena === */
.total-price {
  margin-top: 5px;
  text-align: center;
}
.price-label {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}
.price-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1b5e20;
}

/* === Formulářová pole === */
#step7 .field { margin-bottom: 18px; }
#step7 .field:not(.consent-toggle) > label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
}

/* === Souhlasy (checkboxy) === */
.consent-toggle label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  font-size: 14px;
  cursor: pointer;
}
.consent-toggle span {
  flex: 1;
  line-height: 1.3;
  white-space: normal;
}
.consent-toggle input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transform: scale(1.1);
  cursor: pointer;
  accent-color: #056608;
}
#step7 .consent-toggle { margin-bottom: 8px; }
.newsletter-toggle { padding: 2px 15px 15px; }

/* === Tlačítko odeslání === */
button.primary {
  width: 100%;
  padding: 12px;
  background: #056608;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
button.primary:hover { background: #009703; }

/* === Důvěra (trust text) === */
.trust {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: #505050;
}

/* === Slevový kód === */
.discount-field { margin-top: 24px; }
.discount-input { display: flex; gap: 8px; }
.discount-input input {
  flex: 1;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.btn-discount {
  background: #7c7c7c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.btn-discount:hover { background: #0b3100; }
#discount-info {
  margin-top: 6px;
  font-size: 13px;
  color: green;
}

/* === Spinner === */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
