/**
 * E-cab Taxi Booking Manager - Express Booking Styles (ATS Cab Modern Flow)
 * 
 * Includes:
 * 1. Floating Banner Search Widget with Outstation/Local tabs, City Chips, Phone Prefix
 * 2. Route Summary Headline & Dual Pricing Toggle ("Best Price" vs "Package Price")
 * 3. 3-Column Vehicle Cards with 50% OFF badge, strikethrough MRP, and Specs Checklist
 * 4. Date & Time Confirmation Modal
 * 5. Fill Contact Details Modal with GPS "Use My Location", Addons, GST, & Advance Pay CTA
 */

:root {
  --mptbm-exp-navy: #0c2340;
  --mptbm-exp-navy-dark: #071628;
  --mptbm-exp-blue: #0284c7;
  --mptbm-exp-blue-light: #e0f2fe;
  --mptbm-exp-gold: #f59e0b;
  --mptbm-exp-gold-light: #fef3c7;
  --mptbm-exp-gold-dark: #d97706;
  --mptbm-exp-teal: #0d9488;
  --mptbm-exp-green: #10b981;
  --mptbm-exp-red: #ef4444;
  --mptbm-exp-bg: #f8fafc;
  --mptbm-exp-card-bg: #ffffff;
  --mptbm-exp-border: #e2e8f0;
  --mptbm-exp-text: #0f172a;
  --mptbm-exp-muted: #64748b;
  --mptbm-exp-radius: 12px;
  --mptbm-exp-shadow: 0 10px 25px -5px rgba(12, 35, 64, 0.08), 0 8px 10px -6px rgba(12, 35, 64, 0.04);
}

.mptbm-exp-wrap * {
  box-sizing: border-box;
}

.mptbm-exp-wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--mptbm-exp-text);
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}

/* ==========================================================================
   1. SEARCH WIDGET CARD
   ========================================================================== */
.mptbm-exp-search-card {
  background: var(--mptbm-exp-card-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px -10px rgba(12, 35, 64, 0.15), 0 0 0 1px rgba(12, 35, 64, 0.05);
  max-width: 540px;
  margin: 20px auto;
  position: relative;
  z-index: 10;
}

/* Primary Tabs (Outstation vs Local/Airport) */
.mptbm-exp-tabs-nav {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
}

.mptbm-exp-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mptbm-exp-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-align: center;
}

.mptbm-exp-tab-btn.active {
  background: var(--mptbm-exp-navy);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(12, 35, 64, 0.2);
}

/* Direction Radio (Round Trip vs One Way) */
.mptbm-exp-radio-group {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 18px;
}

.mptbm-exp-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
}

.mptbm-exp-radio-label input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
  margin: 0;
  transition: border-color 0.2s;
}

.mptbm-exp-radio-label input[type="radio"]:checked {
  border-color: var(--mptbm-exp-navy);
  background: var(--mptbm-exp-navy);
  box-shadow: inset 0 0 0 3px #ffffff;
}

/* Location Inputs & Chips */
.mptbm-exp-form-group {
  margin-bottom: 14px;
  position: relative;
}

.mptbm-exp-input {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--mptbm-exp-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--mptbm-exp-text);
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mptbm-exp-input:focus {
  border-color: var(--mptbm-exp-navy);
  box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.1);
}

.mptbm-exp-chip-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 0;
}

.mptbm-exp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  max-width: 100%;
}

.mptbm-exp-chip-remove {
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 10px;
  transition: background 0.15s;
}

.mptbm-exp-chip-remove:hover {
  background: rgba(239, 68, 68, 0.85);
}

