/* Firemný portál – light B2B SaaS (neovplyvňuje admin) */
:root {
  --fp-bg: #eef3f9;
  --fp-surface: #ffffff;
  --fp-border: #e2e8f0;
  --fp-text: #0f172a;
  --fp-muted: #64748b;
  --fp-soft: #94a3b8;
  --fp-primary: #2563eb;
  --fp-primary-hover: #1d4ed8;
  --fp-primary-soft: #eff6ff;
  --fp-green: #16a34a;
  --fp-green-soft: #dcfce7;
  --fp-amber: #d97706;
  --fp-amber-soft: #fef3c7;
  --fp-indigo: #4f46e5;
  --fp-indigo-soft: #eef2ff;
  --fp-red: #dc2626;
  --fp-red-soft: #fee2e2;
  --fp-slate-soft: #f1f5f9;
  --fp-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.06);
  --fp-radius: 16px;
  --fp-sidebar: 248px;
  --fp-font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.fp-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fp-font);
  background: var(--fp-bg);
  color: var(--fp-text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.fp-shell {
  display: flex;
  min-height: 100vh;
}

/* —— Sidebar —— */
.fp-sidebar {
  width: var(--fp-sidebar);
  flex-shrink: 0;
  background: var(--fp-surface);
  border-right: 1px solid var(--fp-border);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 40;
}

.fp-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.5rem 1.25rem;
}

.fp-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.fp-brand-icon svg { width: 22px !important; height: 22px !important; display: block; }

.fp-brand strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fp-brand span {
  display: block;
  font-size: 0.72rem;
  color: var(--fp-muted);
  margin-top: 1px;
}

.fp-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.fp-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--fp-muted);
  font-size: 0.9rem;
  font-weight: 550;
  transition: background .15s, color .15s;
}

.fp-nav a:hover { background: var(--fp-slate-soft); color: var(--fp-text); }
.fp-nav a.active {
  background: var(--fp-primary-soft);
  color: var(--fp-primary);
}
.fp-nav a svg { width: 18px !important; height: 18px !important; max-width: 18px; max-height: 18px; flex-shrink: 0; opacity: 0.9; display: block; }

.fp-help {
  margin-top: auto;
  background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.04);
}

.fp-help-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.fp-help-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #bfdbfe;
  color: var(--fp-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}

.fp-help-ico svg {
  width: 15px !important;
  height: 15px !important;
  display: block;
}

.fp-help-title {
  font-size: 0.82rem;
  font-weight: 750;
  margin: 0;
  color: var(--fp-text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.fp-help-phones {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-left: 0.1rem;
}

.fp-help-phone {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--fp-primary) !important;
  line-height: 1.35;
  transition: color .15s ease;
}

.fp-help-phone:hover {
  color: var(--fp-primary-hover) !important;
  text-decoration: underline;
}

.fp-help-phone-sec {
  font-size: 0.82rem;
  font-weight: 650;
  color: #475569 !important;
}

.fp-help-phone-sec:hover {
  color: var(--fp-primary) !important;
}

/* —— Main —— */
.fp-main {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.5rem 2.5rem;
}

.fp-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.fp-userchip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
}

.fp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fp-primary-soft);
  color: var(--fp-primary);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.fp-userchip .meta { line-height: 1.2; }
.fp-userchip .meta strong { display: block; font-size: 0.8rem; }
.fp-userchip .meta span { font-size: 0.7rem; color: var(--fp-muted); }

.fp-link-muted {
  font-size: 0.8rem;
  color: var(--fp-muted);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.fp-link-muted:hover { color: var(--fp-text); background: var(--fp-slate-soft); }

.fp-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  min-height: 52px;
}

