@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================
   DESIGN TOKENS – WARM BEIGE THEME
============================================ */
:root {
  /* Tokeny zjednotené s reálnym FitProtocol brandom (appka + web) */
  --primary: #e07b39;
  --primary-light: #f5a860;
  --primary-dark: #c85e20;
  --accent: #b85a18;
  --accent-light: #f5c896;
  --success: #4a9e5c;
  --danger: #c0392b;
  --warning: #e09030;

  --bg-deep: #fdfaf6;
  --bg-card: #ffffff;
  --bg-card-hover: #fdf9f5;
  --bg-input: rgba(255, 248, 240, 0.9);

  --text-primary: #2d1a0e;
  --text-secondary: #8a6040;
  --text-muted: #b89070;
  --text-label: #5a3820;

  --border: rgba(224, 123, 57, 0.2);
  --border-focus: rgba(224, 123, 57, 0.7);
  --border-success: rgba(74, 158, 92, 0.5);
  --primary-lighter: #fef3e5;
  --success-light: #eaf6ee;

  --radius-sm: 14px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 20px;
  --radius-pill: 100px;

  --shadow-card: 0 10px 30px rgba(45, 26, 14, 0.07);
  --shadow-glow: 0 0 40px rgba(224, 123, 57, 0.2);
  --shadow-input: 0 0 0 3px rgba(224, 123, 57, 0.18);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   BACKGROUND – rovnaké ako na webe/appke, bez ozdobných kruhov
============================================ */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #fff8f0 0%, #fdecd8 50%, #fdf4e8 100%);
  pointer-events: none;
}

/* ============================================
   LAYOUT
============================================ */
.app-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  padding: 36px 24px 0;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.fp-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 20px;
}
.fp-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 123, 57, 0.12);
  border: 1px solid rgba(224, 123, 57, 0.35);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text-primary), var(--primary-dark) 55%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   PROGRESS BAR
============================================ */
.progress-wrapper {
  max-width: 700px;
  margin: 28px auto 0;
  padding: 22px 26px;
  width: calc(100% - 48px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}

.progress-label { color: var(--text-secondary); font-weight: 500; }

.progress-count {
  color: var(--primary-dark);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.progress-track {
  height: 6px;
  background: rgba(200, 140, 80, 0.18);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.steps-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.step-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 12px;
  background: rgba(200, 140, 80, 0.12);
  color: var(--text-muted);
  transition: var(--transition);
}
.step-dot.active {
  background: var(--primary-lighter);
  color: var(--primary-dark);
  box-shadow: 0 0 0 4px rgba(224,123,57,0.14);
}
.step-dot.done {
  background: var(--success-light);
  color: var(--success);
  font-size: 14px;
}

/* ============================================
   FORM CARD
============================================ */
.form-main {
  max-width: 700px;
  margin: 28px auto 60px;
  padding: 0 24px;
  width: 100%;
  flex: 1;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: none;
  animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card.active { display: block; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step-card.slide-left { animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(200, 140, 80, 0.2);
}

.step-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.step-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.step-titles h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-titles p { font-size: 13px; color: var(--text-secondary); }

/* ============================================
   FORM ELEMENTS
============================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid.cols-1 { grid-template-columns: 1fr; }
.form-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group.full-width { grid-column: 1 / -1; }

label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-label);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

label .required { color: var(--primary); font-size: 16px; line-height: 1; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  background: var(--bg-input);
  border: 1.5px solid rgba(200, 140, 80, 0.28);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
select:hover,
textarea:hover {
  border-color: rgba(224, 123, 57, 0.4);
  background: rgba(255, 252, 248, 0.95);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-input);
  background: #fff;
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  font-size: 13px;
}

select option { background: #fff9f4; color: var(--text-primary); }

textarea { resize: vertical; min-height: 88px; }

.select-wrapper { position: relative; }
.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  pointer-events: none;
  font-size: 15px;
}
.select-wrapper select { padding-right: 36px; }

/* ============================================
   CHECKBOX GROUP
============================================ */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.checkbox-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 248, 240, 0.8);
  border: 1.5px solid rgba(200, 140, 80, 0.22);
  border-radius: var(--radius-md);
  padding: 11px 40px 11px 14px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.checkbox-item:has(input:checked)::after {
  content: '✓';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--success);
  font-weight: 800;
  font-size: 15px;
}

.checkbox-item:hover {
  background: rgba(255, 243, 228, 0.95);
  border-color: rgba(224, 123, 57, 0.4);
}

.checkbox-item input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-item span { font-size: 13px; color: var(--text-label); font-weight: 500; }

.checkbox-item:has(input:checked) {
  background: rgba(224, 123, 57, 0.1);
  border-color: rgba(224, 123, 57, 0.5);
}

.checkbox-item:has(input:checked) span { color: var(--primary-dark); }

/* ============================================
   RADIO PILLS
============================================ */
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.radio-pill {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.radio-pill input[type="radio"] { display: none; }

.radio-pill span {
  background: rgba(255, 248, 240, 0.8);
  border: 1.5px solid rgba(200, 140, 80, 0.25);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
  display: inline-block;
}

.radio-pill input:checked + span {
  background: rgba(224, 123, 57, 0.15);
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: 0 0 10px rgba(224, 123, 57, 0.15);
}

.radio-pill input:checked + span::before {
  content: '✓ ';
  font-weight: 800;
}

.radio-pill:hover span {
  border-color: rgba(224, 123, 57, 0.4);
  color: var(--text-secondary);
}

/* ============================================
   RANGE SLIDER
============================================ */
.range-wrapper { display: flex; flex-direction: column; gap: 8px; }

input[type="range"] {
  width: 100%; height: 6px;
  background: rgba(200, 140, 80, 0.18);
  border-radius: 100px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  border: none;
  padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(224, 123, 57, 0.25), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }

input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 3px rgba(224, 123, 57, 0.25);
}

.range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }

.range-value-display {
  display: inline-flex;
  align-self: center;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--primary-lighter);
  border-radius: var(--radius-pill);
  padding: 7px 20px;
  margin-top: 6px;
}

