/* ================================================
   LIMO BOOKING FORM — Hello Elementor Compatible
   Modern & Clean Design
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
}

.limo-booking-wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #333333;
  border-radius: 8px;
  padding: 40px;
  max-width: 1000px;
  margin: 30px auto;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* ── Progress ── */
.limo-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.limo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  flex: 1;
}

.limo-step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  background: #f5f5f5;
  transition: all 0.3s ease;
  position: relative;
}

.limo-step.active .limo-step-dot,
.limo-step.completed .limo-step-dot {
  border-color: #9E1B1E;
  background: #9E1B1E;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(158, 27, 30, 0.1);
}

.limo-step.completed .limo-step-dot::after {
  content: '✓';
  font-size: 16px;
}

.limo-step.completed .limo-step-dot span {
  display: none;
}

.limo-step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  white-space: nowrap;
  font-weight: 500;
}

.limo-step.active .limo-step-label {
  color: #9E1B1E;
  font-weight: 600;
}

.limo-step-line {
  flex: 1;
  height: 2px;
  background: #ddd;
  margin: 0 8px;
  margin-bottom: 26px;
  transition: background 0.3s;
}

.limo-step-line.active {
  background: #9E1B1E;
}

/* ── Grid Layouts ── */
.limo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.limo-grid-2-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.limo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.limo-map-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Fields ── */
.limo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.limo-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555;
  font-weight: 600;
}

.limo-label .req {
  color: #9E1B1E;
}

.limo-optional {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.limo-input-wrap {
  position: relative;
}

.limo-input,
.limo-select,
.limo-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  font-family: inherit;
  font-size: 13px;
  padding: 11px 14px;
  padding-right: 38px;
  transition: all 0.2s ease;
  outline: none;
}

.limo-input:focus,
.limo-select:focus,
.limo-textarea:focus {
  border-color: #9E1B1E;
  box-shadow: 0 0 0 2px rgba(158, 27, 30, 0.08);
}

.limo-input::placeholder {
  color: #aaa;
}

.limo-input[type="date"],
.limo-input[type="time"] {
  color-scheme: light;
}

.limo-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: #999;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.limo-select-wrap {
  position: relative;
}

.limo-select {
  padding-right: 38px;
  appearance: none;
  cursor: pointer;
}

.limo-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  stroke: #999;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.limo-textarea {
  resize: vertical;
  min-height: 85px;
  padding-right: 14px;
}

/* ── Min Hours Notice ── */
#limo-min-hours-notice {
  color: #9E1B1E;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  display: block !important;
}

/* ── Map ── */
.limo-map {
  width: 100%;
  height: 240px;
  border-radius: 4px;
  border: 1px solid #ddd;
  overflow: hidden;
  background: #f9f9f9;
}

.limo-map-hint {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin-top: 6px;
}

/* ── Distance Panel ── */
.limo-distance-panel {
  display: flex;
  gap: 18px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 13px 16px;
  margin-top: 12px;
}

.limo-distance-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #666;
  flex: 1;
}

.limo-distance-item svg {
  width: 14px;
  height: 14px;
  stroke: #9E1B1E;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.limo-price-preview {
  color: #333;
  font-weight: 500;
}

.limo-price-preview strong {
  color: #9E1B1E;
  font-size: 13px;
  font-weight: 700;
}

/* ── Counters ── */
.limo-counters-row {
  margin: 20px 0;
}

.limo-counter-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.limo-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.limo-counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  border: 1px solid #ddd;
  background: #ffffff;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 16px;
}

.limo-counter-btn:hover {
  border-color: #9E1B1E;
  background: #9E1B1E;
  color: #ffffff;
}

.limo-counter-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.limo-counter-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.limo-counter-icon {
  width: 18px;
  height: 18px;
  stroke: #9E1B1E;
  fill: none;
  stroke-width: 1.8;
}

.limo-counter-input {
  width: 42px;
  text-align: center;
  background: none;
  border: none;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  outline: none;
}

/* ── Vehicles ── */
.limo-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.limo-vehicle-card {
  cursor: pointer;
}

.limo-vehicle-card input {
  display: none;
}

.limo-vehicle-inner {
  background: #ffffff;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  position: relative;
  text-align: center;
}

.limo-vehicle-card:hover .limo-vehicle-inner,
.limo-vehicle-card.selected .limo-vehicle-inner {
  border-color: #9E1B1E;
  box-shadow: 0 2px 8px rgba(158, 27, 30, 0.1);
}

