/*
 * Google Places Autocomplete renders suggestions in .pac-container (usually on body).
 * Many themes use high z-index on headers/sticky bars; without this, the list is visible
 * but clicks hit the layer behind and nothing can be selected.
 */
.pac-container {
  z-index: 2147483646 !important;
  pointer-events: auto !important;
}

.pac-item,
.pac-item-query {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.taxi-order-form-wrap {
  max-width: 32rem;
  width: min(100%, 32rem);
}

.taxi-order-form {
  display: grid;
  gap: 0.75rem;
}

.taxi-order-form__field {
  margin: 0;
}

.taxi-order-form__field input,
.taxi-order-form__field textarea {
  padding: 0.55rem;
}

.taxi-order-form__actions,
.taxi-order-form__submit {
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.taxi-order-form__actions .button {
  margin-bottom: 0;
}

.taxi-order-form__title {
  margin-top: 0;
}

.taxi-order-form__field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.taxi-order-form__hint {
  display: block;
  font-size: 0.85em;
  font-weight: normal;
  color: #50575e;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.taxi-order-form__fieldset {
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  padding: 0.75rem 1rem 0.5rem;
  margin: 0 0 1rem;
}

.taxi-order-form__legend {
  padding: 0 0.35rem;
  font-weight: 600;
}

.taxi-order-form__radio-row {
  margin: 0.35rem 0;
}

.taxi-order-form__radio-label {
  font-weight: normal;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.taxi-order-form__notice--error {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: #fcf0f1;
  border: 1px solid #d63638;
  border-radius: 4px;
  color: #1d2327;
}

.taxi-order-form__notice--info {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: #f0f8ff;
  border: 1px solid #0073aa;
  border-radius: 4px;
  color: #1d2327;
}

.taxi-order-form__field input,
.taxi-order-form__field textarea {
  width: 100%;
  box-sizing: border-box;
}

.taxi-order-form__actions,
.taxi-order-form__submit {
  margin: 1rem 0;
}

.taxi-order-form__route {
  padding: 0.75rem 1rem;
  background: #f0f0f1;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.taxi-order-form__route-line {
  margin: 0 0 0.5rem;
}

.taxi-order-form__route-line:last-child {
  margin-bottom: 0;
}

.taxi-order-form__route-price {
  font-size: 1.05em;
}

.taxi-order-form__price-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.85em;
  line-height: 1.4;
  color: #50575e;
}