/* ============================================
   NAVIGATION BUTTONS
============================================ */
.nav-buttons {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(200, 140, 80, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  flex: 1;
  box-shadow: 0 8px 20px rgba(224, 123, 57, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(200, 94, 32, 0.48);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255, 248, 240, 0.8);
  border: 1.5px solid rgba(200, 140, 80, 0.3);
  color: var(--text-secondary);
  min-width: 120px;
}

.btn-secondary:hover {
  background: rgba(255, 243, 228, 0.95);
  border-color: rgba(224, 123, 57, 0.45);
  color: var(--text-primary);
}

.btn-danger {
  background: linear-gradient(135deg, #e05030, #b83020);
  color: white;
}

.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(200, 60, 40, 0.4); }

.btn-success {
  background: linear-gradient(135deg, var(--success), #3d7a42);
  color: white;
  flex: 1;
  box-shadow: 0 4px 18px rgba(80, 150, 86, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(80, 150, 86, 0.42);
}

/* ============================================
   SUCCESS SCREEN
============================================ */
.success-screen { text-align: center; padding: 20px 0; }

.success-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #3d7a42);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 14px 34px rgba(74,158,92,0.4), 0 0 0 9px rgba(74,158,92,0.1);
  animation: iconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-icon svg { width: 42px; height: 42px; }

@keyframes iconPop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 5vw, 32px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.success-message {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

.success-panel {
  max-width: 460px;
  margin: 30px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
  text-align: left;
}

.success-panel p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.success-panel a { color: var(--primary-dark); font-weight: 700; text-decoration: none; }

/* ============================================
   FIELD VALIDATION
============================================ */
.field-error { font-size: 12px; color: #c0392b; display: none; margin-top: 4px; }

.field-group.has-error input,
.field-group.has-error select,
.field-group.has-error textarea { border-color: #c0392b; }

.field-group.has-error .field-error { display: block; }

/* ============================================
   INFO BOX
============================================ */
.info-box {
  background: rgba(224, 123, 57, 0.08);
  border: 1px solid rgba(224, 123, 57, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.info-box .info-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ============================================
   ADMIN STYLES
============================================ */
.admin-login { max-width: 420px; margin: 80px auto; padding: 0 24px; }

.admin-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 140, 80, 0.22);
  box-shadow: var(--shadow-card);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
}

.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.admin-table th {
  background: rgba(224, 123, 57, 0.12);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 18px;
  color: var(--text-primary);
  border-top: 1px solid rgba(200, 140, 80, 0.1);
  vertical-align: middle;
}

.admin-table tr:hover td { background: rgba(255, 243, 228, 0.5); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.badge-new { background: rgba(90, 158, 96, 0.12); color: var(--success); border: 1px solid rgba(90, 158, 96, 0.3); }
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: var(--radius-sm); }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(45, 26, 14, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }

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

.modal-content {
  background: #fff9f4;
  border: 1px solid rgba(200, 140, 80, 0.3);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.15);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(200, 140, 80, 0.2);
}

.modal-title { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: var(--text-primary); }

.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(200, 140, 80, 0.08);
  border: 1px solid rgba(200, 140, 80, 0.25);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(192, 57, 43, 0.1);
  border-color: rgba(192, 57, 43, 0.3);
  color: #c0392b;
}

.detail-section { margin-bottom: 24px; }

.detail-section h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(200, 140, 80, 0.1);
  font-size: 13px;
}

.detail-row:last-child { border-bottom: none; }

.detail-key { color: var(--text-muted); min-width: 180px; flex-shrink: 0; font-weight: 500; }
.detail-val { color: var(--text-primary); word-break: break-word; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-family: 'Outfit', sans-serif; font-size: 20px; color: var(--text-secondary); margin-bottom: 8px; }

/* Admin header & stats */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(200, 140, 80, 0.22);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  backdrop-filter: blur(10px);
}

.stat-card .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 640px) {
  .step-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .nav-buttons { flex-direction: column; }
  .btn-secondary { order: 2; }
  .modal-content { padding: 24px 18px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(200, 140, 80, 0.05); }
::-webkit-scrollbar-thumb { background: rgba(200, 140, 80, 0.35); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(224, 123, 57, 0.6); }

/* (2026-10-01) sekcia pre športovcov */
.field-hint { font-size: 13px; line-height: 1.5; opacity: .8; margin: 2px 0 10px; }
.sport-blok { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.sp-rozvrh { display: flex; flex-direction: column; gap: 8px; }
.sp-den { display: grid; grid-template-columns: 90px minmax(0, 1.4fr) 80px minmax(0, 1.6fr); gap: 8px; align-items: center; }
.sp-den-nazov { font-weight: 600; font-size: 14px; }
.sp-den.sp-volno input { opacity: .4; }
#sportovecGroup .radio-pill, .sport-blok .radio-pill { max-width: 100%; }
#sportovecGroup .radio-pill span, .sport-blok .radio-pill span { white-space: normal; border-radius: 16px; line-height: 1.4; }
.field-group.has-error .sp-rozvrh { outline: 2px solid #e53e3e; outline-offset: 4px; border-radius: 8px; }
@media (max-width: 640px) {
  .sp-den { grid-template-columns: 1fr 90px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
  .sp-den-nazov { grid-column: 1 / -1; }
  .sp-den input[type="text"] { grid-column: 1 / -1; }
}

/* (2026-10-13, audit F1/F2) mobil 360–390 px: dlhé možnosti sa zalomia (predtým white-space: nowrap pretieklo
   kartu aj obrazovku), položky mriežky sa môžu zúžiť; polia 16 px, aby iPhone pri písaní nepribližoval stránku */
.radio-pill { max-width: 100%; }
.radio-pill span { white-space: normal; border-radius: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.form-grid > *, .field-group, .checkbox-grid > *, .select-wrapper { min-width: 0; }
.checkbox-item span { overflow-wrap: anywhere; }
#zastupcaBlok { grid-column: 1 / -1; }
@media (max-width: 640px) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="date"], input[type="time"], select, textarea { font-size: 16px; }
}
/* animácia prechodu medzi krokmi (translateX 28 px) na mobile na chvíľu rozšírila stránku - orezať */
.app-container { overflow-x: hidden; overflow-x: clip; }

/* (2026-10-13, audit B1) chyba odoslania dotazníka */
.send-error { background: #fef2f2; border: 1.5px solid #fca5a5; color: #7f1d1d; border-radius: var(--radius-md);
  padding: 16px 18px; margin-top: 20px; font-size: 14px; line-height: 1.55; }
.send-error p { margin: 0 0 10px; }
.send-error-title { font-weight: 700; font-size: 16px; }
.send-error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.send-error-actions .btn { text-decoration: none; }
.send-error-hint { font-size: 12px; opacity: .85; margin: 0 !important; }

/* (2026-10-14, Roman / právny chat) súhlasy v kroku 7 (dospelý: podmienky + 14 dní, zdravotné údaje; zástupca):
   dlhý text čitateľne (nie veľkými písmenami), celý riadok klikateľný (dotyková plocha min. 44 px),
   text v <span>, aby sa odkazy v ňom nerozpadli na samostatné položky flexu */
label.suhlas-polozka { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; line-height: 1.5;
  align-items: flex-start; gap: 12px; min-height: 44px; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); background: var(--bg-input); cursor: pointer; }
label.suhlas-polozka input[type="checkbox"] { width: 22px; height: 22px; min-width: 22px; margin: 0; flex-shrink: 0;
  accent-color: var(--primary); cursor: pointer; }
label.suhlas-polozka > span { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
label.suhlas-polozka a { color: var(--primary-dark); text-decoration: underline; font-weight: 600; }
label.suhlas-polozka:has(input:checked) { border-color: var(--border-success); background: var(--success-light); }
.field-group.has-error label.suhlas-polozka { border-color: var(--danger); }
.suhlas-info { font-size: 13px; line-height: 1.55; color: var(--text-secondary); margin: 0 0 16px; overflow-wrap: anywhere; }
.suhlas-info a { color: var(--primary-dark); text-decoration: underline; }
#suhlasDospelyBlok, #suhlasMaloletyBlok { display: flex; flex-direction: column; gap: 14px; margin-bottom: 4px; }

/* (2026-10-14, audit 2 w1-100) rozpracovaný dotazník: informácia + tlačidlo na vymazanie (zdieľané zariadenie) */
.koncept-info { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-secondary); overflow-wrap: anywhere; }
.koncept-zmaz { display: inline-flex; align-items: center; min-height: 44px; margin-left: 4px; padding: 6px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); background: var(--bg-input); color: var(--text-secondary); font: inherit; font-size: 13px; cursor: pointer; }
.koncept-zmaz:hover { border-color: var(--danger); color: var(--danger); }