.limo-vehicle-card.selected .limo-vehicle-inner {
  background: #fff9f9;
}

.limo-vehicle-icon svg {
  width: 50px;
  height: 36px;
  stroke: #9E1B1E;
  opacity: 0.75;
}

.limo-vehicle-card.selected .limo-vehicle-icon svg {
  opacity: 1;
}

.limo-vehicle-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.limo-vehicle-cap {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #999;
}

.limo-vehicle-cap svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.limo-vehicle-extra {
  font-size: 11px;
  color: #9E1B1E;
  font-weight: 600;
}

.limo-vehicle-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #9E1B1E;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}

.limo-vehicle-card.selected .limo-vehicle-check {
  opacity: 1;
  transform: scale(1);
}

.limo-vehicle-check svg {
  width: 11px;
  height: 11px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.5;
}

/* ── Confirm Summary ── */
.limo-confirm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
}

.limo-confirm-header svg {
  width: 26px;
  height: 26px;
  stroke: #9E1B1E;
  fill: none;
  stroke-width: 2;
}

.limo-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.limo-summary-item {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 13px;
}

.limo-summary-item.full {
  grid-column: 1 / -1;
}

.limo-summary-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 5px;
  font-weight: 600;
}

.limo-summary-value {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.limo-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.limo-total-amount {
  font-size: 26px;
  color: #9E1B1E;
  font-weight: 700;
}

.limo-disclaimer {
  font-size: 11px;
  color: #999;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── Navigation Buttons ── */
.limo-step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  gap: 12px;
}

.limo-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 28px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.limo-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.limo-btn-next,
.limo-btn-submit {
  background: #9E1B1E;
  color: #ffffff;
}

.limo-btn-next:hover,
.limo-btn-submit:hover {
  background: #7d1318;
  box-shadow: 0 2px 6px rgba(158, 27, 30, 0.15);
  transform: translateY(-1px);
}

.limo-btn-back {
  background: transparent;
  color: #999;
  border: 1px solid #ddd;
}

.limo-btn-back:hover {
  color: #333;
  border-color: #333;
  background: #f5f5f5;
}

/* ── Success ── */
.limo-success {
  text-align: center;
  padding: 50px 30px;
  animation: limo-fade-up 0.5s ease;
}

.limo-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(158, 27, 30, 0.08);
  border: 2px solid #9E1B1E;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.limo-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: #9E1B1E;
  fill: none;
  stroke-width: 2;
}

.limo-success h2 {
  font-size: 28px;
  margin: 0 0 10px;
  color: #333;
  font-weight: 700;
}

.limo-success p {
  color: #999;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ── Loader ── */
.limo-loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 8px;
  z-index: 100;
}

.limo-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #ddd;
  border-top-color: #9E1B1E;
  border-radius: 50%;
  animation: limo-spin 0.8s linear infinite;
}

.limo-loader p {
  color: #999;
  font-size: 13px;
  font-weight: 500;
}

/* ── Google Autocomplete dropdown ── */
.pac-container {
  background: #ffffff !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  font-family: inherit !important;
  margin-top: 2px;
}

.pac-item {
  padding: 8px 12px !important;
  color: #333 !important;
  border-top: 1px solid #eee !important;
  font-size: 12px !important;
}

.pac-item:hover {
  background: #f5f5f5 !important;
}

.pac-item-query {
  color: #333 !important;
  font-size: 12px !important;
}

.pac-matched {
  color: #9E1B1E !important;
  font-weight: 600;
}

.pac-icon {
  filter: brightness(0.8) hue-rotate(350deg);
}

/* ── Animations ── */
@keyframes limo-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes limo-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.limo-form-step {
  animation: limo-fade-up 0.35s ease;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .limo-booking-wrap {
    padding: 24px 16px;
  }

  .limo-grid-2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .limo-grid-3 {
    grid-template-columns: 1fr;
  }

  .limo-map {
    height: 180px;
  }

  .limo-step-label {
    font-size: 9px;
  }

  .limo-summary-grid {
    grid-template-columns: 1fr;
  }

  .limo-distance-panel {
    flex-direction: column;
    gap: 10px;
  }

  .limo-counters-row {
    gap: 12px;
  }

  .limo-step-nav {
    flex-direction: column-reverse;
  }

  .limo-btn {
    width: 100%;
    justify-content: center;
  }
}
