test-drive-form::part(container) {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

test-drive-form::part(tiq) {
  margin: 64px 0px;
  font-family: "Droid Arabic Kufi", Roboto, Arial, sans-serif;
}

.tiq,
.tiq::part(form-dialog-modal) {
  font-family: "Droid Arabic Kufi", Roboto, Arial, sans-serif;
}

test-drive-form::part(inputs_wrapper) {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  test-drive-form::part(inputs_wrapper) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

test-drive-form::part(vehicle-wrapper) {
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  test-drive-form::part(vehicle-wrapper) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
  }
}

test-drive-form::part(vehicle-fields) {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

test-drive-form::part(hr) {
  margin-top: 24px;
  margin-bottom: 24px;
  border-color: rgb(203 213 225);
}

test-drive-form::part(vehicle-image-wrapper) {
  display: flex;
  padding-left: 20px;
  padding-right: 20px;
  justify-content: center;
  position: relative;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

test-drive-form::part(vehicle-image-loader-icon) {
  animation: spin 2s linear infinite;
  width: 32px;
  height: 32px;
}

test-drive-form::part(section-title) {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 8px;
  color: black;
}

test-drive-form::part(vehicle-image-loading-wrapper) {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition-property: all;
  transition-duration: 100ms;
  color: rgb(15 23 42);
}

test-drive-form::part(vehicle-image-active-loading-wrapper) {
  opacity: 1;
}

test-drive-form::part(form-input-select) {
  padding-inline-end: 40px;
  text-overflow: ellipsis;
}

test-drive-form::part(submit-button) {
  margin-top: 50px;
}

.grecaptcha-badge {
  display: none !important;
}

@media (min-width: 640px) {
  test-drive-form::part(vehicle-fields) {
    aspect-ratio: 29 / 20;
    justify-content: center;
  }
}


/* The popup is rendered at page level, outside the form, so the tokens go on both. */
test-drive-form,
shift-popover-panel {
  --shift-font-family: "Droid Arabic Kufi", Roboto, Arial, sans-serif;
  --shift-font-family-arabic: "Droid Arabic Kufi", Roboto, Arial, sans-serif;
  --shift-weight: 400;
  --shift-weight-strong: 600;
  --shift-label-size: 13px;
  --shift-label-transform: none;
  --shift-label-tracking: 0;

  --shift-ink: rgb(0 0 0);
  --shift-ink-muted: rgb(100 116 139);
  --shift-ink-disabled: rgb(203 213 225);
  --shift-surface: rgb(255 255 255);
  --shift-surface-muted: rgb(248 250 252);
  --shift-line: rgb(203 213 225);
  --shift-line-strong: rgb(71 85 105);
  --shift-accent: rgb(51 65 85);
  --shift-on-accent: rgb(255 255 255);
  --shift-accent-tint: rgb(241 245 249);
  --shift-danger: rgb(239 68 68);
  --shift-focus: rgb(71 85 105);

  --shift-radius-sm: 4px;
  --shift-radius-md: 6px;
  --shift-radius-lg: 6px;
  --shift-border-width: 1px;
  --shift-shadow-control: none;
  --shift-shadow-panel: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);

  --shift-popover-line: rgb(229 231 235);
  --shift-calendar-day-hover-bg: rgb(241 245 249);
  --shift-booking-calendar-hover-bg: rgb(241 245 249);
  --shift-time-slots-hover-bg: rgb(241 245 249);
  --shift-time-slots-hover-line: rgb(71 85 105);
  --shift-time-slots-radius: 6px;

  --shift-calendar-heading-font-weight: 600;
  --shift-calendar-weekday-font-weight: 400;
  --shift-calendar-day-font-weight: 400;
  --shift-calendar-today-font-weight: 400;
  --shift-booking-calendar-back-font-weight: 400;

  --shift-input-font-size: 16px;
  --shift-input-label-font-size: 16px;
  --shift-input-label-font-weight: 400;
  --shift-input-label-gap: 4px;
  --shift-input-support-font-size: 12px;
  --shift-input-support-gap: 1px;
  --shift-input-control-height: 45px;
}
