.booking-page {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 0, 255, 0.12),
      transparent 28%
    ),
    #080808;
}

.back-home-link {
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.back-home-link:hover {
  border-color: rgba(255, 0, 255, 0.45);
  background: var(--color-primary-soft);
  color: var(--color-text);
}

.booking-main {
  min-height: 100vh;
  padding-top: 76px;
}

.booking-hero {
  padding: 70px 0 45px;
  border-bottom: 1px solid var(--color-border);
}

.booking-hero h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.booking-hero > .container > p:last-child {
  max-width: 680px;
  color: var(--color-text-muted);
}

.booking-section {
  padding: 60px 0 100px;
}

.booking-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}

.booking-progress {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(14px);
}

.booking-progress ol {
  list-style: none;
}

.progress-item {
  position: relative;
  display: flex;
  gap: 15px;
  padding-bottom: 30px;
  color: var(--color-text-muted);
}

.progress-item:last-child {
  padding-bottom: 0;
}

.progress-item:not(:last-child)::after {
  position: absolute;
  top: 36px;
  bottom: 8px;
  left: 17px;
  width: 1px;
  background: var(--color-border);
  content: "";
}

.progress-item > span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  font-size: 0.82rem;
  font-weight: 700;
}

.progress-item strong {
  display: block;
  margin-bottom: 3px;
  color: inherit;
  font-size: 0.95rem;
}

.progress-item small {
  display: block;
  font-size: 0.77rem;
  line-height: 1.4;
}

.progress-item.is-active {
  color: var(--color-text);
}

.progress-item.is-active > span {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #080808;
  box-shadow: var(--shadow-primary);
}

.progress-item.is-complete > span {
  border-color: rgba(255, 0, 255, 0.65);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.booking-panel {
  min-height: 570px;
  padding: clamp(24px, 5vw, 50px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background:
    linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.01)
    ),
    var(--color-surface);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.booking-step[hidden] {
  display: none;
}

.booking-step-heading {
  margin-bottom: 35px;
}

.booking-step-heading > p {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.booking-step-heading h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
}

.booking-step-heading > span {
  display: block;
  max-width: 650px;
  color: var(--color-text-muted);
}

.category-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-option {
  position: relative;
  display: flex;
  min-height: 150px;
  cursor: pointer;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-surface-light);
  color: var(--color-text);
  text-align: left;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.category-option:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 0, 255, 0.4);
}

.category-option.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  box-shadow: var(--shadow-primary);
}

.category-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 0, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 0, 255, 0.08);
  color: var(--color-primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.category-option-content strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.category-option-content small {
  color: var(--color-text-muted);
}

.selection-indicator {
  position: absolute;
  top: 15px;
  right: 15px;
  display: none;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #080808;
  font-size: 0.8rem;
  font-weight: 800;
}

.category-option.is-selected .selection-indicator {
  display: inline-flex;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-group input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  outline: none;
  background: #0c0c0c;
  color: var(--color-text);
  font: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input::placeholder {
  color: #666666;
}

.form-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 0, 255, 0.1);
}

.form-group input.is-invalid {
  border-color: #ff5f5f;
}

.form-group small {
  display: block;
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.privacy-notice {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--color-text-muted);
  font-size: 0.83rem;
}

.booking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
  box-shadow: none;
}

.booking-message {
  margin-bottom: 24px;
  padding: 15px 18px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 0.9rem;
}

.booking-message.is-error {
  border-color: rgba(255, 95, 95, 0.5);
  background: rgba(255, 95, 95, 0.08);
  color: #ffbaba;
}

.booking-message.is-success {
  border-color: rgba(87, 214, 141, 0.5);
  background: rgba(87, 214, 141, 0.08);
  color: #a8f0c6;
}

.date-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.date-option,
.time-option {
  min-height: 85px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface-light);
  color: var(--color-text);
  font: inherit;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.date-option:hover,
.time-option:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 255, 0.4);
}

.date-option.is-selected,
.time-option.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.date-option strong {
  display: block;
  margin-bottom: 3px;
}

.date-option small {
  color: var(--color-text-muted);
}

.time-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.time-option {
  min-height: 52px;
}

.booking-summary {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
}

.booking-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
}

.booking-summary > div:last-child {
  border-bottom: 0;
}

.booking-summary dt {
  color: var(--color-text-muted);
}

.booking-summary dd {
  color: var(--color-primary);
  font-weight: 700;
  text-align: right;
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-progress {
    position: static;
    overflow-x: auto;
    padding: 20px;
  }

  .booking-progress ol {
    display: flex;
    min-width: 720px;
  }

  .progress-item {
    min-width: 145px;
    padding: 0 25px 0 0;
  }

  .progress-item:not(:last-child)::after {
    top: 17px;
    right: 8px;
    bottom: auto;
    left: 42px;
    width: auto;
    height: 1px;
  }

  .progress-item small {
    display: none;
  }
}

@media (max-width: 680px) {
  .booking-hero {
    padding-top: 50px;
  }

  .booking-section {
    padding-top: 35px;
  }

  .category-options {
    grid-template-columns: 1fr;
  }

  .date-options,
  .time-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .booking-actions .button {
    width: 100%;
  }

  .booking-actions > span {
    display: none;
  }
}
