.vmm_title {
  font-size: 40px;
}

.vmm_description {
  font-size: 24px;
  color: var(--text-color);
  line-height: 1.5;
  margin: 16px 0;
  max-width: 60rem;
  text-align: center;
}

.vmm_step_header {
  font-size: 20px;
  margin: 8px 0;
  max-width: 840px;
  text-align: center;
}

.vmm_step_text {
  font-size: 18px;
  color: white;
}

.vmm_stepper {
  height: 4rem;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  font-weight: bold;
  position: relative;
  margin: 0 auto 1rem;
}

.vmm_stepper_step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vmm_stepper_circle {
  width: 2rem;
  height: 2rem;
  font-family: "Open Sans";
  font-size: 18px;
  margin-bottom: 8px;
  border-radius: 100%;
  border: 2px solid transparent;
  z-index: 2;
}

.vmm_stepper_bar {
  height: 4px;
  width: 81%;
  background-color: gray;
  position: absolute;
  top: 16px;
}

.vmm_stepper_complete {
  cursor: pointer;
}

.vmm_stepper_incomplete {
  cursor: default;
}

.vmm_stepper_incomplete .vmm_stepper_circle {
  background-color: #d8d8d8;
  color: #555555;
}

.vmm_stepper_complete .vmm_stepper_circle {
  color: white;
  background-color: #bfb17f;
}

.vmm_stepper_name {
  font-weight: 500;
}

.vmm_button {
  background-color: var(--primary-color);
  color: var(--button-text-color);
  border: 0;
  border-radius: 2px;
  height: 60px;
  min-width: 120px;
  margin: 16px 0;
  font-size: 18px;
  padding: 0;
}

.vmm_button_text {
  padding: 1rem;
}

.vmm_subpage_button {
  font-weight: bold;
  font-size: 16px;
  /* height: 2.5rem;
    min-width: 6rem;
    margin: 8px 0;
    border-radius: 4px; */
}

.vmm_subpage_button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vmm_subpage_navigation {
  min-width: 15rem;
  max-width: 30rem;
  width: 100%;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
}

.vmm_subpage_navigation_spacer {
  width: 72px;
}

.vmm_input {
  height: 40px;
  font-size: 16px;
  padding: 0 1rem;
  margin: 2px;
}

.vmm_input::placeholder {
  font-size: 16px;
  font-style: italic;
}

.vmm_custom_input_set {
  position: relative;
}

.vmm_custom_input {
  position: absolute;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  margin: 0;
  top: 0;
  left: 0;
  border: 1px solid var(--primary-color);
}

.vmm_custom_input_label {
  text-align: center;
}

.vmm_custom_input:checked {
  border: 3px solid var(--primary-color);
}

.vmm_label {
  font-size: 18px;
  padding-bottom: 0.5rem;
}

.vmm_drop_zone {
  position: absolute;
  width: 100%;
  height: 100%;
  color: transparent;
  background-color: transparent;
}

.vmm_card {
  background-color: var(--card-background-color);
  border-radius: 8px;
  padding: 1rem;
}

.vmm_radio_switch {
  display: flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
  min-width: 6rem;
  height: 24px;
  background-color: var(--button-text-color);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid var(--primary-color);
  border-radius: 2px;
}

.vmm_radio_switch span {
  z-index: 100;
}

.vmm_radio_switch_input {
  position: absolute;
  top: 0;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  margin: 0;
}

.vmm_radio_switch_input:checked {
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
}

.vmm_radio_switch_input:checked + span {
  color: var(--button-text-color);
}

.vmm_step_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}

.vmm_step_container .alana_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Step 1 */

.vmm_input_step_1 {
  max-width: 320px;
  flex-grow: 1;
  margin: 4px;
}

.vmm_subheader_step_1 {
  font-size: smaller;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-color);
  padding-left: 6px;
}

/* Step 2 */

.vmm_select_step_2 {
  height: calc(100% - 4px);
  min-height: 44px;
}

.vmm_container_current_vehicle,
.vmm_container_previous_vehicle,
.vmm_container_previous_experience {
  position: relative;
}

.vmm_container_vehicles_list {
  width: calc(100% - 1rem);
}

.vmm_autocomplete_list {
  position: absolute;
  /* width: 66%; */
  width: 100%;
  background-color: white;
  border: 1px solid #cccccc;
  top: 100%;
  border: 1px solid #003459;
  border-radius: 0 0 8px 8px;
  cursor: pointer;
  color: #003459;
  left: 0;
  z-index: 999;
}

.vmm_autocomplete_item {
  padding: 4px 8px;
  text-align: left;
}

