/* CarVault – Front-end Dropdowns
   Brand colors: Navy #0E1D6E · Blue #3050CF
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&display=swap');

.cv-wrap {
  width: 100%; box-sizing: border-box;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  font-family: 'DM Sans', -apple-system, sans-serif;
}
.cv-wrap.cv-layout-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.cv-col { flex: 1 1 160px; min-width: 130px; display: flex; flex-direction: column; gap: 5px; }
.cv-label { font-size: 11px; font-weight: 600; color: #5A6490; letter-spacing: .06em; text-transform: uppercase; }
.cv-field-wrap { position: relative; }

.cv-select {
  display: block; width: 100%; height: 44px;
  padding: 0 36px 0 14px;
  border: 1px solid #D0D4EE; border-radius: 6px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%235A6490' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  -webkit-appearance: none; appearance: none;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: #0A0F2E;
  cursor: pointer; transition: border-color .18s, box-shadow .18s; box-sizing: border-box;
}
.cv-select:focus {
  outline: none;
  border-color: #0E1D6E;
  box-shadow: 0 0 0 3px rgba(14, 29, 110, .12);
}
.cv-select:disabled {
  background-color: #F7F8FC; color: #8A90B8; cursor: not-allowed;
}

.cv-spin {
  display: none; position: absolute; right: 38px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border: 2px solid #D0D4EE;
  border-top-color: #3050CF;
  border-radius: 50%;
  animation: cv-spin .5s linear infinite;
  pointer-events: none;
}
.cv-spin.on { display: inline-block; }
@keyframes cv-spin { to { transform: translateY(-50%) rotate(360deg); } }

@media (max-width: 600px) {
  .cv-col { flex: 1 1 100%; }
  .cv-wrap.cv-layout-grid { grid-template-columns: 1fr; }
}
