body.noscroll {
  overflow: hidden;
}

.popup {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -1000px;
    left: -1000px;
    opacity: 0; 
    background-color: rgba(10, 10, 10, 0.5); 
    z-index: 1000;
    transition: opacity 0.3s ease-in-out; 
}


  .popup.open {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 1; /* Make visible */
  }

  .popup-body { /* p-8 */
    background-color: white; /* bg-white */
    position: relative; /* relative */
    max-width: 300px; /* max-w-[300px] */
    padding: 1.5rem;
    height: 100%;
    max-height: 73%;
    overflow: hidden;
  
    /* Responsive styles */
   
    @media (min-width: 1440px) {
      padding: 2.5rem; /* xl:p-10 */
    }
    @media (min-width: 640px) {
      max-width: 500px; /* lg:max-w-[720px] */
    }
  }
   
  .scroll-container {
    height: 100%; 
    overflow: hidden; 
  }
  
  .scroll-content {
    overflow-y: scroll;
    box-sizing: content-box; 
    margin-bottom: 32px;
    height: 100%;
    max-height: calc(100% - 100px);;
    /* max-height: 65%;
  
    @media (min-width: 768px) {
      max-height: 80%;
    }
  
    @media (min-width: 1366px) {
      max-height: 80%;
    }
  
    @media (min-width: 1440px) {
      max-height: 85%;
    } */
  }
  
  .popupfooter{
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 10px;
    flex: 1 0 0;
    /* @media (min-width: 640px) {
      display: flex;
    } */
    }

  .popup-btn {
    position: absolute;
    top: 0.5rem; /* top-2 */
    right: 0.5rem; /* right-2 */
    /* Responsive adjustments */
    @media (min-width: 1024px) {
      top: 1rem; /* lg:top-4 */
      right: 1rem; /* lg:right-4 */
    }
    @media (min-width: 2560px) { /* Adjust this breakpoint according to your needs */
      top: 1.25rem; /* 4xl:top-5 */
      right: 1.25rem; /* 4xl:right-5 */
    }
  }

.border-pink {
    background-color: white;
    border-radius: 5px;
    border: 1px solid var(--mainpink);
    padding: 14px 18px;
    color: var(--mainpink) !important;
    @media (min-width: 768px) {
      min-width: 200px;
    }
}

.border-pink:hover {
    color: var(--maingray) !important;
    border-color: var(--maingray);
    background-color: transparent;
}

.pink-button {
  background-color: var(--mainpink);
  border-radius: 5px;
  border: 1px solid var(--mainpink);
  padding: 14px;
  color: white !important;
  @media (min-width: 768px) {
    top: 1rem; 
    right: 1rem; 
    min-width: 200px;
  }
}

.pink-button:hover {
  color: var(--maingray) !important;
  border-color: var(--maingray);
  background-color: transparent;
}

.popuptext{
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: var(--body14);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: left;
}

.popuptitle{
  font-size: var(--body20);
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.popup-form input {
  padding: 10px;
  border: 1px solid #F1F0F0;
  background: #FFF;
}

.popup-form label.position-absolute {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #65656599;
  cursor: auto;
}

.popup-form label.position-absolute,
.popup-form input,
.popup-form input::placeholder,
.popup-form label.radio-label {
  font-size: var(--body14);
  font-family: 'Lato', sans-serif;
  color: rgba(101, 101, 101, 0.60);
  font-weight: 400;
}

.popup-form input {
  color: #454545 !important;
}

.popup-form input[type='number']::-webkit-inner-spin-button,
.popup-form input[type='number']::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.popup-form .form-label, .grey-text {
  color: var(--maindark);
  font-size: var(--body16);
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  padding-bottom: 8px;
  display: block;
  text-align: left;
}

.grey-text2 {
  font-size: var(--body14);
  font-family: 'Lato', sans-serif;
  color: rgba(101, 101, 101, 0.60);
  font-weight: 400;
}

.popup-form img.position-absolute {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

.popup-form button {
  font-size: var(--body14);
  font-family: 'PT Sans', sans-serif;
}

.popup-form .row {
  margin-left: 0;
  margin-right: 0;
}

.popup-form .error-text {
  font-size: var(--body14);
  padding-top: 8px;
  font-weight: 400;
  font-family: 'PT Sans', sans-serif;
}


.scroll-content::-webkit-scrollbar {
  width: 0px;
}

.popopup-form-row {
  padding-bottom: 20px;
}

.choose-date {
  display: grid;
  align-items: flex-start;
  gap: 7px;
  
  @media (min-width: 640px) {
    display: flex;
  }

}

.form-date-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  top: 0;
  left: 0;
}

.form-date-label {
  display: flex;
  height: 40px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  border: 1px solid #F1F0F0;
  background: #FFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
  
}

.form-date-label:hover {
  border: 1px solid var(--mainpink);
  color: var(--mainpink) !important;
}

.form-date-input:hover{
  color: #fff !important;
  background-color: var(--mainpink) !important;
}

.form-date-input:checked ~ .form-date-label {
  color: #fff !important;
  background-color: var(--mainpink) !important;
}

.popup-card-grey {
  background-color: #F5F5F5;
  padding: 20px;
  text-align: left;
  font-family: 'Lato', sans-serif;
}

.title_text {
    color: #444;
		font-family: 'PT Sans', sans-serif;
		font-size: 20px;
		font-style: normal;
		font-weight: 700;
		line-height: 42px;
		text-transform: uppercase;
    text-align: center;
    margin-bottom: 26px;
    @media (min-width: 1024px) {
      font-size: 28px;
      margin-bottom: 36px;
    }
}

.icon-center{
  display: flex;
  align-items: center;
  justify-content: center;
}

  