/* Home booking wizard — works standalone (file://) and on citaxi.in */
.book-section {
  --book-ink: #000000;
  --book-sub: #8a8a8a;
  --book-fill: #f5f5f4;
  --book-line: #e8e8e6;
  --book-surface: #ffffff;
  --book-card-h: 540px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #fafaf9 0%, #ffffff 42%);
  padding: 56px 24px 72px;
  border-top: 1px solid var(--book-line);
}
.book-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.book-intro {
  max-width: 720px;
  margin-bottom: 8px;
}
.book-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1.05fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
  min-height: var(--book-card-h);
}
.book-split-left {
  min-width: 0;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: var(--book-card-h);
}
.book-split-right {
  min-width: 0;
  height: var(--book-card-h);
  max-height: var(--book-card-h);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
  isolation: isolate;
  box-sizing: border-box;
}
.book-wizard-panel {
  background: var(--book-surface);
  border: 1px solid var(--book-line);
  border-radius: 20px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  box-sizing: border-box;
  height: var(--book-card-h);
  min-height: var(--book-card-h);
  max-height: var(--book-card-h);
  display: flex;
  flex-direction: column;
}
.book-wizard-panel .book-dots-wrap {
  flex-shrink: 0;
}
.book-wizard-panel .book-slide {
  flex: 1 1 0;
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--book-line) transparent;
}
.book-wizard-panel .book-slide::-webkit-scrollbar {
  width: 5px;
}
.book-wizard-panel .book-slide::-webkit-scrollbar-thumb {
  background: var(--book-line);
  border-radius: 4px;
}
@keyframes book-slide-in-forward {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes book-slide-in-back {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.book-wizard-panel .book-slide.is-slide-forward {
  animation: book-slide-in-forward 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.book-wizard-panel .book-slide.is-slide-back {
  animation: book-slide-in-back 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .book-wizard-panel .book-slide.is-slide-forward,
  .book-wizard-panel .book-slide.is-slide-back {
    animation: none;
  }
}
.book-map {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--book-line);
  background: #eeede8;
  overflow: hidden;
  z-index: 0;
}
.book-wizard-panel .book-q-title {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 6px;
}
.book-wizard-panel .book-q-lead {
  font-size: 14px;
  margin-bottom: 12px;
}
.book-wizard-panel .book-dots-wrap {
  margin-bottom: 12px;
}
.book-wizard-panel .book-vehicle-photos {
  height: 48px;
  margin-bottom: 4px;
}
.book-wizard-panel .book-consent-panel {
  margin-top: 12px;
  padding: 12px;
}
.book-wizard-panel .book-fare-value {
  font-size: 24px;
}
.book-map-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--book-sub);
  margin: 0;
  padding: 0 4px;
}
.book-map-pin {
  background: transparent !important;
  border: none !important;
}
/* Bubble step progress — matches Android HomeRequestWizard dots */
.book-dots-wrap {
  margin: 0 0 18px;
}
.book-dots-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.book-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--book-line);
  transition: width 0.2s ease, background 0.2s ease;
}
.book-dot.is-done {
  background: var(--book-ink);
}
.book-dot.is-active {
  width: 18px;
  background: var(--book-ink);
}
.book-dots-caption {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--book-ink);
  letter-spacing: -0.01em;
}
.book-when-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.book-when-chip {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--book-line);
  background: var(--book-fill);
  color: var(--book-ink);
  cursor: pointer;
}
.book-when-chip.is-on {
  background: var(--book-ink);
  border-color: var(--book-ink);
  color: #fff;
}
.book-when-summary {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--book-sub);
}
.book-audience-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.book-audience-btn {
  width: 100%;
}
.book-consent-panel {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--book-line);
  background: var(--book-fill);
}
.book-consent-why {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--book-sub);
}
.book-consent-why strong {
  color: var(--book-ink);
  font-weight: 700;
}
.book-consent-notice {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--book-ink);
  font-weight: 600;
}
.book-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.book-consent-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: #000000;
  cursor: pointer;
}
.book-consent-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--book-ink);
}
.book-schedule-block {
  margin-top: 16px;
  position: relative;
  z-index: 20;
}
.book-schedule-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.book-schedule-field {
  margin-bottom: 0;
}
.book-schedule-control {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 12px;
  min-height: 52px;
  background-color: #ffffff;
  border: 1px solid var(--book-line);
  border-radius: 14px;
  box-sizing: border-box;
}
.book-schedule-control:focus-within {
  border-color: var(--book-ink);
  box-shadow: 0 0 0 1px var(--book-ink);
}
.book-schedule-icon {
  position: static;
  transform: none;
  color: var(--book-ink);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: auto;
}
.book-schedule-date,
.book-schedule-time {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #000000;
  -webkit-text-fill-color: #000000;
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 0;
  outline: none;
  min-height: 48px;
  color-scheme: light;
}
.book-schedule-date:focus,
.book-schedule-time:focus {
  box-shadow: none;
}
.book-schedule-date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.85;
  margin-right: 2px;
}
.book-schedule-date::-webkit-datetime-edit {
  padding: 0;
}
.book-schedule-date::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
.book-schedule-time {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 28px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23000000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px 18px;
}
.book-section .book-map {
  z-index: 1;
}
.book-schedule-time option {
  color: #000000;
  font-weight: 600;
  font-size: 16px;
}
.book-schedule-time option:disabled {
  color: #9a9a95;
}
.book-schedule-field label {
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.02em;
  text-transform: none;
}
.book-vehicle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.book-vehicle-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 10px 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--book-line);
  background: var(--book-fill);
  color: var(--book-ink);
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.book-vehicle-card.is-on {
  background: var(--book-ink);
  border-color: var(--book-ink);
  color: #fff;
}
.book-vehicle-photos {
  display: flex;
  gap: 4px;
  width: 100%;
  height: 56px;
  margin-bottom: 6px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.book-vehicle-photos--single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-vehicle-photos img {
  flex: 1;
  width: 0;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #fff;
}
.book-vehicle-examples {
  font-size: 10px;
  font-weight: 600;
  color: var(--book-sub);
  text-align: center;
  margin-bottom: 6px;
  line-height: 1.3;
}
.book-vehicle-card.is-on .book-vehicle-examples {
  color: rgba(255, 255, 255, 0.78);
}
.book-vehicle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.book-vehicle-title {
  font-size: 13px;
  font-weight: 700;
  flex: 1 1 auto;
  min-width: 0;
}
.book-vehicle-fare {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  color: var(--book-ink);
  line-height: 1.2;
  min-width: 4.5rem;
  text-align: right;
}
.book-vehicle-fare.is-loading {
  opacity: 0.45;
}
.book-vehicle-card.is-on .book-vehicle-fare {
  color: #fff;
}
.book-vehicle-card.is-on .book-vehicle-fare.is-loading {
  opacity: 0.65;
}
.book-vehicle-rate {
  font-size: 11px;
  font-weight: 500;
  color: var(--book-sub);
}
.book-vehicle-card.is-on .book-vehicle-rate {
  color: rgba(255, 255, 255, 0.72);
}
.book-q-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--book-ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.book-q-lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--book-sub);
  margin: 0 0 18px;
}
.book-q-lead strong {
  color: var(--book-ink);
  font-weight: 600;
}
.book-input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 15px;
  color: var(--book-ink);
  background: var(--book-fill);
  border: 1px solid var(--book-line);
  border-radius: 12px;
  padding: 12px 14px;
}
.book-input::placeholder {
  color: var(--book-sub);
}
.book-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--book-line);
  background: var(--book-fill);
  color: var(--book-ink);
  transition: border-color 0.15s, background 0.15s;
}
.book-choice-btn strong {
  font-size: 15px;
  font-weight: 700;
}
.book-choice-btn span {
  font-size: 13px;
  color: var(--book-sub);
  line-height: 1.4;
}
.book-choice-btn.is-on {
  background: var(--book-ink);
  border-color: var(--book-ink);
  color: #fff;
}
.book-choice-btn.is-on span {
  color: rgba(255, 255, 255, 0.78);
}
.book-pax-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.book-pax-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--book-line);
  background: var(--book-fill);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--book-ink);
}
.book-pax-btn.is-on {
  background: var(--book-ink);
  color: #fff;
  border-color: var(--book-ink);
}
.book-luggage-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.book-mini-summary {
  font-size: 14px;
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  color: var(--book-sub);
}
.book-mini-summary dt {
  font-weight: 600;
  color: var(--book-ink);
}
.book-mini-summary dd {
  margin: 0;
}
.book-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--book-sub);
  margin-bottom: 10px;
}
.book-intro h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--book-ink);
  margin: 0 0 12px;
}
.book-intro h2 em {
  font-style: normal;
  color: var(--book-ink);
}
.book-intro p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--book-sub);
  margin: 0;
}
.book-wizard {
  background: var(--book-surface);
  border: 1px solid var(--book-line);
  border-radius: 20px;
  padding: 22px 20px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  overflow: visible;
}
.book-panel {
  overflow: visible;
}
.book-route > div:last-child {
  overflow: visible;
  min-width: 0;
}
.book-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.book-steps li {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--book-sub);
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--book-fill);
  border: 1px solid var(--book-line);
  text-align: center;
}
.book-steps li.is-active {
  background: var(--book-ink);
  color: #fff;
  border-color: var(--book-ink);
}
.book-steps li.is-done {
  color: var(--book-ink);
  border-color: rgba(0, 0, 0, 0.2);
}
.book-panel[hidden] {
  display: none !important;
}
.book-group {
  margin-bottom: 18px;
}
.book-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--book-ink);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.book-group-title svg {
  flex-shrink: 0;
  opacity: 0.85;
}
.book-trust {
  font-size: 14px;
  line-height: 1.6;
  color: var(--book-sub);
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--book-fill);
  border-radius: 12px;
  border: 1px solid var(--book-line);
}
.book-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.book-choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.book-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.book-choice-box {
  display: block;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--book-line);
  background: var(--book-fill);
  transition: border-color 0.15s, background 0.15s;
}
.book-choice input:checked + .book-choice-box {
  border-color: var(--book-ink);
  background: #fff;
  box-shadow: 0 0 0 1px var(--book-ink);
}
.book-choice-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--book-ink);
  margin-bottom: 4px;
}
.book-choice-hint {
  font-size: 12px;
  line-height: 1.45;
  color: var(--book-sub);
}
.book-route {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0 12px;
}
.book-route-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
}
.book-dot-filled {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--book-ink);
}
.book-route-line {
  flex: 1;
  width: 2px;
  min-height: 36px;
  background: var(--book-line);
  margin: 6px 0;
}
.book-dot-outline {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--book-ink);
  background: #fff;
}
.book-field {
  margin-bottom: 10px;
}
.book-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--book-sub);
  margin-bottom: 6px;
}
.book-field input,
.book-field select {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 15px;
  color: var(--book-ink);
  background: var(--book-fill);
  border: 1px solid var(--book-line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.book-field input:focus,
.book-field select:focus {
  border-color: var(--book-ink);
  background: #fff;
}
.book-field input::placeholder {
  color: #9a9a95;
}
.book-place-wrap {
  position: relative;
}
.book-place-suggestions {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% - 4px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--book-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  max-height: 240px;
  overflow-y: auto;
}
.book-place-suggestions[hidden] {
  display: none !important;
}
.book-place-suggestion {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.book-place-suggestion:hover,
.book-place-suggestion.is-active {
  background: var(--book-fill);
}
.book-place-main {
  grid-column: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--book-ink);
}
.book-place-secondary {
  grid-column: 1;
  font-size: 12px;
  color: var(--book-sub);
  line-height: 1.35;
}
.book-place-dist {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--book-sub);
  white-space: nowrap;
}
.book-place-hint {
  font-size: 11px;
  color: var(--book-sub);
  margin: 6px 0 0;
  line-height: 1.4;
}
.book-chips-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--book-sub);
  margin: 14px 0 8px;
}
.book-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.book-chip {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--book-ink);
  background: var(--book-fill);
  border: 1px solid var(--book-line);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.book-chip:hover {
  border-color: var(--book-ink);
}
.book-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.book-luggage-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.book-luggage-opt {
  position: relative;
  cursor: pointer;
}
.book-luggage-opt input {
  position: absolute;
  opacity: 0;
}
.book-luggage-box {
  display: block;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1.5px solid var(--book-line);
  background: var(--book-fill);
  min-height: 72px;
}
.book-luggage-opt input:checked + .book-luggage-box {
  border-color: var(--book-ink);
  background: #fff;
}
.book-luggage-box strong {
  display: block;
  font-size: 12px;
  color: var(--book-ink);
  margin-bottom: 4px;
}
.book-luggage-box span {
  font-size: 10px;
  line-height: 1.35;
  color: var(--book-sub);
}
.book-share-audience {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--book-line);
}
.book-share-audience[hidden] {
  display: none !important;
}
.book-review-summary {
  font-size: 14px;
  line-height: 1.65;
  color: var(--book-ink);
  margin-bottom: 16px;
}
.book-review-summary p {
  margin: 0 0 8px;
}
.book-fare-box {
  background: var(--book-fill);
  border: 1px solid var(--book-line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.book-fare-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--book-sub);
  margin-bottom: 4px;
}
.book-fare-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--book-ink);
}
.book-fare-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--book-sub);
  margin-top: 8px;
}
.book-wizard-panel .book-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--book-line);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: var(--book-surface);
}
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--book-line);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: var(--book-surface);
}
.book-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.book-btn-primary {
  background: var(--book-ink);
  color: #fff;
  flex: 1 1 auto;
}
.book-btn-primary:hover {
  opacity: 0.92;
}
.book-btn-secondary {
  background: var(--book-fill);
  color: var(--book-ink);
  border: 1px solid var(--book-line);
}
.book-btn-ghost {
  background: #fff;
  color: var(--book-ink);
  border: 1px solid var(--book-line);
}
.book-btn-ghost[hidden] {
  display: none !important;
}
.book-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.book-confirm-hint {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--book-sub);
}
.book-confirm-hint strong {
  color: var(--book-ink);
  font-weight: 700;
}
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.book-modal-scrim {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.72);
  cursor: default;
}
.book-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid var(--book-line);
  border-radius: 16px;
  padding: 22px 20px 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}
