/*quote form v2 testing styles*/
.v2-testing-form .form-step.active {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v2-testing-form .step-checks {
    display: none !important;
}

.v2-testing-form {
    max-width: 1135px !important;
    width: calc(100% - 10%) !important;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 12%);
    border: 4px solid #40ab55;
    border-radius: 40px !important;
    top: 80%;
    z-index: 2;
}

.v2-testing-form .btn-icon {
    position: relative;
}

.v2-testing-form .btn-icon::after {
    content: '';
    background-image: url(/wp-content/uploads/2024/05/angle-right-white.svg);
    position: absolute;
    width: 12px;
    height: 16px;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.v2-testing-form .form-step input[type="radio"] {
    width: 18px;
    height: 18px;
    border: 3px solid #40ab55 !important;
    appearance: none;
    border-radius: 50%;
    margin-right: 4px;
}

.v2-testing-form .form-step input[type="radio"]:checked {
    background-color: #0C71C3;
    accent-color: #40ab55;
}

.v2-testing-form .form-step .col-large {
  flex: 0 0 23%;
  max-width: 23%;
  margin-bottom: 6px !important;
}

.v2-testing-form .form-step > div {
  flex: 0 0 21%;
  max-width: 21%;
}

.v2-testing-form .form-step button {
  flex: 0 0 15%;
  max-width: 15%;
  border-radius: 40px;
  font-size: 18px;
  flex-shrink: 1;
  letter-spacing: 0;
  line-height: 1.3em;
}

.v2-testing-form .radio-group {
    align-items: flex-start !important;
    flex-wrap: wrap;
    flex-shrink: 1 !important;
    padding-left: 8px !important;
    gap: 10px;
    margin: 12px 0 !important;
}

.v2-testing-form .radio-group label:first-child {
    width: 100%;
}

.v2-testing-form .radio-group label:last-child {
    margin-right: 0;
}

.v2-testing-form .radio-group label:not(:first-child) {
    font-weight: 400 !important;
}

.v2-testing-form .form-step .input-group {
    border: 4px solid #40ab55;
    padding: 12px;
}

.v2-testing-form .form-step .input-group.invalid {
    border: 4px solid #e24358;
}

.v2-testing-form #step-2 {
    gap: 10px;
    align-items: center;
}

.v2-testing-form .input-group {
    background-color: #F5F7FA !important;
}

.v2-testing-form #step-2 .input-group label, .v2-testing-form #step-3 .input-group label {
    background-color: #F5F7FA;
    padding: 8px;
    position: absolute;
    top: -40%;
    left: 0;
}

.v2-testing-form #step-2 .input-group, .v2-testing-form #step-3 .input-group {
    padding: 18px 12px 12px 12px;
}

.v2-testing-form #step-2 .radio-group {
    column-gap: 20px;
    padding-left: 20px !important;
}

.v2-testing-form #step-3 {
    flex-wrap: wrap;
    column-gap: 10px;
    align-items: center;
}

.v2-testing-form #step-3 .input-group:first-child {
    flex: 0 0 40%;
    max-width: 40%;
}

.v2-testing-form #step-3 {
    margin-bottom: 0 !important;
}

.v2-testing-form #step-3 p {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .v2-testing-form {
        width: calc(100% - 4em) !important;
        top: 60%;
    }
    
    .v2-testing-form .form-step.active, .v2-testing-form .form-step {
        flex-direction: column;
    }

    .v2-testing-form .form-step .col-large, .v2-testing-form .form-step > div, .v2-testing-form .form-step button, .v2-testing-form #step-3 .input-group:first-child {
        flex: 100%;
        max-width: 100%;
        width: 100%;
    }

    .v2-testing-form .radio-group {
        display: flex !important;
    }

    .v2-testing-form .radio-group div:first-of-type {
        margin-top: 0 !important;
    }

    .v2-testing-form .form-step .input-group, .v2-testing-form, .v2-testing-form .form-step .input-group.invalid {
        border-width: 3px !important; 
    }

    .v2-testing-form .radio-group, .v2-testing-form #step-2 .radio-group {
        padding-left: 0 !important;
        margin: 0 !important;
    }

    .v2-testing-form #step-2 .input-group label, .v2-testing-form #step-3 .input-group label {
        padding: 6px;
        top: -30%;
    }

    .v2-testing-form #step-2 {
        gap: 14px;
    }

    .v2-testing-form #step-3 {
        gap: 14px;
    }
}

@media screen and (max-width: 767px) {
        .v2-testing-form {
            top: 56% !important;
            padding: 24px !important;
    }
}
/*end*/


