.test-drive-form {
  max-width: 1280px;
  padding: 0;
  width: 100%;
  margin: 0 auto;
  margin-top: 29px;
}
.test-drive-form .form-group:has(input.is-invalid) .invalid-feedback {
  display: block;
}
.test-drive-form h4 {
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: rgba(0, 0, 0, 0.96);
  padding: 8px 0px;
  margin-bottom: 16px;
  margin-top: 24px;
}
.test-drive-form h3 {
  font-size: 28px;
  line-height: 34px;
  margin: 0;
}
.test-drive-form .test-store-location {
  color: #1C6BBA !important;
  font-size: 10px;
  line-height: 12px;
}
.test-drive-form .test-store-location img {
  margin-top: -3px;
}
.test-drive-form span.form-title {
  display: block;
  margin: 22px 0 40px 0;
  font-size: 18px;
  line-height: 22px;
}
@media screen and (min-width: 767px) {
  .test-drive-form form {
    width: 392px;
  }
}
.test-drive-form .agreement {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 14px;
}
.test-drive-form .agreement .agreement-required {
  background: #2A609D;
  color: white;
  padding: 3px;
  font-size: 7px;
  height: 19px;
  white-space: nowrap;
}
.test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (min-width: 767px) {
  .test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media screen and (max-width: 767px) {
  .test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 4px;
  }
}
.test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex .agreement-preferable-contact-title {
  font-size: 14px;
  line-height: 16px;
  font-weight: 500;
}
.test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex .agreement-preferable-contact-content {
  font-weight: 350;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #141414;
}
@media screen and (min-width: 767px) {
  .test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex .agreement-preferable-contact-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 4px;
  }
}
@media screen and (max-width: 767px) {
  .test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex .agreement-preferable-contact-content {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    margin-top: 15px;
  }
}
.test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex .agreement-preferable-contact-content .agreement-preferable-contact-radio {
  margin-left: 5px;
}
.test-drive-form .agreement .agreement-preferable-contact .agreement-preferable-contact-flex .agreement-preferable-contact-content .form-control {
  display: unset;
  height: unset;
  width: unset;
}
.test-drive-form .agreement .agreement-title {
  font-size: 14px;
  line-height: 32px;
  font-weight: 500;
}
.test-drive-form .agreement .agreement-content {
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.64);
  margin-bottom: 12px;
}
.test-drive-form .agreement .agreement-check .agreement-check-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}
.test-drive-form .agreement .agreement-check .agreement-check-flex .agreement-check-checkbox {
  width: 17px;
  height: 17px;
  margin-left: 3px;
}
.test-drive-form .agreement .agreement-check .agreement-check-flex .agreement-check-text {
  font-weight: 350;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #141414;
}

.reschedule-test-drive-form {
  margin-top: 0;
}
.reschedule-test-drive-form h4 {
  margin-top: 0;
}

button.btn-primary {
  background-color: #2A609D;
  height: 48px;
  color: #fff;
  border-color: #2A609D;
  margin: 24px auto 0px auto;
  font-family: "Volvo Novum medium";
  font-size: 16px;
}
@media screen and (min-width: 767px) {
  button.btn-primary {
    width: 392px;
  }
}
button.btn-primary:hover {
  color: #fff;
  -webkit-transition: all 0.5s linear;
  transition: all 0.5s linear;
  background-color: #2A609D;
}

.form-group-grid {
  display: grid;
  gap: 16px;
}
@media screen and (min-width: 767px) {
  .form-group-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: unset;
}
.form-group input.form-control {
  height: 56px;
  border-color: #D5D5D5;
  padding: 17px 19px 1px 19px;
  -webkit-appearance: button;
     -moz-appearance: button;
          appearance: button;
}
.form-group #test-drive-form-phone {
  text-indent: 44px;
}
.form-group #test-drive-form-phone:not(:-moz-placeholder-shown) ~ .area-code::before {
  content: attr(data-area);
  position: absolute;
  font-size: 13px;
  left: 20px;
  top: 27px;
  color: #495057;
}
.form-group #test-drive-form-phone:not(:-ms-input-placeholder) ~ .area-code::before {
  content: attr(data-area);
  position: absolute;
  font-size: 13px;
  left: 20px;
  top: 27px;
  color: #495057;
}
.form-group #test-drive-form-phone:not(:placeholder-shown) ~ .area-code::before, .form-group #test-drive-form-phone:focus ~ .area-code::before {
  content: attr(data-area);
  position: absolute;
  font-size: 13px;
  left: 20px;
  top: 27px;
  color: #495057;
}