.book-modal-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--book-ink);
}
.book-modal-body {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--book-ink);
}
.book-modal-body strong {
  font-weight: 700;
}
.book-modal-sub {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--book-sub);
}
.book-modal-ride-id {
  font-weight: 600;
  color: var(--book-sub);
}
.book-login-hint {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--book-fill);
  border: 1px solid var(--book-line);
}
.book-login-hint-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--book-ink);
}
.book-login-hint-line {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--book-ink);
}
.book-login-hint-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--book-sub);
}
.book-btn-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}
.book-btn-play:hover {
  opacity: 0.92;
}
.book-phone-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--book-line);
  border-radius: 12px;
  background: var(--book-fill);
  overflow: hidden;
}
.book-phone-prefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--book-ink);
  border-right: 1px solid var(--book-line);
  background: var(--book-surface);
}
.book-phone-input {
  flex: 1 1 0;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.book-phone-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--book-sub);
}
.book-modal-actions {
  display: flex;
  gap: 10px;
}
.book-modal-actions .book-btn-primary {
  flex: 1 1 100%;
  width: 100%;
}
.book-modal-actions--split .book-btn-primary,
.book-modal-actions--split .book-btn-secondary {
  flex: 1 1 0;
  width: auto;
}
.book-join-section-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--book-sub);
}
.book-join-distance-lead {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--book-sub);
}
.book-join-distance-val {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 600;
  color: var(--book-ink);
}
.book-join-distance-val strong {
  font-weight: 800;
}
.book-join-slider {
  position: relative;
  padding: 8px 0 4px;
}
.book-join-range {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  height: 36px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.book-join-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.book-join-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid #ffffff;
  cursor: pointer;
}
.book-join-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 2px;
  background: var(--book-line);
  overflow: hidden;
  pointer-events: none;
}
.book-join-slider-fill {
  height: 100%;
  background: #000000;
  border-radius: 2px;
}
.book-join-slider-ends {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--book-sub);
  margin-top: 4px;
}
.book-join-ride-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.book-join-ride-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--book-line);
  background: var(--book-fill);
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.book-join-ride-card:hover {
  border-color: #000000;
}
.book-join-ride-route {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--book-ink);
}
.book-join-ride-from,
.book-join-ride-to {
  flex: 1 1 0;
  min-width: 0;
}
.book-join-ride-arrow {
  flex-shrink: 0;
  color: var(--book-sub);
}
.book-join-ride-when {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--book-sub);
}
.book-join-ride-meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--book-sub);
}
.book-join-empty {
  padding: 20px 16px;
  border-radius: 14px;
  border: 1px dashed var(--book-line);
  background: var(--book-fill);
  text-align: center;
}
.book-join-empty-msg {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--book-sub);
}
.book-join-book-own {
  width: 100%;
}
.book-join-skeleton {
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(90deg, #f5f5f4 0%, #ececea 50%, #f5f5f4 100%);
  background-size: 200% 100%;
  animation: book-join-shimmer 1.2s ease-in-out infinite;
  margin-bottom: 10px;
}
@keyframes book-join-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.book-join-modal-route {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--book-fill);
  border: 1px solid var(--book-line);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--book-ink);
}
.book-join-solo-hint {
  margin-bottom: 12px !important;
}
.book-ride-created-banner {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--book-line, #e8e8e6);
  background: #f5f5f4;
  color: #000000;
  font-size: 15px;
  line-height: 1.5;
  max-width: 640px;
}
.book-ride-created-banner strong {
  font-weight: 800;
}
.book-btn-wa {
  background: #111;
  color: #fff;
}
.book-btn-call {
  background: var(--book-fill);
  color: var(--book-ink);
  border: 1px solid var(--book-line);
}
.book-phone-side {
  position: sticky;
  top: 88px;
}
.book-phone-side .phone-frame {
  background: #0a0a0a;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}
.book-phone-side .phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: #fff;
}
.book-phone-caption {
  font-size: 12px;
  color: var(--book-sub);
  text-align: center;
  margin-top: 12px;
  line-height: 1.45;
}
.book-noscript {
  padding: 16px;
  background: var(--book-fill);
  border-radius: 12px;
  font-size: 14px;
  color: var(--book-sub);
}
@media (max-width: 900px) {
  .book-section {
    --book-card-h: min(520px, calc(100dvh - 220px));
  }
  .book-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .book-split-right {
    order: -1;
    height: auto;
    max-height: none;
  }
  .book-map {
    flex: none;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
  .book-wizard-panel {
    height: var(--book-card-h);
    min-height: var(--book-card-h);
    max-height: var(--book-card-h);
  }
  .book-vehicle-row {
    grid-template-columns: 1fr;
  }
  .book-schedule-row {
    grid-template-columns: 1fr;
  }
  .book-choice-grid,
  .book-row-2,
  .book-confirm-actions {
    grid-template-columns: 1fr;
  }
  .book-luggage-row {
    grid-template-columns: 1fr;
  }
}