.suggestions:empty {
    display: none;
    margin: 0 !important;
    padding: 0 !important;
}

.suggestions:not(:empty) {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    z-index: 999;
    border: 1px solid #00a1ef;
    max-height: 300px;
    overflow-y: scroll;
}

.suggestions li {
    list-style: none;
    padding: 6px;
    padding-left: 20px;
    background-color: #fff;
    font-size: 16px;
    color: #232b36;
    cursor: pointer;
}

.suggestions li:hover,
.suggestions li.active {
    background-color: #dceefb;
}

/* General form styles */
.quote-form {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    background-color: #F5F7FA;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.50);
    font-family: Arial, sans-serif;
}

/* Form step styles */
.form-step {
    display: none;
}

.form-step>div {
    position: relative;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    line-height: 25px;
    font-weight: 500;
}

.form-step label {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 24px;
}

/* .form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="tel"],
.form-step select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
} */

.form-step input[type="radio"] {
    margin-right: 2px;
}

.form-step .input-group {
    position: relative;
    background-color: #fff;
    width: 100%;
    padding: 16px;
    border: 1px solid #E2E6EC;
    box-sizing: border-box;
}


.form-step .input-group input,
.form-step .input-group select {
    width: 100%;
    background-color: transparent;
    border: none;
    font-family: "Open Sans", sans-serif;
    font-size: 0.875rem;
    line-height: 20px;
    padding: 0;
    outline: none;
}

.form-step .input-group.disabled {
    background-color: #F5F7FA;
}

.form-step .input-group.disabled label {
    color: #9fa0a1;
}

.form-step #vehicle-year,
.form-step #vehicle-make,
.form-step #vehicle-model,
.form-step #first-available-date {
    cursor: pointer;


}

.select::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent black transparent;
    transform: rotate(180deg);
    z-index: 1;
}

.form-step #vehicle-year-dropdown,
.form-step #vehicle-make-dropdown,
.form-step #vehicle-model-dropdown,
.form-step #first-available-date-dropdown {
    display: none;
}

.form-step .input-group select:disabled {
    cursor: not-allowed;
}

.form-step .input-group .error {
    position: absolute;
    display: block;
    color: #e24358;
    font-size: 12px;
    line-height: 1;
}

.form-step .input-group.invalid {
    border: 1px solid #e24358;
}

.form-step .radio-group {
    margin: 16px 0;
    padding-left: 16px;
    display: flex;
    align-items: center;
}

.form-step .radio-group div {
    display: flex;
    align-items: center;
}

.form-step .radio-group label {
    margin-right: 24px;
}

.form-step button {
    padding: 10px;
    text-align: center;
    width: 100%;
    font-family: "Open Sans";
    font-size: 22px;
    letter-spacing: 2px;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 400;
    /* background: #0C71C3; */
    background: #4CA773;
    position: relative;
}

.form-step button:hover {
    /* background-color: #0056b3; */
    background-color: #3e8e61;
}

/* Privacy note */
.form-step p {
    margin: 16px 0;
    font-family: "Open Sans";
    font-size: 10px;
    line-height: 14px;
    font-weight: 600;
}

.step-checks {
    display: none;
}

.step-checks p {
    margin-bottom: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 20px;
}

.step-checks.visible {
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.step-check {
    word-break: keep-all;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 75px;
}


.step-check div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 20px;
    color: #9BA3AF;
    border: 1px solid #E2E6EC;
    background-color: transparent;
}

.step-check div.next {
    border: 1px solid #00AA6E;
    background: #fff;
    color: #00AA6E;
}

.step-check div.active {
    background-color: #00AA6E;
    cursor: pointer;
}

button:disabled {
    background-color: #a1d3b5 !important; 
}

button.loading::after {
    content: "";
    display: inline-block;
    width: 25px;
    margin-left: 15px;
    height: 25px;
    border: 2px solid transparent;
    border-top-color: #fff;
    position: absolute;
    border-radius: 50%;
    top: 15px;
    animation: button-loading-spinner 1s ease infinite;
}

@media only screen and (max-width: 450px) {
    .form-step .radio-group {
        display: block;
    }

    .form-step .radio-group div:first-of-type {
        margin-top: 10px;
    }
}

.unselectable {
    pointer-events: none;
    color: gray;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}


.date-picker-wrapper {
    position: relative;
    display: inline-block;
    width: 100%; /* Ensure the wrapper takes the full width */
}

.date-picker-wrapper input {
    width: 100%; /* Ensure the input takes the full width */
    box-sizing: border-box; /* Include padding in the width calculation */
}