@import "../../styles/component.scss";

.paymentNewContainer{
  display: flex;
  width: 100%;
  flex-direction: row;
}

.loaderContainer{
  position: fixed;
  z-index: 9;
  top: 50%;
  left: 50%;
  width: 100%;
  background: rgb(0 0 0 / 50%);
  height: 100%;
  transform: translate(-50%, -50%);
   & span{
    font-size: xxx-large;
    position: fixed !important;
    top: 50%;
    left: 50%;
    z-index: 99999;
   }
}
.mainContainer{
  padding: 3rem;
  padding-bottom:1.5rem ;
}
.title{
  font-weight: 700;
font-size: 36px;
line-height: 1.1;
text-align: center;

}
.subTitle{
  font-weight: 400;
  font-size: 14px;
  color: #626570;
  text-align: center;
  margin: 1rem auto;
}
.leftContainer{
  background: #fafafa;
  border-radius: 6px;
  width: 100%;
}
.paymentText{
  font-weight: 500;
font-size: 16px;
line-height: 1.2;
text-align: center;
color: #797979;
}
.secondLeftContainer{
  background: #fafafa;
  border-radius: 6px;
  width: 100%;
  align-items: center;
  display: flex;
  justify-items: center;
  flex-direction: column;
}
.paymentPageLeftSection {
  width: 60%;
}
.paymentMethodRadioGroup {
  height: auto;
  width: 100%;
  :global(.ant-radio-group){
    width: 100%;
  }
  :global(.ant-space-vertical){
    width: 100%;
  }
  
}
.paymentOption {
  font-weight: 500;
  font-size: 14px;
  background: #F4F4F4;
border-radius: 6px;
padding: 1.5rem 1rem;
width: 100%;
margin-top:1rem;
}

.otpEnterMain {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.otpEnterMain > div > div > input {
  border: 1px solid #dddddd;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  width: 35px !important;
  height: 45px !important;
  margin: 0 7px;
}
.headerTitle {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  color: $primaryColor;
}
.buttonLogin{
    width: 285px !important;
}

.formMain{
  
}
.formMain  > form > div > div > div > label{
    color: $primaryColor;
}

.formMain  > form > div > div > div > label::after{
content: "" !important;

}

.paymentForm {
  width: 70%;
  background: #fafafa;
  border-radius: 6px;
}
.paymentButton {
  width: 252px;
  height: 50px;
  font-weight: 500;
  font-size: 14px;
}
.paymentFormRight {
  padding-left: 0.5rem !important;
}
.paymentFormLeft {
  padding-right: 0.5rem !important;
}
.checkoutPageTitle {
  font-weight: 600;
  font-size: 36px;
}
.inputFieldContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 30px;
}
.paddingInvoice{
padding-left: 1.5rem;
}
.addressContainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 60px;
}
.shippingAddressCard {
  height:  fit-content;
  background: #ffffff;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  
   border: 1px solid #e4e4e4;
}
.addressCardTitle {
  font-weight: 600;
  font-size: 18px;
}
.defaultFlag {
  font-weight: 400;
  font-size: 14px;
  color: #3e2e84;
}
.deliveryButton {
  border: 1px solid #291c61;
  color: #291c61;
  width: 166px;
  height: 42px;
  font-weight: 500;
  font-size: 14px;
}
.activeDeliveryButton {
  width: 166px;
  height: 42px;
}
.nextButton {
  // width: 122.5px;
  height: 45.79px;
}
.buckButton{
  font-size: 16px;
  font-weight: 600;
  color: $lightGray;
  &:hover{
    color: $primaryColor;
    font-weight: 900;
  }
}
.addAddressButton {
  width: 143px;
  height: 36px;
}
.progressBar {
  width: 600px;
  margin: 50px auto;
}
.checkoutLeftSection {

  
    background: #fafafa;
    border-radius: 6px;
    width: 100%;
    display: flex;
    flex: 0 0 70%;
}
.headerMainSubTitle {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  color: $primaryColor;
}
.otpText{
  font-weight: 400;
font-size: 14px;
line-height: 1;
padding-bottom: 1rem;
color: #555454;

}