.fp-hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.fp-hero .fp-hero-sub {
  margin: 0.3rem 0 0;
  color: var(--fp-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.fp-hero .fp-hero-sub strong {
  color: var(--fp-text);
  font-weight: 700;
}

.fp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.fp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  color: var(--fp-muted);
  font-weight: 550;
}

.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background .15s, transform .1s;
}
.fp-btn:active { transform: translateY(1px); }
.fp-btn-primary {
  background: var(--fp-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.fp-btn-primary:hover { background: var(--fp-primary-hover); color: #fff; }
.fp-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.fp-btn-ghost {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  color: var(--fp-text);
}
.fp-btn-ghost:hover { background: var(--fp-slate-soft); }
.fp-btn-sm { padding: 0.4rem 0.75rem; font-size: 0.78rem; border-radius: 8px; }
.fp-btn-danger {
  background: transparent;
  border: none;
  color: var(--fp-red);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
}
.fp-btn-danger:hover { text-decoration: underline; }

/* —— Cards / grid —— */
.fp-card {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow);
  padding: 1.15rem 1.2rem;
  transition: box-shadow .18s ease, transform .18s ease;
}
.fp-card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07), 0 12px 28px rgba(37, 99, 235, 0.06);
}

.fp-body svg {
  max-width: 100%;
  flex-shrink: 0;
}

.fp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.fp-stat {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 1.2rem 1.15rem;
  border-top: 3px solid transparent;
}
.fp-stat-blue { border-top-color: #2563eb; background: linear-gradient(180deg, #f8fbff 0%, #fff 55%); }
.fp-stat-green { border-top-color: #16a34a; background: linear-gradient(180deg, #f7fdf9 0%, #fff 55%); }
.fp-stat-indigo { border-top-color: #4f46e5; background: linear-gradient(180deg, #f8f8ff 0%, #fff 55%); }
.fp-stat-amber { border-top-color: #d97706; background: linear-gradient(180deg, #fffbf5 0%, #fff 55%); }

.fp-stat-label {
  font-size: 0.78rem;
  color: var(--fp-muted);
  font-weight: 650;
  margin: 0 0 0.85rem;
  padding-right: 3rem;
  letter-spacing: 0.01em;
}
.fp-stat-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 0;
  line-height: 1.05;
  color: var(--fp-text);
}
.fp-stat-value-sm { font-size: 22px !important; letter-spacing: -0.03em; }
.fp-stat-value .fp-unit {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--fp-soft);
  letter-spacing: 0;
}
.fp-stat-sub {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--fp-soft);
  line-height: 1.35;
}
.fp-stat-link {
  color: var(--fp-primary) !important;
  font-weight: 700;
}
.fp-stat-link:hover { text-decoration: underline; }

.fp-stat-ico {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--fp-primary-soft);
  color: var(--fp-primary);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}
.fp-stat-ico svg { width: 18px !important; height: 18px !important; display: block; }
.fp-stat-ico.green { background: var(--fp-green-soft); color: var(--fp-green); box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.1); }
.fp-stat-ico.amber { background: var(--fp-amber-soft); color: var(--fp-amber); box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.1); }
.fp-stat-ico.indigo { background: var(--fp-indigo-soft); color: var(--fp-indigo); box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.1); }

