/* ==========================================================================
   Vehicle Picker Modal & Drawer CSS
   Theme: Pure Luxury Taxi Gold (#FFB800), Pure Midnight Black (#090B0E)
   ZERO BLUE TINTS - 100% Focused on Brand Taxi Gold & Executive Charcoal
   ========================================================================== */

.vehicle-picker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 11, 14, 0.82);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  padding: 16px;
}

.vehicle-picker-overlay.active {
  opacity: 1;
  visibility: visible;
}

.vehicle-picker-modal {
  background: #0D1017;
  width: 440px;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 184, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
}

.vehicle-picker-overlay.active .vehicle-picker-modal {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.vehicle-picker-header {
  padding: 20px 22px 14px;
  border-bottom: 2px solid #FFB800;
  background: #090B0E;
}

.vehicle-picker-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vehicle-picker-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
}

.vehicle-picker-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9CA3AF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.vehicle-picker-close:hover {
  background: #FFB800;
  color: #090B0E;
  border-color: #FFB800;
}

/* Status Banner in Taxi Gold */
.vehicle-picker-status {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFB800;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

.vehicle-picker-status.show {
  opacity: 1;
  height: 24px;
  margin-top: 10px;
}

/* Vehicle Cards List */
.vehicle-picker-list {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(90vh - 125px);
  background: #0D1017;
}

.vehicle-picker-list::-webkit-scrollbar {
  width: 6px;
}

.vehicle-picker-list::-webkit-scrollbar-thumb {
  background: rgba(255, 184, 0, 0.25);
  border-radius: 4px;
}

/* Single Vehicle Card */
.vehicle-card-item {
  background: #141822;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.vehicle-card-item:hover {
  background: #1B212E;
  border-color: rgba(255, 184, 0, 0.5);
  transform: translateY(-1px);
}

.vehicle-card-item.selected {
  background: rgba(255, 184, 0, 0.14) !important;
  border: 2px solid #FFB800 !important;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.25);
}

/* White Thumbnail Box */
.vehicle-thumb-box {
  width: 74px;
  height: 54px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.vehicle-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Vehicle Text Details */
.vehicle-card-info {
  flex: 1;
  min-width: 0;
}

.vehicle-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.2;
}

.vehicle-card-specs {
  font-size: 0.84rem;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vehicle-card-category {
  color: #FFB800;
  font-weight: 700;
}

.vehicle-card-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: #090B0E;
  background: #FFB800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 5px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(255, 184, 0, 0.3);
}

/* Right Action Radio Button */
.vehicle-card-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.vehicle-card-item:hover .vehicle-radio {
  border-color: #FFB800;
}

.vehicle-card-item.selected .vehicle-radio {
  border-color: #FFB800;
  background: rgba(255, 184, 0, 0.15);
}

.vehicle-radio-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFB800;
  transform: scale(0);
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vehicle-card-item.selected .vehicle-radio-dot {
  transform: scale(1);
}

/* Custom Form Selector Trigger (Dark Luxury Theme matching form-control) */
.custom-vehicle-trigger {
  width: 100%;
  min-height: 48px;
  background: #090B0E;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md, 8px);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.custom-vehicle-trigger:hover,
.custom-vehicle-trigger:focus {
  border-color: #FFB800;
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.2);
  background: #11151E;
}

.custom-vehicle-thumb {
  width: 44px;
  height: 32px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.custom-vehicle-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.custom-vehicle-text {
  flex: 1;
  min-width: 0;
}

.custom-vehicle-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.custom-vehicle-meta {
  font-size: 0.8rem;
  color: #9CA3AF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-vehicle-caret {
  color: #FFB800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Mobile Responsive Bottom-Sheet Drawer */
@media (max-width: 576px) {
  .vehicle-picker-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .vehicle-picker-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    max-height: 85vh;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 184, 0, 0.25);
  }

  .vehicle-picker-overlay.active .vehicle-picker-modal {
    transform: translateY(0);
  }

  .vehicle-picker-header {
    padding: 16px 18px 12px;
  }

  .vehicle-picker-list {
    padding: 12px 14px 24px;
    gap: 10px;
  }

  .vehicle-card-item {
    padding: 10px 12px;
    gap: 12px;
    border-radius: 12px;
  }

  .vehicle-thumb-box {
    width: 64px;
    height: 48px;
    border-radius: 8px;
  }

  .vehicle-card-name {
    font-size: 0.98rem;
  }

  .vehicle-card-specs {
    font-size: 0.78rem;
  }

  .custom-vehicle-trigger {
    min-height: 46px;
    padding: 6px 10px;
    gap: 8px;
  }

  .custom-vehicle-thumb {
    width: 38px;
    height: 28px;
  }

  .custom-vehicle-title {
    font-size: 0.88rem;
  }

  .custom-vehicle-meta {
    font-size: 0.74rem;
  }
}
