/* ── VEHICLE MODAL ── */
:root {
  --p6: #1a56db;
  --p5: #1c64f2;
  --p4: #76a9fa;
  --p2: #c3ddfd;
  --p1: #ebf5ff;
  --n10: #111928;
  --n9: #1f2a37;
  --n8: #374151;
  --n7: #4b5563;
  --n6: #6b7280;
  --n5: #9ca3af;
  --n4: #9ca3af;
  --n3: #d1d5db;
  --n2: #e5e7eb;
  --n1: #f3f4f6;
  --n0: #f9fafb;
  --w: #fff;
  --s5: #057a55;
  --s2: #bcf0da;
  --s1: #f3faf7;
  --e5: #c81e1e;
  --e2: #fbd5d5;
  --e1: #fdf2f2;
  --warn5: #c27803;
  --warn1: #fdfdea;
  --rm: 8px;
  --rl: 12px;
  --rxl: 16px;
  --rfull: 9999px;
}
.vc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  z-index: 900;
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.vc-overlay.open {
  display: flex;
}
.vc-overlay .vc-modal {
  position: relative;
  background: #fff;
  width: min(680px, calc(100vw - 40px));
  max-width: 680px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
  animation: vcIn 0.2s ease;
}
@keyframes vcIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.vc-modal-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #dce4ef;
  border-radius: 11px;
  background: #fff;
  color: #475467;
  font:
    400 25px/1 Arial,
    sans-serif;
  cursor: pointer;
  transition: 0.15s;
}
.vc-modal-close:hover {
  background: #f4f7fb;
  color: #101828;
  transform: rotate(3deg);
}
.vc-modal-intro {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px 72px 20px 26px;
  background: linear-gradient(135deg, #f7faff 0%, #edf4ff 100%);
  border-bottom: 1px solid #dbe6f4;
}
.vc-modal-icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #fff;
  color: #2864df;
  box-shadow: 0 5px 18px rgba(42, 100, 215, 0.1);
}
.vc-modal-intro > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vc-modal-intro strong {
  color: #101828;
  font-size: 23px;
  line-height: 1.2;
}
.vc-modal-intro small {
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}
.vc-modal-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 18px 26px 4px;
}
.vc-modal-steps span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 700;
}
.vc-modal-steps span::after {
  content: "";
  height: 2px;
  flex: 1;
  background: #e4e9f1;
}
.vc-modal-steps span:last-child::after {
  display: none;
}
.vc-modal-steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef2f7;
  color: #667085;
  font-size: 11px;
}
.vc-modal-steps .is-active {
  color: #245ccc;
}
.vc-modal-steps .is-active b {
  background: #2864df;
  color: #fff;
}
.vc-modal-steps .is-complete {
  color: #087a55;
}
.vc-modal-steps .is-complete b {
  background: #e9f9f1;
  color: #087a55;
}
.vc-modal-steps .is-complete b::before {
  content: "✓";
}
.vc-modal-steps .is-complete b {
  font-size: 0;
}
.vc-modal-steps .is-complete b::before {
  font-size: 12px;
}
.vc-modal .side-card {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.vc-modal .side-card-head {
  display: none !important;
}
.vc-modal .side-card-body {
  padding: 20px 26px 26px !important;
}
.vc-modal .side-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 16px !important;
}
.vc-modal .side-form-field {
  min-width: 0;
}
.vc-modal .side-form label {
  display: block;
  margin-bottom: 7px;
  color: #475467;
  font-size: 11px;
  letter-spacing: 0.35px;
}
.vc-modal .side-form select {
  height: 50px;
  border: 1px solid #cdd6e3;
  border-radius: 12px;
  background-color: #fff;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}
.vc-modal .side-form select:focus {
  border-color: #2864df;
  box-shadow: 0 0 0 3px rgba(40, 100, 223, 0.11);
}
.vc-modal .side-form select:disabled {
  border-color: #e3e8ef;
  background-color: #f5f7fa;
  color: #98a2b3;
}
.vc-modal .side-form select optgroup {
  font-weight: 800;
  color: #344054;
}
.vc-modal .side-form select option {
  font-weight: 500;
  color: #101828;
}
.vc-modal .side-form-btn,
.vc-modal .side-form-btn-reset {
  height: 50px;
  margin-top: 3px !important;
  border-radius: 12px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
.vc-modal .side-form-btn {
  background: #2864df;
}
.vc-modal .side-form-btn:hover {
  background: #1e53c5;
}
.vc-modal .side-form-btn-reset {
  border-color: #d4dce7;
  color: #475467;
}
.vc-modal .side-form-btn:disabled {
  background: #e7ebf1;
  color: #98a2b3;
}
@media (max-width: 620px) {
  .vc-overlay {
    padding: 10px;
    align-items: flex-end;
  }
  .vc-overlay .vc-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 20px 20px 12px 12px;
  }
  .vc-modal-intro {
    padding: 20px 58px 17px 18px;
  }
  .vc-modal-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .vc-modal-intro strong {
    font-size: 18px;
  }
  .vc-modal-intro small {
    font-size: 11px;
  }
  .vc-modal-close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
  }
  .vc-modal-steps {
    padding: 14px 18px 2px;
  }
  .vc-modal-steps span {
    font-size: 0;
    gap: 4px;
  }
  .vc-modal-steps b {
    font-size: 10px;
  }
  .vc-modal .side-card-body {
    padding: 17px 18px 20px !important;
  }
  .vc-modal .side-form {
    grid-template-columns: 1fr;
    gap: 12px !important;
  }
  .vc-modal .side-form select {
    height: 47px;
  }
  .vc-modal .side-form-btn,
  .vc-modal .side-form-btn-reset {
    height: 47px;
  }
}
.vc-head {
  background: var(--n10);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px 16px 0 0;
}
.vc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vc-close {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.vc-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vc-field label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--n6);
  display: block;
  margin-bottom: 5px;
}
.vc-sel {
  width: 100%;
  height: 46px;
  padding: 0 32px 0 12px;
  border: 1.5px solid var(--n2);
  border-radius: 10px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  background: white
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  transition: border-color 0.15s;
}
.vc-sel:focus {
  border-color: var(--p5);
}
.vc-submit {
  width: 100%;
  height: 46px;
  background: var(--p5);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.vc-submit:hover {
  background: var(--p6);
}

.vc-modal .side-form select:disabled {
  border-color: #d7e3f7;
  background-color: #f4f8ff;
  color: #8aa0c3;
}
.vc-modal .side-form-btn-reset {
  border-color: #b9cdf1;
  color: #245ccc;
  background: #f8fbff;
}
.vc-modal .side-form-btn-reset:hover {
  border-color: #d5834e;
  background: #fff6ef;
  color: #a64d20;
}
.vc-modal .side-form-btn:disabled {
  background: #e8f0fc;
  color: #91a6c8;
}

/* Searchable vehicle fields — shared visual language with the storefront */
.vehicle-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.vehicle-combobox {
  position: relative;
  width: 100%;
  font-family: "Inter", sans-serif;
}
.vehicle-combobox-trigger {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
  border: 1.5px solid #b8cdf7;
  border-radius: 12px;
  background: #fff;
  color: #172033;
  font:
    600 14px/1.2 "Inter",
    sans-serif;
  text-align: left;
  box-shadow: 0 2px 7px rgba(34, 91, 200, 0.05);
  cursor: pointer;
  transition:
    border-color 0.16s,
    box-shadow 0.16s,
    background 0.16s;
}
.vehicle-combobox-trigger:hover {
  border-color: #2d67df;
  background: #f9fbff;
}
.vehicle-combobox.is-open .vehicle-combobox-trigger {
  border-color: #2864df;
  box-shadow: 0 0 0 3px rgba(40, 100, 223, 0.13);
}
.vehicle-combobox.is-disabled .vehicle-combobox-trigger {
  border-color: #e0e6ef;
  background: #f8fafc;
  color: #9aa5b5;
  box-shadow: none;
  cursor: not-allowed;
}
.vehicle-combobox-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vehicle-combobox-chevron {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #2864df;
  border-bottom: 2px solid #2864df;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s;
}
.vehicle-combobox.is-open .vehicle-combobox-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}
.vehicle-combobox-panel {
  display: none;
  position: absolute;
  z-index: 950;
  top: calc(100% + 7px);
  left: 0;
  width: max(100%, 360px);
  max-width: min(540px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid #c9d8f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 45, 82, 0.2);
}
.vehicle-combobox.is-open .vehicle-combobox-panel {
  display: block;
}
.vehicle-combobox-search-wrap {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  margin-bottom: 7px;
  border: 1.5px solid #a9c3f5;
  border-radius: 10px;
  background: #f9fbff;
  color: #2864df;
}
.vehicle-combobox-search {
  width: 100%;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #172033;
  font:
    500 14px/1.2 "Inter",
    sans-serif;
  box-shadow: none !important;
}
.vehicle-combobox-search::placeholder {
  color: #7d8da6;
}
.vehicle-combobox-list {
  max-height: 310px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 2px;
}
.vehicle-combobox-group {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 7px 0 4px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #edf4ff;
  color: #245ccc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25px;
  text-transform: none;
}
.vehicle-combobox-option {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  color: #263449;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.13s,
    border-color 0.13s,
    transform 0.13s;
}
.vehicle-combobox-option:hover {
  border-color: #b7ccf4;
  background: #f5f9ff;
  transform: translateX(2px);
}
.vehicle-combobox-option.is-selected {
  border-color: #e4a475;
  background: #fff7f1;
}
.vehicle-combobox-option-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vehicle-combobox-option-copy strong {
  font-size: 14px;
  font-weight: 750;
  white-space: normal;
}
.vehicle-combobox-option-copy small {
  color: #687891;
  font-size: 11px;
  font-weight: 600;
}
.vehicle-combobox-power {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #245ccc;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 620px) {
  .vehicle-combobox-trigger {
    height: 47px;
  }
  .vehicle-combobox-panel {
    position: fixed;
    z-index: 990;
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 10px;
    width: auto;
    max-width: none;
    padding: 12px;
    border-radius: 18px;
  }
  .vehicle-combobox-list {
    max-height: 45vh;
  }
  .vehicle-combobox-option {
    min-height: 54px;
  }
  .vehicle-combobox-power {
    white-space: normal;
    text-align: right;
  }
}

/* In the modal the list belongs to the form flow: no overlap and no clipped menu. */
.vc-modal .vehicle-combobox-panel {
  position: static;
  width: 100%;
  max-width: none;
  margin-top: 7px;
  padding: 9px;
  box-shadow: 0 10px 28px rgba(23, 45, 82, 0.13);
}
.vc-modal .vehicle-combobox-list {
  max-height: 220px;
}
.vc-modal .vehicle-combobox-option {
  min-height: 44px;
}
@media (max-width: 620px) {
  .vc-modal .vehicle-combobox-panel {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 6px;
    border-radius: 13px;
  }
  .vc-modal .vehicle-combobox-list {
    max-height: 210px;
  }
}

/* Unified storefront typography: clear hierarchy without heavy display text. */
.vc-modal-intro strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.vc-modal-intro small {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.vc-modal-steps span {
  font-size: 12px;
  font-weight: 500;
}
.vc-modal-steps b {
  font-weight: 650;
}
.vc-modal .side-form label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.025em;
}
.vc-modal .vehicle-combobox-trigger,
.vc-modal .side-form select {
  font-size: 15px;
  font-weight: 500;
}
.vc-modal .vehicle-combobox-search {
  font-size: 15px;
  font-weight: 400;
}
.vc-modal .vehicle-combobox-group {
  font-size: 12px;
  font-weight: 650;
}
.vc-modal .vehicle-combobox-option-copy strong {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.vc-modal .vehicle-combobox-option-copy small {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}
.vc-modal .vehicle-combobox-power {
  font-size: 12px;
  font-weight: 600;
}
.vc-modal .side-form-btn,
.vc-modal .side-form-btn-reset {
  font-size: 15px !important;
  font-weight: 650 !important;
}

@media (max-width: 620px) {
  .vc-modal-intro strong {
    font-size: 19px;
  }
  .vc-modal-intro small {
    font-size: 13px;
  }
  .vc-modal .vehicle-combobox-option-copy strong {
    font-size: 14px;
  }
}
