.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;
}
.captcha-box{
    position: relative;
}
.captcha-box button{
    position: absolute;
    top:13px;
    right:20px;
    border: none;
    background: #fff;
}
.captcha-box #captcha-image{
    border: 1px solid #D9D9D6;
    margin-bottom: 24px;    
}

/* Color Swatch Picker */
.colorPickerGroup {
    margin-bottom: 24px;
    position: relative;
}
.colorPickerLabel {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 0;
    text-transform: capitalize;
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 11px;
    background: #fff;
    padding: 0 4px;
    z-index: 1;
    transform: translateY(-50%);
}
.colorSwatches {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex-wrap: wrap;
    min-height: 48px;
    padding: 14px 20px;
    border: 1px solid #D9D9D6;
    border-radius: 5px;
    transition: border-color 0.2s ease;
}
.colorSwatches:hover {
    border-color: #999;
}
.colorSwatchHint {
    font-size: 13px;
    color: #999;
}
.colorSwatch {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.colorSwatch:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}
.colorSwatch.selected {
    border-color: #333;
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
.colorSwatch .checkIcon {
    display: none;
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFD700;
    color: #333;
    font-size: 11px;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.colorSwatch.selected .checkIcon {
    display: block;
}
.colorSwatch[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    pointer-events: none;
}
.colorSwatch[data-tooltip]:hover::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
    z-index: 10;
    pointer-events: none;
}
.colorSwatchName {
    display: none;
}
.colorSwatchItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}
.colorPickerGroup.error .colorSwatches {
    border-color: var(--red-color);
}
.colorPickerGroup.success .colorSwatches {
    border-color: var(--green-color);
}
.privacyModal{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    z-index:99999;
}

.privacyModalContent{
    position:relative;
    width:90%;
    max-width:700px;
    background:#fff;
    margin:6% auto;
    border-radius:10px;
    padding:25px;
    max-height:80vh;
    overflow-y:auto;
}

.privacyClose{
    position:absolute;
    top:15px;
    right:18px;
    font-size:30px;
    cursor:pointer;
    font-weight:bold;
}

.privacyClose:hover{
    color:red;
}

.privacyBody{
    margin-top:15px;
    line-height:1.8;
    color:#444;
}

.privacyLink{
    color:#0586A4;
    cursor:pointer;
    font-weight:600;
    text-decoration:underline;
}