.tp-booking {
  padding: 1.5rem 1rem 3rem;
  min-height: calc(100vh - var(--tp-header-h));
}

.tp-booking__card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 1.5rem;
}

.tp-booking__title {
  font-family: var(--tp-font-heading);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  text-align: center;
}

.tp-booking__subtitle {
  text-align: center;
  color: var(--tp-text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.tp-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.tp-step-indicator {
  flex: 1;
  min-width: 4rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--tp-text-muted);
  padding: 0.35rem 0.25rem;
  border: none;
  border-bottom: 2px solid var(--tp-border);
  background: none;
  font: inherit;
  cursor: pointer;
  border-radius: 0;
}

.tp-step-indicator.is-active,
.tp-step-indicator.is-done {
  color: var(--tp-primary);
  border-color: var(--tp-primary);
  font-weight: 600;
}

.tp-step-indicator.is-locked,
.tp-step-indicator:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  color: var(--tp-text-muted);
  border-color: var(--tp-border);
  font-weight: 400;
}

.tp-step-indicator.is-active {
  opacity: 1;
  color: var(--tp-primary);
  border-color: var(--tp-primary);
  font-weight: 600;
  cursor: default;
}

.tp-steps--skip-prof .tp-step-indicator[data-step="2"] {
  display: none;
}

.tp-step-indicator.is-done:not(:disabled):not(.is-locked) {
  cursor: pointer;
}

.tp-step-indicator:focus-visible {
  outline: 2px solid var(--tp-primary);
  outline-offset: 2px;
}

.tp-step-panel {
  display: none;
}

.tp-step-panel.is-active {
  display: block;
}

.tp-form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.tp-form-control {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  background: var(--tp-bg);
  color: var(--tp-text);
  font: inherit;
  margin-bottom: 1rem;
}

.tp-prof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .tp-prof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tp-prof-card {
  border: 2px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  background: var(--tp-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tp-prof-card.is-selected {
  border-color: var(--tp-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tp-primary) 25%, transparent);
}

.tp-prof-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.tp-prof-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}

.tp-schedule-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tp-schedule-slot {
  min-width: 4.5rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--tp-border);
  border-radius: var(--tp-radius);
  background: color-mix(in srgb, var(--tp-text) 10%, var(--tp-surface));
  color: var(--tp-text);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
}

.tp-schedule-slot:hover:not(:disabled) {
  border-color: var(--tp-primary);
}

.tp-schedule-slot.is-selected {
  background: var(--tp-primary);
  border-color: var(--tp-primary);
  color: #fff;
}

.tp-schedule-slot:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  color: var(--tp-text-muted);
  background: color-mix(in srgb, var(--tp-text-muted) 15%, var(--tp-surface));
}

.tp-booking__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.tp-booking__actions .tp-btn {
  flex: 1;
}

.tp-btn--ghost {
  background: transparent;
  border: 1px solid var(--tp-border);
  color: var(--tp-text);
}

.tp-alert {
  padding: 0.875rem 1rem;
  border-radius: var(--tp-radius);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.tp-alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.tp-alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.tp-booking-summary {
  background: color-mix(in srgb, var(--tp-primary) 8%, var(--tp-surface));
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.tp-booking-summary p {
  margin: 0.35rem 0;
}
