.rhBlackFormSection{
    padding: 0 20px;
}
.rhBlackFormContainer{
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #232426;
    border-radius: 20px;
}
.rhBlackFormWrapper{
    max-width: 1092px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding:  45px 0 59px 0;
}   
.rhBlackFormTitle{
    font-family: Archivo;
    font-weight: 400;
    font-style: Regular;
    font-size: 44px;
    line-height: 117%;
    color: #FFFFFF;    
    margin-bottom: 10px;
}
.rhBlackFormSubTitle{
    font-family: Archivo;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 140%;
    color: #727374;
    margin-bottom: 40px;
}

.rhBlackFormContent{
    display: flex;
    width: 100%;
    gap: 20px;
    padding: 0 6px;
}
.rhBlackFrm__group{ 
    position: relative;
}
.rhBlackFormContent .rhBlackFrm__group:nth-child(1){
    width: 28.7%;
}
.rhBlackFormContent .rhBlackFrm__group:nth-child(2){
    width: 21%;
}
.rhBlackFormContent .rhBlackFrm__group:nth-child(3){
    width: 28.7%;
}
.rhBlackFormContent .rhBlackFrm__group:nth-child(4){
    width: 19.2%;
}
.rhBlackFrm__field-group{
    position: relative;
}
.rhBlackFrm__field{
    border: 1px solid #FFFFFF33;
    padding: 16px;
    border-radius: 6px;
    width: 100%;
    font-family: Archivo;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    background-color: transparent;
}
.rhBlackFrm__field:focus-visible{
    border: 1px solid #FFFFFF;
  outline: 1px solid transparent;

}

.rhBlackFrm__label{
    position: absolute;
    font-family: Archivo;
    font-weight: 400;
    font-style: Regular;
    font-size: 10px;
    line-height: 14px;
    vertical-align: middle;
    background-color: #232426;
    color: #FFFFFF;
    top: -6px;
    left: 14px;
    display: none;
    z-index: 2;
    padding: 0 4px;
}
.rhBlackFrm__field:focus~.rhBlackFrm__label {
    display: block;
}

.rhBlackCountry{
    position: absolute;
    left: 17px;
    top: 13.5px;
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-family: Archivo;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
}
.rhBlackCountry::after {
    content: '';
    width: 1px;
    height: 24px;
    background-color: #FFFFFF;
    opacity: .2;
    display: inline-block;
    margin-left: 3px;
    /* border: 1px solid var(--Neutral-color-white, #FFFFFF) */
}
.rhBlackFrm__field-group input[type='tel'].rhBlackFrm__field {
    text-indent: 50px;
}
.rhBlackFrm__group:nth-child(2)::before{
    position: absolute;
    top: 21px;
    left: 16px;
    content: "";
    background-image: url('../../../../content/dam/asianpaintsbeautifulhomes/bh-new-home-page-revamp/black-form-revamp/india-flag.jpg');
    background-position: center;
    background-size: cover;
    width: 18px;
    height: 13px;
    display: none;
}
.rhBlackFrm__field-group .error {
    font-family: Archivo;
    font-weight: 500;
    font-size: 12px;
    line-height: 16.8px;
    color: #D81921;
    display: inline-block;
    visibility: hidden;
}
.rhBlackFrm__field{
    padding: 14px;
}
/* .rhBlackFrm .rhBlackFrm__field-group.invalid .rhBlackFrm__field{
  border: 1px solid #D81921;
}
.rhBlackFrm .rhBlackFrm__field-group.invalid .rhBlackFrm__field:focus-visible{
      border: 1px solid #D81921 ;
} */
 .rhBlackFrm .rhBlackFrm__field-group.invalid .rhBlackFrm__field:focus,