.fp-progress {
  height: 8px;
  background: #e8eef5;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.85rem;
}
.fp-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #34d399, #16a34a);
  border-radius: 999px;
  max-width: 100%;
  transition: width .3s ease;
}
.fp-progress.is-empty > span { width: 0 !important; background: transparent; }
.fp-progress.warn > span { background: linear-gradient(90deg, #fbbf24, #d97706); }
.fp-progress.danger > span { background: linear-gradient(90deg, #f87171, #dc2626); }

/* Thumbnail 80×50, contain */
.fp-thumb {
  width: 80px;
  height: 50px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  overflow: hidden;
  position: relative;
}
.fp-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block !important;
  border: 0;
  background: #f1f5f9;
}
.fp-thumb svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
  opacity: 0.5;
  display: block;
}
.fp-thumb-sm {
  width: 64px;
  height: 40px;
  border-radius: 8px;
}
.fp-thumb-sm svg {
  width: 16px !important;
  height: 16px !important;
}
.fp-veh-cell {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.fp-veh-cell .txt { min-width: 0; }
.fp-plate {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--fp-text);
}

.fp-billing-box {
  background: linear-gradient(165deg, #f0f7ff 0%, #f8fafc 40%, #fff 100%);
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  margin-bottom: 0;
}
.fp-billing-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--fp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fp-billing-sum {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--fp-text);
}
.fp-billing-limit {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fp-soft);
}
.fp-billing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.fp-billing-meta .fp-chip {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
}
.fp-chip-discount {
  background: var(--fp-green-soft) !important;
  border-color: #bbf7d0 !important;
  color: #15803d !important;
  font-weight: 700 !important;
}
.fp-fa-heading {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fp-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fp-empty-state {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1rem;
  min-height: 160px;
  color: var(--fp-muted);
}
.fp-empty-inner {
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fp-empty-state .ico {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  max-width: 40px;
  max-height: 40px;
  margin: 0 0 0.75rem;
  border-radius: 12px;
  background: var(--fp-primary-soft);
  color: var(--fp-primary);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.fp-empty-state .ico svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: block;
}
.fp-empty-title {
  margin: 0 0 0.3rem !important;
  font-size: 0.95rem !important;
  font-weight: 750;
  color: var(--fp-text);
  line-height: 1.3;
}
.fp-empty-text {
  margin: 0 0 0.9rem !important;
  font-size: 0.82rem !important;
  color: var(--fp-soft);
  line-height: 1.4;
}
.fp-empty-state .fp-btn { padding: 0.55rem 1rem; font-size: 0.85rem; }

.fp-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: start;
}

.fp-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.fp-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: var(--fp-slate-soft);
  padding: 0.25rem;
  border-radius: 10px;
}
.fp-tabs button {
  border: none;
  background: transparent;
  color: var(--fp-muted);
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}
.fp-tabs button.active {
  background: var(--fp-surface);
  color: var(--fp-text);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* —— Tables —— */
.fp-table-wrap { overflow-x: auto; margin: 0 -0.25rem; }
.fp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.fp-table th {
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fp-soft);
  font-weight: 700;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--fp-border);
  white-space: nowrap;
}
.fp-table td {
  padding: 0.85rem 0.65rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.fp-table tr:last-child td { border-bottom: none; }
.fp-table tr:hover td { background: #fafbfc; }

.fp-muted { color: var(--fp-muted); }
.fp-soft { color: var(--fp-soft); }
.fp-small { font-size: 0.78rem; }

.fp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.fp-badge-ok { background: var(--fp-green-soft); color: var(--fp-green); }
.fp-badge-wait { background: var(--fp-amber-soft); color: var(--fp-amber); }
.fp-badge-info { background: var(--fp-primary-soft); color: var(--fp-primary); }
.fp-badge-off { background: var(--fp-slate-soft); color: var(--fp-muted); }
.fp-badge-bad { background: var(--fp-red-soft); color: var(--fp-red); }

.fp-vehicle-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 58px;
  padding: 0.6rem 0.15rem;
  border-bottom: 1px solid #f1f5f9;
  border-radius: 10px;
  transition: background .15s ease;
}
.fp-vehicle-row:hover { background: #f8fafc; }
.fp-vehicle-row:last-child { border-bottom: none; }
.fp-vehicle-row .grow { flex: 1; min-width: 0; }
.fp-vehicle-row .grow strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.fp-vehicle-row .grow .model {
  display: block;
  font-size: 0.78rem;
  color: var(--fp-muted);
  font-weight: 550;
  margin-top: 0.1rem;
}
.fp-vehicle-row .grow .hint {
  display: block;
  font-size: 0.7rem;
  color: var(--fp-soft);
  margin-top: 0.15rem;
  line-height: 1.3;
}

.fp-table td { padding: 0.7rem 0.55rem; }
.fp-hist-row td { padding: 0.55rem 0.5rem; }
.fp-table tbody tr { transition: background .12s ease; }

.fp-fa-mini {
  margin-top: 1rem;
  padding: 0.95rem 0 0;
  border-top: 1px dashed #dbe3ee;
}
.fp-fa-mini .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.55rem 0.4rem;
  border-radius: 10px;
  transition: background .12s ease;
}
.fp-fa-mini .row:hover { background: #f8fafc; }
.fp-fa-mini a { color: var(--fp-primary); font-weight: 650; font-size: 0.8rem; }

.fp-flash {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 550;
}
.fp-flash-ok { background: var(--fp-green-soft); color: #166534; }
.fp-flash-err { background: var(--fp-red-soft); color: #991b1b; }

.fp-empty {
  text-align: center;
  padding: 1.75rem 1rem;
  color: var(--fp-muted);
  font-size: 0.9rem;
}

.fp-actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 0.55rem;
}
.fp-actions-inline label {
  display: block;
  font-size: 0.68rem;
  color: var(--fp-soft);
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.fp-actions-inline input[type=date],
.fp-actions-inline input[type=text] {
  border: 1px solid var(--fp-border);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  background: #fff;
  color: var(--fp-text);
}

.fp-section { scroll-margin-top: 1rem; margin-bottom: 1rem; }

/* —— Auth (login / pin) —— */
.fp-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(37, 99, 235, 0.12), transparent 55%),
    var(--fp-bg);
}
.fp-auth {
  width: 100%;
  max-width: 420px;
}
.fp-auth-head { text-align: center; margin-bottom: 1.5rem; }
.fp-auth-head .eyebrow {
  color: var(--fp-primary);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.fp-auth-head h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.fp-auth-head p {
  margin: 0.45rem 0 0;
  color: var(--fp-muted);
  font-size: 0.9rem;
}
.fp-auth-card {
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: 16px;
  box-shadow: var(--fp-shadow);
  padding: 1.5rem;
}
.fp-field { margin-bottom: 1rem; }
.fp-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--fp-muted);
  margin-bottom: 0.35rem;
}
.fp-field input,
.fp-field select,
.fp-field textarea {
  width: 100%;
  border: 1px solid var(--fp-border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--fp-text);
  outline: none;
}
.fp-field input:focus,
.fp-field select:focus,
.fp-field textarea:focus {
  border-color: var(--fp-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.fp-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fp-text);
  margin-bottom: 1rem;
  cursor: pointer;
}
.fp-check input { width: auto; accent-color: var(--fp-primary); }
.fp-auth-foot {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--fp-soft);
  line-height: 1.5;
}
.fp-auth-foot a { color: var(--fp-primary); font-weight: 600; }

