/* thankyou-popup start  */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.thank_you_popup .dialog__container {
    position: relative;
}

.thank_you_popup .dialog__header {
    display: none;
}

.dialog__content .cross-img {
    display: none;
}

.thank_you_popup .dialog__content .cross-img {
    cursor: pointer;
    display: block;
}

.thank_you_popup .dialog__container.mgz__frm__second .dialog__body .dialog__content {
    padding: 32px 40px 38px 40px;
    min-height: 660px;
    position: relative;
}

.thank_you_popup .dialog__container.mgz__frm__second .dialog__body .dialog__content .cross-img {
    position: absolute;
    right: 30px;
}

.thank_you_popup .mgz__frm__second .mgz__text__wrapper {
    margin-bottom: 32px;
}

.thank_you_popup .mgz__frm__second .mgz__text__wrapper h2 {
    color: #000;
    text-align: center;
    font-family: BioRhyme;
    font-size: 36px;
    font-weight: 700;
    line-height: 42.192px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.thank_you_popup .mgz__frm__second .mgz__text__wrapper p {
    color: #000;
    text-align: center;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
}

.thank_you_popup .frm__group {
    position: relative;
}

.thank_you_popup .mgz__frm__second .frm__label.frm__mgz__label {
    top: -6px;
    position: absolute;
    left: 14px;
    padding: 0 4px;
    z-index: 2;
    background: #fff;
    color: #202020;
    font-family: Poppins;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    text-transform: capitalize;
    display: none;
}

.thank_you_popup .frm__group .ids_frm__label {
    display: none;
    top: -6px;
    position: absolute;
    left: 14px;
    padding: 0 4px;
    z-index: 2;
    background: #F7F2E7;
    color: #202020;
    font-family: Lato;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    text-transform: capitalize;
    transition: all 0.3s;
}

.thank_you_popup .frm__group .frm__field-group input:focus~.ids_frm__label {
    display: block;
}

.thank_you_popup #dialog-personal-info input[type='email']:active {
    border-bottom: 0.8px solid #202020;
}

.thank_you_popup .frm__field-group.invalid .error {
    padding: 6px 0;
}

.thank_you_popup .frm__field {
    border-radius: 8px;
    background: #F7F2E7;
    padding: 18px 16px;
    color: #202020;
    border: 1px solid rgba(32, 32, 32, 0.2);
    /* border: 1px solid #202020; */
    /* opacity: 0.2; */
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.thank_you_popup .frm__field:focus {
    border: 0.8px solid #202020;
}

.thank_you_popup input::placeholder {
    text-transform: capitalize;
    opacity: 0.4;
    color: #202020;
    font-size: 16px;
    font-weight: 400;
}

.thank_you_popup .dialog__body-both-btn {
    margin-top: 5px;
}

.thank_you_popup button#btn-save-personal-details {
    color: #F7F2E7 !important;
    width:max-content;
}

.thank_you_popup .dialog__body-cta {
    width: 100%;
    justify-content: flex-end;
}

.thank_you_popup .whatsapp-field-group label {
    position: relative;
    display: block;
    padding-left:38px;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 18.2px;
    cursor: pointer;
    color: #202020;
}

.thank_you_popup .whatsapp-field-group label input {
    width: 0;
    height: 0;
    opacity: 0;
}

.thank_you_popup .whatsapp-field-group label span {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    background-color: transparent;
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid #7345B2;
}

.thank_you_popup .whatsapp-field-group label input:checked~span::after {
    display: block;
    position: absolute;
    top: 2px;
    left: 7px;
    width: 4px;
    height: 10px;
    border-radius: 0;
    border: 1px solid #f7f2e7;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    box-sizing: unset;
}

.thank_you_popup .whatsapp-field-group label input:checked~span {
    background: #7345B2;
    border: unset;
}

.thank_you_popup input[type='tel'].frm__field#field_login_add_phone_number {
    text-indent: 75px;
}

.frm__field-group .country_code {
    display: none;
}   

.thank_you_popup .frm__field-group .country_code {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 1;
    display: flex;
    align-items: center;
    column-gap: 7px;
    color: #202020;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
}

.thank_you_popup .frm__field-group .country_code::before {
    content: '';
    background-image: url('../../../../content/dam/asianpaintsbeautifulhomes/icons/ids_icons/india.png');
    background-position: center;
    background-size: cover;
    width: 18px;
    height: 12px;
    display: block;
}

.thank_you_popup .frm__field-group .country_code::after {
    content: '';
    width: 1px;
    height: 20px;
    background-color: black;
    opacity: 0.2;
    display: inline-block;
    margin-left: 3px;
}

.thank_you_popup .btn--lg {
    padding: 12px 39px;
    font-family: Lato;
    font-size: 18px;
    font-weight: 700;
    line-height: 23.4px;
}
@media (max-width: 576px) {
    .thank_you_popup .dialog__container.mgz__frm__second .dialog__body .dialog__content {
        padding: 30px 20px;
        background-color: #fff;
        min-height: 629px;
        border-radius: 8px;
    }

    .thank_you_popup .mgz__frm__second .mgz__text__wrapper h2 {
        color: #323232;
        margin-bottom: 8px;
        font-size: 26px;
        line-height: 33.8px;
    }

    .thank_you_popup .mgz__frm__second .mgz__text__wrapper p {
        color: #323232;
    }

    .thank_you_popup .frm__field-group.invalid .error {
        padding: 5px;
    }

    .thank_you_popup .dialog__body-both-btn {
        margin-top: 15px;
    }

    .thank_you_popup button#btn-save-personal-details {
        width: 100%;
    }

    .thank_you_popup button#btn-cancelbtn-personal-details {
        width: 100%;
    }

    .thank_you_popup .whatsapp-field-group {
        gap: 20px;
        margin-bottom: 17px;
    }

    .thank_you_popup .frm__field-group .country_code {
        color: #100;
    }

    .thank_you_popup .whatsapp-field-group label {
        color: #323232;
        line-height: 18px;
    }

    .thank_you_popup.dialog.login-dialog .dialog__container.mgz__frm__second {
        width: 355px;
        height: auto;
    }

    .thank_you_popup .dialog__container.mgz__frm__second .dialog__body .dialog__content .cross-img {
        top: 10px;
        right: 10px;
    }

    .thank_you_popup .btn--lg {
        line-height: 18.4px;
    }

    .thank_you_popup .frm__group .error {
        line-height: 16px;
    }
}

/* thankyou-popup end  */