.fva-form-shell { width: 100%; container-type: inline-size; }
.fva-form {
  --fva-border: #d8dde3;
  --fva-radius: 12px;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--fva-border);
  border-radius: var(--fva-radius);
  padding: clamp(22px, 4vw, 38px);
  background: #fff;
  color: #111;
}
.fva-section + .fva-section { margin-top: 30px; padding-top: 28px; border-top: 1px solid #e7eaee; }
.fva-form h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; margin: 0 0 20px; }
.fva-field { margin-bottom: 17px; }
.fva-field label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.fva-field input,
.fva-field select { display: block; width: 100%; height: 44px; margin: 0; border: 1px solid var(--fva-border); border-radius: 6px; background-color: #fff; padding: 0 12px; font: inherit; color: inherit; box-shadow: none; }
.fva-form .fva-field select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 8px !important;
  padding-right: 42px !important;
}
.fva-field input:focus,
.fva-field select:focus { border-color: #64748b; outline: 3px solid rgba(100, 116, 139, .12); outline-offset: 0; }
.fva-vehicle-row { position: relative; min-width: 0; margin: 0 0 18px; padding: 20px 20px 4px; border: 1px solid #e2e6ea; border-radius: 8px; background: #fafbfc; }
.fva-vehicle-row:first-child { padding: 0; border: 0; background: transparent; }
.fva-vehicle-row legend { width: auto; padding: 0; font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.fva-remove { position: absolute; right: 16px; top: 16px; border: 0; border-radius: 4px; background: transparent; color: #9f2d2d; padding: 4px 6px; font-size: 13px; font-weight: 600; cursor: pointer; }
.fva-remove:hover { background: #fff0f0; color: #7f1d1d; }
.fva-remove span { font-size: 18px; line-height: 0; vertical-align: -1px; }
.fva-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fva-address-row { display: grid; grid-template-columns: minmax(120px, .35fr) 1fr; gap: 16px; }
.fva-add { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--fva-border); border-radius: 6px; background: #fff; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fva-add:hover { background: #f6f7f8; }
.fva-add span { display: inline; width: auto; height: auto; border: 0; font-size: 20px; line-height: 1; }
.fva-consent { margin: 26px 0 18px; font-size: 14px; }
.fva-submit { border: 1px solid #111; border-radius: 6px; background: #111; color: #fff; min-height: 44px; padding: 9px 20px; font: inherit; font-weight: 700; cursor: pointer; }
.fva-submit:hover { background: #333; }
.fva-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.fva-notice { max-width: 760px; padding: 14px 18px; margin: 0 0 18px; border-left: 4px solid; }
.fva-success { background: #edf8ef; border-color: #237a35; }
.fva-error { background: #fff0f0; border-color: #b42318; }
.fva-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.fva-card { background: #fff; border: 1px solid #e3e3e3; }
.fva-card-image { display: block; aspect-ratio: 4/3; overflow: hidden; }
.fva-card-image img { width: 100%; height: 100%; object-fit: cover; }
.fva-card-body { padding: 20px; }
.fva-card-body h3 { margin: 5px 0 10px; }
.fva-card-type { font-size: .85em; text-transform: uppercase; letter-spacing: .04em; }
.fva-model-group { margin-bottom: 56px; }
.fva-model-group-title { margin: 0 0 24px; }
@container (max-width: 520px) {
  .fva-form { padding: 22px 18px; border-radius: 10px; }
  .fva-dates,
  .fva-address-row { grid-template-columns: 1fr; gap: 0; }
  .fva-section + .fva-section { margin-top: 25px; padding-top: 24px; }
  .fva-vehicle-row { padding: 17px 14px 1px; }
  .fva-vehicle-row:first-child { padding: 0; }
  .fva-remove { position: static; display: block; margin: -8px 0 14px auto; }
  .fva-add { width: 100%; justify-content: center; }
  .fva-submit { width: 100%; }
}
@media (max-width: 549px) {
  .fva-form { border-radius: 10px; padding: 22px 18px; }
  .fva-dates,
  .fva-address-row,
  .fva-grid { grid-template-columns: 1fr; }
  .fva-remove { position: static; float: right; margin-top: -38px; }
  .fva-vehicle-row { padding: 17px 15px 1px; }
  .fva-vehicle-row:first-child { padding: 0; }
  .fva-section + .fva-section { margin-top: 26px; }
}