/* —— Rezervácia form —— */
.fp-page-narrow { max-width: 640px; }
.fp-page-rez { max-width: 720px; }

.fp-rez-form { padding: 1.35rem 1.4rem 1.5rem; }
.fp-rez-step {
  padding: 1.15rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.fp-rez-step:first-child { padding-top: 0.15rem; }
.fp-rez-step:last-of-type { border-bottom: none; padding-bottom: 0.35rem; }
.fp-rez-step-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}
.fp-rez-step-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.fp-rez-step-head p {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--fp-muted);
  line-height: 1.35;
}
.fp-rez-num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--fp-primary-soft);
  color: var(--fp-primary);
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.fp-rez-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.fp-rez-submit {
  width: 100%;
  margin-top: 1.15rem;
  justify-content: center;
}

.fp-svc-list { display: flex; flex-direction: column; gap: 0.55rem; }

.fp-svc {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--fp-border);
  border-top-width: 3px;
  border-top-style: solid;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
/* Farebné odlíšenie – rovnaký princíp ako štatistiky na prehľade */
.fp-svc-t0 {
  border-top-color: #2563eb !important;
  border-color: #dbeafe;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 70%) !important;
}
.fp-svc-t1 {
  border-top-color: #16a34a !important;
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 70%) !important;
}
.fp-svc-t2 {
  border-top-color: #4f46e5 !important;
  border-color: #c7d2fe;
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 70%) !important;
}
.fp-svc-t3 {
  border-top-color: #d97706 !important;
  border-color: #fde68a;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 70%) !important;
}
.fp-svc-t0:hover { border-color: #93c5fd; border-top-color: #2563eb !important; box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12); }
.fp-svc-t1:hover { border-color: #86efac; border-top-color: #16a34a !important; box-shadow: 0 2px 10px rgba(22, 163, 74, 0.12); }
.fp-svc-t2:hover { border-color: #a5b4fc; border-top-color: #4f46e5 !important; box-shadow: 0 2px 10px rgba(79, 70, 229, 0.12); }
.fp-svc-t3:hover { border-color: #fcd34d; border-top-color: #d97706 !important; box-shadow: 0 2px 10px rgba(217, 119, 6, 0.12); }

.fp-svc.on {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 2px 10px rgba(15, 23, 42, 0.08);
}
.fp-svc-t0.on {
  border-color: #2563eb !important;
  background: #dbeafe !important;
}
.fp-svc-t1.on {
  border-color: #16a34a !important;
  background: #bbf7d0 !important;
}
.fp-svc-t2.on {
  border-color: #4f46e5 !important;
  background: #c7d2fe !important;
}
.fp-svc-t3.on {
  border-color: #d97706 !important;
  background: #fde68a !important;
}
.fp-svc-t0 input { accent-color: #2563eb; }
.fp-svc-t1 input { accent-color: #16a34a; }
.fp-svc-t2 input { accent-color: #4f46e5; }
.fp-svc-t3 input { accent-color: #d97706; }
.fp-svc-t0 .fp-svc-toggle { color: #1d4ed8; }
.fp-svc-t1 .fp-svc-toggle { color: #15803d; }
.fp-svc-t2 .fp-svc-toggle { color: #4338ca; }
.fp-svc-t3 .fp-svc-toggle { color: #b45309; }
.fp-svc input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--fp-primary);
  flex-shrink: 0;
}
.fp-svc-body { flex: 1; min-width: 0; }
.fp-svc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.fp-svc .name {
  display: block;
  font-weight: 650;
  font-size: 0.9rem;
  line-height: 1.35;
}
.fp-svc-price {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  font-size: 0.88rem;
}
.fp-svc-price .old {
  display: block;
  text-decoration: line-through;
  color: var(--fp-soft);
  font-size: 0.72rem;
  font-weight: 550;
  line-height: 1.2;
}
.fp-svc-price .new {
  color: var(--fp-green);
  font-weight: 750;
}
.fp-svc .meta {
  display: block;
  font-size: 0.75rem;
  color: var(--fp-muted);
  margin-top: 0.2rem;
  font-weight: 550;
}
.fp-svc .meta .old { text-decoration: line-through; color: var(--fp-soft); margin-right: 0.35rem; }
.fp-svc .meta .new { color: var(--fp-green); font-weight: 700; }

.fp-svc-popis {
  display: block;
  margin-top: 0.55rem;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.45;
  white-space: pre-line;
}
.fp-svc-popis[hidden] { display: none !important; }
.fp-svc.on .fp-svc-popis {
  background: rgba(255, 255, 255, 0.72);
  border-color: #dbeafe;
}
.fp-svc-toggle {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--fp-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.fp-svc-toggle:hover { text-decoration: underline; }

.fp-svc-summary {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: var(--fp-primary-soft);
  color: var(--fp-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.fp-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.fp-slot {
  padding: 0.55rem 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--fp-border);
  background: #fff;
  color: var(--fp-text);
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
  text-align: center;
}
.fp-slot:hover { border-color: #93c5fd; }
.fp-slot.active {
  background: var(--fp-primary);
  color: #fff;
  border-color: transparent;
}
.fp-slot:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 520px) {
  .fp-rez-contact { grid-template-columns: 1fr; }
  .fp-svc-top { flex-direction: column; gap: 0.25rem; }
  .fp-svc-price { text-align: left; }
}

.fp-mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fp-border);
  padding: 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.fp-mobile-bar strong { font-size: 0.9rem; }
.fp-burger {
  border: 1px solid var(--fp-border);
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.fp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 45;
}
.fp-overlay.on { display: block; }

@media (max-width: 1100px) {
  .fp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .fp-mobile-bar { display: flex; }
  .fp-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 8px 0 24px rgba(15, 23, 42, 0.12);
  }
  .fp-sidebar.open { transform: translateX(0); }
  .fp-main { padding: 1rem 1rem 2rem; }
  .fp-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .fp-stats { grid-template-columns: 1fr; }
  .fp-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-hero h1 { font-size: 1.35rem; }
}