.rhBlackFrm .rhBlackFrm__field-group.invalid .rhBlackFrm__field:focus-visible {
    outline: none; 
    border: 1px solid #D81921 ;
    box-shadow: none; 
}
.rhBlackFrm .invalid label{
 color: #D81921;

}
.rhBlackFrm__field-group .error::before {
  content: '';
  display: inline-block;
  width: 13.5px;
  height: 13.5px;
  background-image: url('../../../../content/dam/asianpaintsbeautifulhomes/bh-new-home-page-revamp/black-form-revamp/error-icon.png');
  background-size: contain; 
  background-repeat: no-repeat;
  /* margin-right: 2px;  */
  vertical-align: middle;
  position: absolute;
  left: 0;
  top: 5px;
}
.rhBlackFrm__field-group.invalid .error {
    visibility: visible;
    padding-top: 4.5px;
    padding-bottom: 20px;
    padding-left: 16px;
    position: relative;
}
.whatsapp-checkbox-wrapper{
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 11px;
    margin-bottom: 11px;
}
.whatsapp-checkbox {
    display: none;
}
.whatsapp-checkbox-label{
    width: 16px;
    height: 17px;
}
.custom-check {
    width: 16px;
    height: 16px;
    border: .5px solid #7345b2;
    border-radius: 4px;
    background-color: #232426;
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    z-index: 2;
}
.whatsapp-checkbox:checked+.custom-check {
    background-image: url('../../../../content/dam/asianpaintsbeautifulhomes/bh-new-home-page-revamp/black-form-revamp/rh-check-box.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    z-index: 1;
    cursor: pointer;
}
.rh-checkbox-text{
    font-family: Archivo;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 130%;
    color: #FFFFFF;
}
.rh-desc-btn-wrapper{
    display: flex;
    /* align-items: end; */
    /* gap: 57px; */
    justify-content: space-between;
    position: relative;
}
.rh-desc-txt{
    font-family: Archivo;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 120%;
    color: #8C8E90;
    /* padding-bottom: 32px; */
}
.rh-btn-wrapper{
    display: flex;
    gap: 20px;
    align-items: center;
    position: absolute;
    right: 0;
    bottom: 0;
}
.rh-form-clearbtn{
    font-family: Archivo;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 24px;
    color: #C9BDDB;
    background-color: transparent;
    border: unset;
    cursor: pointer;
}
.rh-form-submitbtn{
    min-width: 110px;
    /* width: 100%; */
    border-radius: 45px;
    /* background-color: #7345B2; */
    background: linear-gradient(270deg, #712CCB 0%, #A77FDC 100%);
    color: #FFFFFF;
    font-family: Archivo;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 140%;
    vertical-align: middle;
    border: 1px solid #7345b2;
    cursor: pointer;
    padding: 13px 27px;
}
.rh-thankyou-popup-container{
  position: relative;
}
.rh-thankyou-popup-img-wrapper{
  background-color: #FFFFFF;
}
.rh-thankyou-popup-img-desk{
  width: 100%;
  height: 100%;
}
.rh-thankyou-popup-img-mob{
  display: none;
}
.rh-thankyou-popup-content{
  position: absolute;
  top: 109px;
  left: 139px;
  display: flex;
  align-items: start;
  gap: 64px;
}
.rh-thankyou-popup-title{
  font-family: Archivo;
  font-weight: 300;
  font-size: 100px;
  line-height: 90%;
  background: linear-gradient(88.36deg, #7C35E9 -25.68%, #3A3A3A 56.52%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
    max-width: 350px;
}
.rh-thankyou-popup-desc{
 font-family: Archivo;
  font-weight: 400;
  font-size: 28px;
  line-height: 130%;
  color: #696969;
  max-width: 275px;
}
/* revamp thank you end */
/* something went wrong start */
.somethingwentwrong-wrapper.rh-somethingwentwrong-wrapper{
    padding: 0;
    background-color: white;
    position: relative;
}
.something-went-wrong-img-desk{
        display: block;
}
.something-went-wrong-img-mob{
    display: none;
}
.rh-somethingwentwrong-wrapper .something-went-wrong-content{
    position: absolute;
    top: 113px;
    left: 139px;
}
.rh-somethingwentwrong-wrapper .something-went-wrong-title{
    font-family: Archivo;
    font-weight: 400;
    font-size: 40px;
    line-height: 107%;
    background: linear-gradient(88.36deg, #7C35E9 -25.68%, #3A3A3A 56.52%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
    max-width: 406px;
    margin-bottom: 15px;
}
.rh-somethingwentwrong-wrapper .something-went-wrong-subtitle{
    font-family: Archivo;
    font-weight: 400;
    font-size: 28px;
    line-height: 130%;
    color: #696969;
    max-width: 482px;
    margin-bottom: 25px;
}
.rh-somethingwentwrong-wrapper .somethingwentwrong-button{
    padding: 14px 26px;
    font-family: Archivo;
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    color: #FFFFFF;
    display: block;
    background-color: #7345B2;
    border-radius: 45px;
    border: unset;
    min-width: 155px;
}
/* something went wrong end */
@media screen and (max-width:992px) {
    .rhBlackFormSection{
        padding: 0 16px;
    }
    .rhBlackFormWrapper{
        padding: 30px 16px;
    }   
    .rhBlackFormTitle{
        font-weight: 400;
        font-style: Regular;
        font-size: 30px;
        line-height: 114.99999999999999%;
        margin-bottom: 32px;

    }
    .rhBlackFormSubTitle{
        display: none;
    }
    .rhBlackFormContent{
        flex-wrap: wrap;
        gap: unset;
    }
    .rhBlackFormContent .rhBlackFrm__group:nth-child(1){
    width: 100%;
    order: 1;
}
.rhBlackFormContent .rhBlackFrm__group:nth-child(2){
    width: 61%;
    order: 2;
    margin-right: 16px;
}
.rhBlackFormContent .rhBlackFrm__group:nth-child(3){
    width: 100%;
    order: 4;
}
.rhBlackFormContent .rhBlackFrm__group:nth-child(4){
    width: 33%;
    order: 3;
}
.rhBlackFrm__group:nth-child(2)::before{
    display: none;
}
.rhBlackFrm__field-group input[type='tel'].rhBlackFrm__field{
    text-indent: 50px;
}
.rhBlackCountry{
    left: 16px;
}
.rhBlackFrm__field-group .error {
    font-size: 11px;
    line-height: 16.8px;
    visibility: hidden;
    padding: 4px 0;
}
.rhBlackFrm__field-group.invalid .error{
    padding-top: 3px;
    padding-bottom: 12px;
    padding-left: 14px;
}
.rhBlackFrm__field-group .error::before{
    width: 12px;
    height: 12px;
}
.whatsapp-checkbox-wrapper{
    align-items: start;
    margin-top: 0;
}
.whatsapp-checkbox-label{
    width: 16px;
    height: 16px;
}
.custom-check{
    width: 16px;
    height: 16px;
}
.rh-checkbox-text{
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 130%;
}
.rh-desc-btn-wrapper{
    flex-direction: column;
    gap: 11px;
    position: unset;
}
.rh-btn-wrapper{
    position: unset;
    justify-content: end;
    gap: 26px;
}
.rh-desc-txt{
font-weight: 400;
font-style: Regular;
font-size: 12px;
line-height: 120%;

}
.rh-form-clearbtn{
    font-weight: 600;
    font-style: SemiBold;
    font-size: 14px;
    line-height: 140%;
    color: #c9bddb;
}
.rh-form-submitbtn{
    min-width: 140px;
    background: linear-gradient(270deg, #712CCB 0%, #A77FDC 100%);
    padding: 14px 44px;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 150%;

}
   /* revamp thank popup start */
      .rh-thankyou-popup-img-desk{
        display: none;
     }
      .rh-thankyou-popup-img-mob{
        display: block;
        width: 100%;
        /* height: 100%; */
        height: 525px;
      }
      .rh-thankyou-popup-content{
          top: 47px;
          left: 28px;
          gap: 20px;
          flex-direction: column;
      }
      .rh-thankyou-popup-title{
 
        font-size: 70px;
        line-height: 100%;
        background: linear-gradient(88.36deg, #7C35E9 -25.68%, #3A3A3A 56.52%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent; 
        max-width: 260px;
}
.rh-thankyou-popup-desc{
  font-size: 23px;
  line-height: 130%;
  color: #696969;
  max-width: 233px;
}
.rhBlackForm  .check-container .checkmark:after{
  width: 3px;
  height: 8px;
}
      /* revamp thank popup end */

      /* something went wrong start */
.somethingwentwrong-wrapper.rh-somethingwentwrong-wrapper{
    padding: 0;
    background-color: white;
}
.something-went-wrong-img-desk{
    /* position: relative; */
    display: none;
}
.something-went-wrong-img-mob{
    display: block;
    width: 100%;
    height: 525px;
}
.rh-somethingwentwrong-wrapper .something-went-wrong-content{
    position: absolute;
    top: 44px;
    left: 26px;
}
.rh-somethingwentwrong-wrapper .something-went-wrong-title{   
    font-size: 30px;
    line-height: 100%;
    max-width: 200px;
    margin-bottom: 12px;
}
.rh-somethingwentwrong-wrapper .something-went-wrong-subtitle{
    font-size: 18px;
    max-width: 237px;
    margin-bottom: 17px;
}
.rh-somethingwentwrong-wrapper .somethingwentwrong-button{
    padding: 14px 21px;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    display: block;
    background: linear-gradient(270deg, #712CCB 0%, #A77FDC 100%);
    border-radius: 60px;
    border: unset;
    min-width: 140px;
    border: 1px solid #A77FDC;
}
/* something went wrong end */
}