.contactFormWrapper {
    display: flex;}

.formSection {
    flex: 1;
    background-color: var(--white);
    /* overflow-y: auto; */
    padding: 35px 50px;
}

.headerSection {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.backButton {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
    padding: 5px;
}

.headerText {
    display: flex;
    flex-direction: column;
}

.headerTitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.headerSubtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
}

.formTitle {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
    line-height: 100%;
}

.mandatoryText {
    font-size: 12px;
    color: var(--black);
    margin-bottom: 30px;
}

.formGroup {
    margin-bottom: 24px;
    position: relative;
}

.formInput,
.formSelect {
    width: 100%;
    padding: 6px 20px;
    border: 1px solid var(--light-grey-color);
    border-radius: 4px;
    font-size: 16px;
    color: var(--black);
    background-color: #fff;
    transition: border-color 0.3s;
    height: 46px;
}

.formInput:focus,
.formSelect:focus {
    outline: none;
    border-color: var(--green-color);
}

.formInput.error,
.formSelect.error {
    border-color: var(--red-color);
}

.formInput.success,
.formSelect.success {
    border-color: var(--green-color);
    padding-right: 45px;
}

.formSelect {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

/* .formSelect.success {
    background-position: right 45px center;
} */

.floatingLabel {
    position: absolute;
    left: 15px;
    top: 25px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: #fff;
    padding: 0 6px;
}

/* .floatingLabel::after {
    content: '*';
    position: absolute;
    right: -3px;
    top: 0;
} */

.formInput:focus+.floatingLabel,
.formInput:not(:placeholder-shown)+.floatingLabel,
.formInput.hasValue+.floatingLabel {
    top: 0;
    font-size: 12px;
    color: var(--grey-color);
    font-weight: 400;
}

.formSelect:focus+.floatingLabel,
.formSelect.hasValue+.floatingLabel,
.formSelect.active+.floatingLabel {
    top: 0;
    font-size: 11px;
    color: #666;
}

.formInput:focus+.floatingLabel,
.formSelect:focus+.floatingLabel,
.formSelect.active+.floatingLabel {
    color: #000;
}

.helperText {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

.errorMessage {
    font-size: 12px;
    color: var(--red-color);
    font-weight: 400;
    margin-top: 4px;
    line-height: normal;
    display: none;
}

.successIcon {
    position: absolute;
    right: -6px;
    top: 3px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--green-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.successIcon::after {
    background: url('../images/tick-mark.svg') center no-repeat;
    content: '';
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.successIcon.show {
    display: flex;
}

.errorIcon {
    position: absolute;
    right: -6px;
    top: 3px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--red-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.errorIcon::after {
    background: url('../images/cross-x-icon.svg') center no-repeat;
    content: '';
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.errorIcon.show {
    display: flex;
}

.submitButton {
    background-color: var(--yellow-color);
    color: var(--black);
    padding: 14px 30px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    line-height: 15px;
    transition: background-color 0.3s;
}

.submitButton:hover {
    background-color: #e6d400;
}

.privacyText {
    font-size: 14px;
    color: var(--black);
    margin-top: 12px;
    line-height: 1.5;
}

.privacyLink {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
}

.previewSection {
    flex: 1;
    padding: 30px 45px;
    border-left: 1px solid #ddd;
}

.previewTitle {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.carCard {
    overflow: hidden;
}

.carHeader {
    background-color: #3E3F40;
    color: #fff;
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carName,
.carPrice {
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
}

.carImageContainer {
    text-align: center;
}

.carImage {
    max-width: 100%;
    height: 164px;
    width: 100%;
    object-fit: cover;
}

.stepsContainer {
    padding: 20px 0;
}

.stepItem {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 38px;
}

.stepItem:last-child {
    margin-bottom: 0;
}

.stepNumber {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    gap: 20px;
}

.stepNumber.active {
    background-color: #EFDF00;
    color: var(--black);
    font-weight: 700;
}

.stepNumber.inactive {
    background-color: #f0f0f0;
    color: #999;
}

.stepText {
    font-size: 14px;
    font-weight: 500;
}

.stepText.active {
    color: #000;
}

.stepText.inactive {
    color: #ccc;
}

.closeButton {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    z-index: 10;
}

.btnContainer {
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btnContainer button {
    padding: 4px 10px;

}

/* OTP circular timer inside input */
#otpField {
    padding-right: 120px;
}

.otpTimerWrap {
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}

.otpTimer {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--black);
}

.otpSvg {
    width: 16px;
    height: 16px;
    transform: rotate(-90deg);
    display: block;
}

.otpCircle-bg {
    fill: none;
    stroke: var(--light-grey-color);
    stroke-width: 3;
}

.otpCircle-progress {
    fill: none;
    stroke: var(--yellow-color);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.25s linear;
}

.otpLabel {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    min-width: 44px; /* fits 00:30 */
    text-align: left;
}

.otpTimerWrap.expired .otpTimer {
    opacity: 0.6;
}


@media (max-width: 1024px) {
    .contactFormWrapper {
        flex-direction: column;
    }

    .previewSection {
        border-left: none;
        border-top: 1px solid #ddd;
    }
}

@media (max-width: 768px) {

    .formSection,
    .previewSection {
        padding: 16px 0px;
    }

    .formTitle {
        font-size: 22px;
    }

    .headerSubtitle {
        font-size: 20px;
    }
}
.otpTimerInput{
    position: relative;
}
.otpTimerInput .formGroup{
    margin-bottom: 36px;
}
.resendFormOtp{
    display: block;
    margin-left: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 6px;
    text-decoration: underline;
    position: absolute;
    right: 0;
    z-index: 9;
    bottom: -20px;
}
.formGroup .select2-container .select2-selection--single {
    width: 100%;
    padding: 6px 20px;
    border: 1px solid var(--light-grey-color);
    border-radius: 4px;
    font-size: 16px;
    color: var(--black);
    background-color: #fff;
    transition: border-color 0.3s;
    height: 46px;
}
.select2-container--open+.floatingLabel,
.formSelect.hasValue+.select2-container+.floatingLabel,
.formSelect.active+.select2-container+.floatingLabel {
    top: 0;
    font-size: 12px;
    color: var(--grey-color);
    font-weight: 400;
    z-index: 1;
    /* Ensure label is above select2 */
    background-color: #fff;
    padding: 0 6px;
}
        
.select2-container .select2-selection--single {
    height: 46px;
    padding: 8px 10px;
    border: 1px solid var(--light-grey-color);
    border-radius: 4px;
    font-size: 16px;
    color: var(--black);
    background-color: #fff;
    transition: border-color 0.3s;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    color: var(--black);
    line-height: normal;
}

.select2-container--default .select2-selection--single {
    border-color: var(--light-grey-color);
}

.select2-container--open .select2-selection--single {
    border-color: var(--green-color);
}

.select2-container--open+.floatingLabel,
.formSelect.hasValue+.select2-container+.floatingLabel,
.formSelect.active+.select2-container+.floatingLabel {
    top: 0;
    font-size: 12px;
    color: var(--grey-color);
    font-weight: 400;
    z-index: 1;
    /* Ensure label is above select2 */
    background-color: #fff;
    padding: 0 6px;
}

.formGroup {
    position: relative;
}

/* Override default Select2 focus outline */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--green-color);
}

.formGroup .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px;
    padding-right: 0px;
}

.formGroup .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #00000070 transparent;
    border-width: 0 5px 6px 5px;
}
.formGroup .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #00000070 transparent transparent transparent;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.formGroup .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 20px;
    position: absolute;
    top: 12px;
    right: 13px;
    width: 20px;
}

.formGroup .select2-container--default .select2-selection--single .select2-selection__clear {
    opacity: 0;
}