.mptbm-exp-chip-arrow {
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

/* + Add More City Button */
.mptbm-exp-btn-add-city {
  width: 100%;
  border: 1.5px solid #0f172a;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.mptbm-exp-btn-add-city:hover {
  background: #f8fafc;
}

/* Date / Time Display Box */
.mptbm-exp-date-box {
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1.5px solid #0f172a;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mptbm-exp-date-box:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

.mptbm-exp-date-box i {
  color: #0f172a;
  font-size: 16px;
  pointer-events: none;
}

.mptbm-exp-date-box input[type="datetime-local"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.001;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
}

/* Phone Number Field with +91 Country Code */
.mptbm-exp-phone-group {
  display: flex;
  margin-bottom: 18px;
  border: 1.5px solid var(--mptbm-exp-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.mptbm-exp-phone-group:focus-within {
  border-color: var(--mptbm-exp-navy);
  box-shadow: 0 0 0 3px rgba(12, 35, 64, 0.1);
}

.mptbm-exp-country-prefix {
  background: #f1f5f9;
  border-right: 1.5px solid var(--mptbm-exp-border);
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mptbm-exp-phone-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--mptbm-exp-text);
  font-weight: 600;
}

/* Check Price & Book Cab CTA */
.mptbm-exp-btn-submit {
  width: 100%;
  height: 50px;
  background: var(--mptbm-exp-navy);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 16px rgba(12, 35, 64, 0.2);
}

.mptbm-exp-btn-submit:hover {
  background: var(--mptbm-exp-navy-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. PRICING & VEHICLE RESULTS SCREEN (/prices)
   ========================================================================== */
.mptbm-exp-results-view {
  margin-top: 24px;
}

.mptbm-exp-results-nav {
  margin-bottom: 16px;
}

.mptbm-exp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d97706;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 12px;
}

.mptbm-exp-route-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.mptbm-exp-route-badge {
  background: #0f172a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
}

.mptbm-exp-trip-banner-bar {
  background: #0f172a;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
  text-align: center;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.5px;
}

.mptbm-exp-departure-strip {
  background: #ffffff;
  border: 1px solid var(--mptbm-exp-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.mptbm-exp-dep-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mptbm-exp-dep-day {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.mptbm-exp-dep-meta {
  font-size: 12.5px;
  color: var(--mptbm-exp-muted);
  line-height: 1.3;
}

.mptbm-exp-return-upsell {
  font-size: 13.5px;
  color: #0284c7;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Dual Pricing Switcher (Toll Excluded vs Toll Included) */
.mptbm-exp-pricing-toggle-wrap {
  display: flex;
  max-width: 620px;
  margin: 0 auto 30px auto;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--mptbm-exp-border);
}

.mptbm-exp-pricing-tab {
  flex: 1;
  padding: 14px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.mptbm-exp-pricing-tab.active {
  background: #0c2340;
  color: #ffffff;
}

.mptbm-exp-pricing-tab .title {
  font-size: 15px;
  font-weight: 800;
  display: block;
}

.mptbm-exp-pricing-tab.active .title {
  color: #ffffff;
}

.mptbm-exp-pricing-tab:not(.active) .title {
  color: #0f172a;
}

.mptbm-exp-pricing-tab .subtitle {
  font-size: 11.5px;
  display: block;
  margin-top: 2px;
}

.mptbm-exp-pricing-tab .subtitle.excluded {
  color: #ef4444;
  font-weight: 700;
}

.mptbm-exp-pricing-tab.active .subtitle.excluded {
  color: #fca5a5;
}

.mptbm-exp-pricing-tab .subtitle.included {
  color: #10b981;
  font-weight: 700;
}

.mptbm-exp-pricing-tab.active .subtitle.included {
  color: #86efac;
}

/* Vehicle Cards Grid */
.mptbm-exp-cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .mptbm-exp-cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mptbm-exp-cars-grid {
    grid-template-columns: 1fr;
  }
}

.mptbm-exp-car-card {
  background: #ffffff;
  border: 1px solid var(--mptbm-exp-border);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mptbm-exp-car-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(12, 35, 64, 0.08);
}

/* 50% OFF Badge */
.mptbm-exp-off-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  background: #dc2626;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
  z-index: 2;
  text-transform: uppercase;
}

/* Vehicle Image */
.mptbm-exp-car-thumb {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.25s;
}

.mptbm-exp-car-card:hover .mptbm-exp-car-thumb {
  transform: scale(1.04);
}

/* Price Box */
.mptbm-exp-price-box {
  text-align: center;
  margin-bottom: 8px;
}

.mptbm-exp-original-price {
  font-size: 13.5px;
  color: #ef4444;
  text-decoration: line-through;
  font-weight: 600;
  display: block;
}

.mptbm-exp-discounted-price {
  font-size: 25px;
  font-weight: 800;
  color: var(--mptbm-exp-teal);
  display: block;
  margin-top: 1px;
}

/* Category & Title */
.mptbm-exp-car-category {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.mptbm-exp-car-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 14px;
}

/* Specifications Table */
.mptbm-exp-specs-table {
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-bottom: 16px;
  font-size: 12.5px;
}

.mptbm-exp-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: #475569;
}

.mptbm-exp-spec-row .val {
  font-weight: 600;
  color: #0f172a;
}

.mptbm-exp-spec-row .val.green {
  color: #10b981;
}

.mptbm-exp-spec-row .val.red {
  color: #ef4444;
}

.mptbm-exp-other-terms {
  font-size: 11.5px;
  color: #0f172a;
  text-decoration: underline;
  text-align: center;
  margin-bottom: 14px;
  cursor: pointer;
}

/* Book Now Button */
.mptbm-exp-btn-book {
  margin-top: auto;
  width: 100%;
  height: 42px;
  background: var(--mptbm-exp-navy);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mptbm-exp-btn-book:hover {
  background: var(--mptbm-exp-navy-dark);
}

/* ==========================================================================
   3. DATE & TIME CONFIRMATION POPUP MODAL
   ========================================================================== */
.mptbm-exp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 35, 64, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mptbm-exp-modal-overlay.active {
  display: flex;
}

.mptbm-exp-confirm-card {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: mptbmPopIn 0.2s ease;
}

.mptbm-exp-confirm-head {
  background: #fef08a;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #854d0e;
  font-weight: 700;
  font-size: 14px;
}

.mptbm-exp-confirm-body {
  padding: 28px 20px;
  text-align: center;
}

.mptbm-exp-confirm-datetime {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 22px;
}

.mptbm-exp-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.mptbm-exp-btn-modify {
  background: #f59e0b;
  color: #ffffff;
  border: none;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.mptbm-exp-btn-confirm {
  background: #f59e0b;
  color: #ffffff;
  border: none;
  padding: 8px 24px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   4. FILL CONTACT DETAILS & CHECKOUT MODAL
   ========================================================================== */
.mptbm-exp-checkout-card {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: mptbmPopIn 0.25s ease;
}

.mptbm-exp-checkout-head {
  background: #fef08a;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mptbm-exp-checkout-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #854d0e;
}

.mptbm-exp-checkout-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #854d0e;
  cursor: pointer;
  padding: 0;
}

.mptbm-exp-checkout-body {
  padding: 20px 22px;
}

.mptbm-exp-checkout-trip-strip {
  background: #0f172a;
  color: #ffffff;
  text-align: center;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 8px;
}

.mptbm-exp-checkout-dep-time {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

/* Location with "Use My Location" & Map */
.mptbm-exp-location-field-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.mptbm-exp-btn-use-location {
  background: #ffffff;
  border: 1.5px solid #f59e0b;
  color: #d97706;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}

.mptbm-exp-btn-use-location:hover {
  background: #fffbeb;
}

.mptbm-exp-map-container {
  width: 100%;
  height: 180px;
  border: 1px solid var(--mptbm-exp-border);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #f1f5f9;
}

/* Additional Addons Checkboxes */
.mptbm-exp-addons-wrap {
  margin-bottom: 16px;
  background: #f8fafc;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--mptbm-exp-border);
}

.mptbm-exp-addons-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.mptbm-exp-addon-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.35;
}

.mptbm-exp-addon-item input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #f59e0b;
  cursor: pointer;
}

/* Accordions (Coupon, Billing) */
.mptbm-exp-accordion {
  border: 1px solid var(--mptbm-exp-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.mptbm-exp-accordion-toggle {
  width: 100%;
  background: #ffffff;
  padding: 10px 14px;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.mptbm-exp-accordion-body {
  display: none;
  padding: 12px 14px;
  background: #f8fafc;
  border-top: 1px solid var(--mptbm-exp-border);
}

/* Final Summary Table */
.mptbm-exp-summary-table {
  border: 1px solid var(--mptbm-exp-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  font-size: 13.5px;
}

.mptbm-exp-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.mptbm-exp-summary-row:last-child {
  border-bottom: none;
}

.mptbm-exp-summary-row.total {
  background: #fefce8;
  font-weight: 800;
  color: #854d0e;
}

/* Terms Checkbox */
.mptbm-exp-terms-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 16px;
  cursor: pointer;
}

/* Advance Pay Button */
.mptbm-exp-btn-pay-advance {
  width: 100%;
  height: 48px;
  background: #fcd34d;
  color: #78350f;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.mptbm-exp-btn-pay-advance:hover {
  background: #fbbf24;
  color: #451a03;
}

.mptbm-exp-error-msg {
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  text-align: center;
  display: none;
}

@keyframes mptbmPopIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   UNIVERSAL LOCATION AUTOCOMPLETE DROPDOWN STYLES
   ========================================================================== */
.mptbm-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 99999;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 32px rgba(12, 35, 64, 0.14), 0 6px 12px rgba(12, 35, 64, 0.08);
  max-height: 290px;
  overflow-y: auto;
  padding: 6px 0;
  animation: mptbmPopIn 0.18s ease forwards;
}

.mptbm-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.12s ease;
  user-select: none;
}

.mptbm-autocomplete-item:hover,
.mptbm-autocomplete-item.active {
  background: #f0f9ff;
}

.mptbm-autocomplete-pin {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.mptbm-autocomplete-item:hover .mptbm-autocomplete-pin,
.mptbm-autocomplete-item.active .mptbm-autocomplete-pin {
  background: #0284c7;
  color: #ffffff;
}

.mptbm-autocomplete-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.mptbm-autocomplete-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mptbm-autocomplete-title strong {
  color: #0284c7;
  font-weight: 700;
}

.mptbm-autocomplete-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mptbm-autocomplete-badge {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.mptbm-autocomplete-badge.badge-airport {
  background: #e0e7ff;
  color: #3730a3;
}

.mptbm-autocomplete-badge.badge-station {
  background: #fef3c7;
  color: #92400e;
}

.mptbm-autocomplete-badge.badge-city {
  background: #dcfce7;
  color: #166534;
}

.mptbm-autocomplete-badge.badge-area {
  background: #f1f5f9;
  color: #475569;
}

.mptbm-autocomplete-badge.badge-place {
  background: #f3e8ff;
  color: #6b21a8;
}

.mptbm-autocomplete-empty {
  padding: 14px 16px;
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