.stepTitle {
  margin-top: -24px;
  padding-bottom: 10px;
  font-weight: 500;
  font-size: 14px;
}
// .stickyCheckoutFooter {
//   display: none;
// }
.sectionHeader {
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 13px;
}

.modalContent{
display: flex;
flex-direction: column;
justify-items: center;
align-items: center;
}

  .checkoutPageTitle {
    display: none;
  }
  .nextButtonFormItem {
    display: none !important;
  }
  .checkoutPageContainer {
    flex-direction: column;
    margin: 0;
    padding: 0;
    padding-bottom: 140px;
  }
  .stickyCheckoutFooter {
   
    z-index: 1;
    position: fixed;
    bottom: 0;
    background: #ffffff;
    box-shadow: 3px 0px 6px rgba(0, 0, 0, 0.16);
  }

  .mobileNextButton {
    width: 100%;
    height: 40px;
    font-weight: 500;
    font-size: 14px;
  }
  
  .inputFieldContainer {
    grid-template-columns: repeat(1, 1fr);
  }
  .addressContainer {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 30px;
  }
  .checkoutLeftSection {
    padding: 20px;
    background: #ffffff;
  }
  .paymentSummary {
    flex: 0 0 30%;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
  }
  .paymentPageLeftSection {
    width: 100%;
    padding: 20px;
  }
  
  .paymentForm {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
  }
  .paymentButton {
    display: none;
  }
  .paymentMethodContainer {
    flex-direction: column;
    padding: 1rem;
  }
  .mobilePaymentButton {
    width: 100%;
    height: 50px;
  }

  @media(max-width: 1199.98px) {
    .checkoutPageTitle {
      display: none;
    }
    .nextButtonFormItem {
      display: none !important;
    }
    .checkoutPageContainer {
      flex-direction: column;
      margin: 0;
      padding: 0;
      padding-bottom: 140px;
    }
    .stickyCheckoutFooter {
     
      z-index: 1;
      position: fixed;
      bottom: 0;
      background: #ffffff;
      box-shadow: 3px 0px 6px rgba(0, 0, 0, 0.16);
    }
  
    .mobileNextButton {
      width: 100%;
      height: 40px;
      font-weight: 500;
      font-size: 14px;
    }
    .progressBar {
      width: 100%;
      padding: 15px;
      margin: 50px 0 20px 0;
    }
    .inputFieldContainer {
      grid-template-columns: repeat(1, 1fr);
    }
    .addressContainer {
      grid-template-columns: repeat(1, 1fr);
      row-gap: 30px;
    }
    .checkoutLeftSection {
      padding: 20px;
      background: #ffffff;
    }
    .paymentSummary {
      width: 100%;
      display: flex;
      flex: 0 0 30%;
      padding-left: 1rem;
    }
    .paymentPageLeftSection {
      width: 100%;
      padding: 20px;
    }
    .paymentMethodRadioGroup {
      width: 100%;
      :global(.ant-space-vertical){
        width: 100%;
      }
    }
    .paymentForm {
      width: 100%;
      margin-top: 20px;
      padding: 20px;
    }
    .paymentButton {
      display: none;
    }
    .paymentMethodContainer {
      flex-direction: column;
    }
    .mobilePaymentButton {
      width: 100%;
      height: 50px;
    }
  }

  @media(max-width: 767.98px) {
    .paymentOption {
     width: 100%;
     height: auto;
    }
    .progressBar{
      margin: 20px 0 20px 0
    }
    .checkoutPageTitle{
      display: block;
    }
    .stepTitle{
      display: none;
    }
    .paymentContainer{
      padding: 8rem 0;
    }
    .checkoutLeftSection{
      width: 100%;
    }
    .paymentMethodRadioGroup{
      height: auto;
      width: 100%;
      :global(.ant-radio-group){
        width: 100%;
      }
    }
    .paymentMethodRadioGroup > div > div{
      width: 100% !important;

    }
    .mainContainer{
      padding: 1rem;
    }
    .paddingInvoice{
      padding: 0.5rem;
    }
  }