input.form-control:placeholder-shown::-webkit-input-placeholder {
  color: transparent;
}

input.form-control:placeholder-shown::-moz-placeholder {
  color: transparent;
}

input.form-control:placeholder-shown:-ms-input-placeholder {
  color: transparent;
}

input.form-control:placeholder-shown::-ms-input-placeholder {
  color: transparent;
}

input.form-control:-moz-placeholder-shown::placeholder {
  color: transparent;
}

input.form-control:-ms-input-placeholder::placeholder {
  color: transparent;
}

input.form-control:placeholder-shown::placeholder {
  color: transparent;
}

.form-group:not(.custom-control) {
  position: relative;
}

.form-control-label {
  position: absolute;
  left: 19px;
  top: 14px;
  color: #707070;
  font-size: 16px;
  -webkit-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
  -webkit-transition-duration: 200ms;
          transition-duration: 200ms;
}
.form-control-label::before {
  color: #707070 !important;
}

.cancel-reason-label {
  width: 100%;
  font-size: 14px;
  line-height: 17px;
}

.cancel-reason-outer {
  padding: 60px;
}
@media screen and (max-width: 767px) {
  .cancel-reason-outer {
    padding: 60px 10px;
  }
}

.cancel-td-container {
  text-align: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.cancel-confirm-btn {
  width: 100% !important;
}

.invalid-feedback {
  color: #FF0000;
  margin-top: 10px;
}

input.form-control {
  font-size: 13px;
}
input.form-control.is-invalid {
  border-color: #FF0000;
}

form.login input.form-control.is-invalid ~ .form-control-label {
  color: #FF0000;
}

input#reset-password-email.is-invalid ~ .form-control-label {
  color: #707070;
}

input.form-control:focus {
  border-color: #1C6BBA;
  -webkit-box-shadow: none;
          box-shadow: none;
}

input.form-control:not(:-moz-placeholder-shown) ~ .form-control-label {
  transform: translateY(-8px);
  font-size: 13px;
  transition-timing-function: ease-out;
  transition-duration: 200ms;
}

input.form-control:not(:-ms-input-placeholder) ~ .form-control-label {
  transform: translateY(-8px);
  font-size: 13px;
  transition-timing-function: ease-out;
  transition-duration: 200ms;
}

input.form-control:not(:placeholder-shown) ~ .form-control-label,
input.form-control:focus ~ .form-control-label {
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
  font-size: 13px;
  -webkit-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
  -webkit-transition-duration: 200ms;
          transition-duration: 200ms;
}
input.form-control:not(:-moz-placeholder-shown) ~ .form-control-label i.question img {
  width: 12px;
}
input.form-control:not(:-ms-input-placeholder) ~ .form-control-label i.question img {
  width: 12px;
}
input.form-control:not(:placeholder-shown) ~ .form-control-label i.question img,
input.form-control:focus ~ .form-control-label i.question img {
  width: 12px;
}

a.terms-popup.termAndCondition {
  color: #707070 !important;
  text-decoration: underline;
}

textarea#test-drive-notion {
  height: 112px;
  resize: none;
}

.cancel-td {
  padding-top: 10px;
}

.cancel-td a {
  border: 1px solid #284E80;
  height: 48px;
  color: #284E80;
  font-size: 16px;
  padding: 0;
  line-height: 48px;
  margin-right: 30px;
}

.cancel-td a:hover {
  background: #2A609D !important;
  color: #fff !important;
}

.btn-disabled {
  pointer-events: none;
  background-color: #BBCCE0 !important;
  border: none;
}