.vmm_autocomplete_item:hover {
  background-color: #2d64ae80;
}

.brand_of_interest {
  box-shadow: none;
}

.brand_of_interest.highlighted,
.bodystyle_select.highlighted,
.powertrain_select.highlighted {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Step 3 */

.vmm_step_3_section {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.vmm_select_step_3 {
  min-width: 192px;
}

/* Step 4 */

.vmm_label_step_4,
.vmm_label_step_5 {
  text-align: left;
  padding-right: 1rem;
}

.vmm_choice_powertrain {
  width: 120px;
  height: 48px;
  background-color: var(--button-text-color);
  font-size: 12px;
  margin: 4px;
  border-radius: 2px;
}

.vmm_interest_tag {
  position: relative;
  height: 1.5rem;
  background-color: var(--primary-color);
  color: var(--button-text-color);
  /* margin: 0 8px; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  /* padding-right: 2rem; */
}

.vmm_interest_tag_close {
  position: absolute;
  top: -4px;
  right: 20px;
  height: 16px;
  width: 12px;
  border: 0;
  background-color: transparent;
  color: var(--button-text-color);
  padding: 0;
}

/* Step 5 */

/* Offers rounds */

/* .vmm_offers_set {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
} */

.vmm_offer_card {
  position: relative;
  /* color: black; */
  /* background-color: white; */
  /* width: 360px;
    max-width: 95%; */
  /* border: 1px solid var(--offer-header-color); */
  border-radius: 2px;
  /* box-shadow: 0 0 3px var(--offer-header-color); */
  /* padding: 1rem; */
  /* margin: 8px 1rem; */
}

.vmm_offer_card_header {
  height: 3rem;
  color: var(--offer-header-color);
  background-color: var(--offer-header-background-color);
  text-transform: uppercase;
  justify-content: space-between;
  padding: 0 1rem;
  text-align: center;
}

.vmm_offer_card_header h2 {
  font-size: 14px;
}

.vmm_offer_card_icon {
  cursor: pointer;
}

.vmm_offer_card_icon svg:hover {
  fill: var(--card-primary-color);
}

.vmm_offer_card_image {
  height: 140px;
  /* margin-top: 4px; */
  background-color: #cccccc;
}

.vmm_offer_card_price_quick_view {
  margin: 8px 0;
  justify-content: space-around;
}

.vmm_offer_card_price_quick_view div {
  width: 45%;
}

.vmm_offer_card_price {
  color: var(--background-color);
  font-size: 40px;
  font-weight: bold;
}

.vmm_offer_card_rating {
  color: var(--background-color);
  font-size: 24px;
  font-weight: bold;
  margin-top: -8px;
}

.vmm_offer_ratings_stacked {
  width: 50%;
  margin-bottom: 8px;
}

.vmm_offer_ratings_stacked p {
  margin-top: 4px;
  margin-bottom: 4px;
}

.vmm_offer_card_quick_view button {
  color: var(--card-background-color);
  background-color: var(--card-primary-color);
  border-color: transparent;
  border-radius: 4px;
}

.vmm_offer_card_match_score {
  background-color: var(--offer-header-color);
  color: var(--offer-header-background-color);
  margin: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 16px;
  font-weight: 500;
}

.vmm_offers_countdown {
  margin-bottom: 1rem;
  font-size: 18px;
  font-weight: 500;
  color: var(--message-text-color);
  background-color: var(--message-background-color);
  border-radius: 9999px;
  padding: 0 1.5rem;
  text-align: center;
  position: sticky;
  top: 1rem;
  z-index: 1001;
}

.vmm_offer_card_details_display {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  /* width: calc(100% - 32px);
    height: calc(100% - 32px);
    top: 16px;
    left: 16px; */
  background-color: white;
  color: black;
  border: 1px solid black;
  box-shadow: 2px 2px 4px black;
  z-index: 1100;
  font-family: Arial, Helvetica, sans-serif;
}

.vmm_offer_card_details_text {
  padding: 0 1rem;
  max-height: 80%;
  overflow-y: auto;
}

.vmm_offers_countdown strong {
  font-size: 20px;
}

.vmm_round_title_1 {
  font-weight: 500;
  font-size: 6vw;
  text-align: center;
}

.vmm_round_title_2 {
  font-weight: 500;
  font-size: 12vw;
  line-height: 1;
  text-align: center;
}

.vmm_notice_card {
  padding: 1rem 2rem;
  text-align: center;
  line-height: 1.5;
}

.vmm_button_next_round {
  padding: 1rem 2rem;
}

.vmm_top_3_offers,
.vmm_additional_offers {
  align-items: flex-end;
  text-align: center;
  font-weight: 500;
}

.vmm_top_3_helper_number {
  display: none;
  font-size: 40px;
  font-weight: bold;
  color: teal;
}

.vmm_affinities_section {
  width: 90%;
  margin-top: 1rem;
  font-size: 18px;
}

.vmm_affinities_set {
  margin-top: 1rem;
  width: 100%;
}

.vmm_affinity_make {
  width: 100%;
  height: 3rem;
  align-items: baseline;
  margin: 0.5rem 0;
  padding: 0.5rem 0;
  border-top: 1px #888 solid;
}

.vmm_affinity_rank {
  flex-shrink: 1;
  font-size: 32px;
  font-weight: 500;
}

.vmm_affinity_name {
  flex-grow: 1;
  padding: 0 1rem;
  font-size: 24px;
  font-weight: bold;
}

.vmm_affinity_go_button {
  flex-shrink: 1;
  background-color: transparent;
  color: var(--primary-color);
  border: none;
  font-size: inherit;
  font-weight: 500;
}

.vmm_top_3_header {
  color: var(--text-color);
  font-weight: 500;
}

.vmm_top_3_offers_first figure {
  border: 4px solid gold;
  border-image: linear-gradient(to bottom, #d4af37 0%, #c5a028 100%) 25%;
}

.vmm_top_3_offers_second figure {
  border: 4px solid silver;
  border-image: linear-gradient(to bottom, #c9c0bb 0%, #bab1ac 100%) 25%;
}

.vmm_top_3_offers_third figure {
  border: 4px solid chocolate;
  border-image: linear-gradient(to bottom, #a57164 0%, #966255 100%) 25%;
}

.vmm_result_other {
  width: 200px;
  height: 120px;
  position: relative;
}

.vmm_share_card {
  width: 300px;
  margin: 4px;
  height: 360px;
  justify-content: center;
  line-height: 1.75;
  font-size: 18px;
}

.vmm_share_card p {
  width: 85%;
  text-align: center;
}

.vmm_social_button {
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0 4px;
  border-width: 0;
  border-radius: 100%;
  background-color: var(--primary-color);
}

.vmm_loading_card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  background-color: var(--message-background-color);
}

.vmm_loading_bar {
  height: 4px;
  width: 15%;
  left: 1rem;
  background-color: var(--primary-color);
  position: absolute;
  animation: loading_bounce;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

.vmm_scale_gradient {
  background: linear-gradient(to right, red, orange, yellow, green);
}

@keyframes loading_bounce {
  from {
    left: 1rem;
  }

  to {
    left: calc(85% - 1rem);
  }
}

/* Media queries last */
@media (max-width: 767px) {
  .vmm_radio_switch {
    height: 32px;
    align-items: center;
  }

  .vmm_choice_powertrain {
    width: 84px;
    font-size: 11px;
  }

  .vmm_offers_countdown {
    border-radius: 1rem;
  }

  .vmm_description {
    font-size: 18px;
  }

  .vmm_stepper {
    height: 3.5rem;
    margin-bottom: unset;
  }

  .vmm_stepper_name {
    display: none;
  }

  .vmm_stepper_circle {
    /* color: transparent !important; */
    font-size: 0.75rem;
    background-color: var(--background-color);
    height: 1.5rem;
    width: 1.5rem;
  }

  .vmm_stepper_bar {
    top: 10px;
  }

  .vmm_stepper_title {
    color: white;
    font-weight: 400;
    position: absolute;
    top: 2rem;
  }
}

@media (max-width: 360px) {
  .vmm_add_another_step_2 {
    width: 100%;
  }

  .vmm_autocomplete_list {
    width: 95%;
    top: 80px;
  }

  .vmm_autocomplete_makes_list {
    top: 56px;
  }

  .vmm_autocomplete_item {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .vmm_container_previous_vehicle {
    padding-bottom: 2rem;
    border-bottom: 1px solid #cccccc;
    margin: 1rem 0;
  }

  .vmm_step_3_section {
    margin-bottom: 1rem;
  }

  .vmm_choice_powertrain {
    width: 76px;
    font-size: 10px;
  }

  .vmm_label.vmm_radio_switch {
    padding-bottom: unset;
    min-width: 5rem;
  }

  /* Horrible hack to make *this specific button* fit without wrapping or overflowing. */
  .vmm_step_3_section .vmm_label.vmm_radio_switch:nth-child(3) {
    min-width: 6rem;
  }
}
