.vehicle-lookup {
  margin: 0 0 22px;
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  position: relative;
  border: 1px solid #c8d9f1;
  border-radius: 22px 22px 22px 7px;
  background:
    radial-gradient(circle at 100% 0, rgba(52, 124, 237, 0.16), transparent 34%),
    linear-gradient(145deg, #f8fbff, #edf4ff);
}

.vehicle-lookup::after {
  content: "";
  width: 150px;
  height: 150px;
  position: absolute;
  right: -92px;
  bottom: -102px;
  border: 25px solid rgba(11, 87, 208, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.vehicle-lookup-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.vehicle-lookup-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px 17px 17px 5px;
  color: #fff;
  background: linear-gradient(145deg, #1769dd, #073b92);
  box-shadow: 0 14px 28px rgba(11, 87, 208, 0.23);
}

.vehicle-lookup-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vehicle-lookup-head small {
  display: block;
  color: var(--blue);
  font-family: "Sora WebCar", "Trebuchet MS", Arial, sans-serif;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.25px;
}

.vehicle-lookup-head h3 {
  margin: 5px 0 7px;
  color: var(--blue-deep);
  font-family: "Sora WebCar", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -1.1px;
}

.vehicle-lookup-head p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.vehicle-lookup-switch {
  margin: 21px 0 11px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid #cfddf0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.vehicle-lookup-switch button {
  min-height: 52px;
  padding: 8px 13px;
  display: grid;
  justify-items: start;
  border: 0;
  border-radius: 10px;
  color: #53647d;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.vehicle-lookup-switch button span {
  font-family: "Sora WebCar", "Trebuchet MS", Arial, sans-serif;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.5px;
}

.vehicle-lookup-switch button small {
  margin-top: 1px;
  font-size: 9px;
  font-weight: 650;
}

.vehicle-lookup-switch button.is-active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 9px 21px rgba(11, 87, 208, 0.2);
}

.vehicle-lookup-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  position: relative;
  z-index: 1;
}

.vehicle-lookup-entry[hidden] {
  display: none;
}

.vehicle-lookup-entry label {
  min-width: 0;
  min-height: 66px;
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #c6d7ed;
  border-radius: 12px;
  background: #fff;
}

.vehicle-lookup-entry label:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 87, 208, 0.11);
}

.vehicle-lookup-entry label > span {
  color: #61728a;
  font-size: 10px;
  font-weight: 700;
}

.vehicle-lookup-entry input {
  width: 100%;
  min-width: 0;
  padding: 1px 0 0;
  border: 0;
  outline: 0;
  color: var(--blue-deep);
  background: transparent;
  font-family: "Sora WebCar", "Trebuchet MS", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.vehicle-lookup-button {
  min-width: 188px;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 12px 12px 12px 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 13px 27px rgba(148, 50, 6, 0.2);
}

.vehicle-lookup-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.vehicle-lookup-button b {
  font-size: 20px;
}

.vehicle-lookup-status {
  min-height: 38px;
  margin-top: 10px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  color: #355071;
  background: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 650;
}

.vehicle-lookup-status i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #e29b1d;
  box-shadow: 0 0 0 4px rgba(226, 155, 29, 0.13);
}

.vehicle-lookup-status.is-loading i {
  background: var(--blue);
  animation: vehicle-lookup-pulse 1s infinite alternate;
}

.vehicle-lookup-status.is-success i {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(8, 118, 94, 0.13);
}

.vehicle-lookup-status.is-error i {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(196, 67, 10, 0.13);
}

.vehicle-lookup-privacy {
  margin: 10px 0 0;
  position: relative;
  z-index: 1;
  color: #6e7e93;
  font-size: 10px;
  line-height: 1.45;
}

@keyframes vehicle-lookup-pulse {
  to { opacity: 0.35; transform: scale(0.78); }
}

@media (max-width: 660px) {
  .vehicle-lookup {
    padding: 19px 15px;
    border-radius: 18px 18px 18px 6px;
  }
  .vehicle-lookup-head {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }
  .vehicle-lookup-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px 14px 14px 5px;
  }
  .vehicle-lookup-head h3 { font-size: 21px; }
  .vehicle-lookup-entry { grid-template-columns: 1fr; }
  .vehicle-lookup-button {
    min-width: 0;
    min-height: 52px;
  }
  .vehicle-lookup-switch button {
    min-height: 49px;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vehicle-lookup-status.is-loading i { animation: none; }
}
