/* ==========================================================================
   G&G TAXI - Streamlined Luxury Booking Engine Styles
   ========================================================================== */

.booking-widget-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg), 0 0 30px var(--brand-gold-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  max-width: 960px;
  margin: 18px auto 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.booking-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.booking-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.booking-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* Trip Type Tabs (One-way / Round-trip) */
.trip-type-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
}

[data-theme="light"] .trip-type-tabs {
  background: #E2E8F0;
}

.trip-tab-btn {
  padding: 7px 16px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.trip-tab-btn.active {
  background: var(--brand-gold-bright);
  color: #080B11;
}

[data-theme="light"] .trip-tab-btn.active {
  color: #FFFFFF;
}

/* Quick Popular Chips Bar */
.quick-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.quick-chips-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.quick-chip {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

[data-theme="light"] .quick-chip {
  background: #F1F5F9;
  border-color: #E2E8F0;
}

.quick-chip:hover {
  background: var(--brand-gold-light);
  border-color: var(--border-gold);
  color: var(--brand-gold-bright);
  transform: translateY(-1px);
}

/* Locations Row (Select Dropdowns) */
.locations-inputs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-departure {
  background: var(--brand-gold-bright);
  box-shadow: 0 0 6px var(--brand-gold-bright);
}

.dot-arrival {
  background: var(--wa-green);
  box-shadow: 0 0 6px var(--wa-green);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.input-icon-left.amber {
  color: var(--brand-gold-bright);
}

.input-icon-left.green {
  color: var(--wa-green);
}

/* Form Select & Inputs */
.form-select,
.form-input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-select option {
  background: #0E131F;
  color: #FFFFFF;
}

[data-theme="light"] .form-select option {
  background: #FFFFFF;
  color: #0F172A;
}

.form-select:focus,
.form-input:focus {
  border-color: var(--brand-gold-bright);
  box-shadow: 0 0 0 3px var(--brand-gold-light);
}

/* Swap Locations Button */
.btn-swap-locations {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--brand-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  transition: all var(--transition-fast);
}

[data-theme="light"] .btn-swap-locations {
  background: #FFFFFF;
  border-color: #CBD5E1;
}

.btn-swap-locations:hover {
  background: var(--brand-gold-bright);
  color: #080B11;
  transform: rotate(180deg);
}

/* Date & Time Row (24h) */
.booking-datetime-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.7fr;
  align-items: end;
  gap: 14px;
  margin-bottom: 20px;
}

.time-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

/* Custom 24-Hour Stepper Box (Direct Input + Arrows, No Browser Wheel Popup) */
.custom-24h-time-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.time-24h-input {
  width: 100%;
  padding: 13px 38px 13px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: left;
}

.time-stepper-controls {
  position: absolute;
  right: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
}

.btn-time-step {
  width: 24px;
  height: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--brand-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

[data-theme="light"] .btn-time-step {
  background: #E2E8F0;
  border-color: #CBD5E1;
  color: #B45309;
}

.btn-time-step:hover {
  background: var(--brand-gold-bright);
  color: #080B11;
  transform: scale(1.08);
}

[data-theme="light"] .btn-time-step:hover {
  color: #FFFFFF;
}

.btn-asap-badge {
  padding: 0 14px;
  background: var(--brand-gold-light);
  border: 1px solid var(--border-gold);
  color: var(--brand-gold-bright);
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-asap-badge:hover,
.btn-asap-badge.active-asap {
  background: var(--brand-gold-bright);
  color: #080B11;
}

[data-theme="light"] .btn-asap-badge.active-asap {
  color: #FFFFFF;
}

/* Capacity Note (Max 4 passengers) */
.capacity-note-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}

.pax-capacity-badge {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="light"] .pax-capacity-badge {
  background: #F8FAFC;
}

.pax-icon {
  font-size: 1.15rem;
}

.pax-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Estimation Summary Panel */
.calc-summary-panel {
  background: linear-gradient(135deg, var(--bg-surface-elevated), var(--bg-card));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Long-Distance Discount Callout (>100 km) */
.calc-discount-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(245, 158, 11, 0.14) 100%);
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.15);
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.discount-callout-icon {
  font-size: 1.2rem;
}

.discount-callout-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: #4ADE80;
}

[data-theme="light"] .discount-callout-text {
  color: #15803D;
}

.calc-metrics-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.metric-box {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.price-metric-box {
  min-width: 140px;
}

.price-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.tariff-pill-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tariff-pill-tag.day {
  background: rgba(245, 158, 11, 0.15);
  color: var(--brand-gold-bright);
  border: 1px solid var(--border-gold);
}

.tariff-pill-tag.night {
  background: rgba(168, 85, 247, 0.2);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.price-display-wrapper {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.original-price-strike {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.8;
}

.price-metric-box .metric-value {
  font-size: 1.9rem;
  color: var(--brand-gold-bright);
}

.savings-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: #4ADE80;
  font-weight: 700;
}

[data-theme="light"] .savings-tag {
  color: #15803D;
}

/* Booking Actions */
.calc-actions-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.btn-book-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--wa-green);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-normal);
}

.btn-book-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-book-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

[data-theme="light"] .btn-book-call {
  background: #FFFFFF;
  border-color: #CBD5E1;
}

.btn-book-call:hover {
  background: var(--brand-gold-light);
  border-color: var(--border-gold);
  color: var(--brand-gold-bright);
}
