.registrationFormCon{
    max-width: 100%;
    width: 100%;
    color: white;
    /* background-color: #242424; */
    padding: 25px 30px;
    border-radius: 5px;
    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15); */
    box-sizing: border-box;
}
.registrationFormCon .title{
  font-size: 25px;
  font-weight: 500;
  position: relative;
  color: #fff;
}
.registrationFormCon .title::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
}
.content form .user-details{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 60px 0 12px 0;
}
.content form .price-summery{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 60px 0 12px 0;
}
.content form .price-summery:after {
    content: '';
    display: table;
    clear: both;
}
.content form .user-details:after {
    content: '';
    display: table;
    clear: both;
}
.registrationFormCon .content form .user-details .input-box{
  margin-bottom: 15px;
  width: 50%;
  box-sizing: border-box;
  padding: 0 10px;
}
.registrationFormCon .content form .user-details .input-box-price{
  margin-bottom: 15px;
  width: 50%;
  display: flex;
  font-size: 20px;
  justify-content: end;
  font-weight: 300;
}

.registrationFormCon .content form .price-summery .input-box{
  margin-bottom: 15px;
  width: 50%;
  box-sizing: border-box;
  padding: 0 10px;
}
.registrationFormCon .content form .price-summery .input-box-price{
  margin-bottom: 15px;
  width: 50%;
  display: flex;
  font-size: 20px;
  justify-content: end;
  font-weight: 300;
}
.registrationFormCon .content form .input-box span.details{
  display: block;
  font-weight: 300;
  margin-bottom: 5px;
  font-size: 20px;
}
.font-500 {
  font-weight: 500;
}
.user-details .input-box input{
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}
.user-details .input-box input:focus,
.user-details .input-box input:valid{
  border-color: #9b59b6;
}
 .registrationFormCon .content form .gender-details .gender-title{
  font-size: 20px;
  font-weight: 500;
 }
 .registrationFormCon .content form .category{
   display: flex;
   width: 80%;
   margin: 14px 0 ;
   justify-content: space-between;
 }
 .registrationFormCon .content form .category label{
   display: flex;
   align-items: center;
   cursor: pointer;
 }
 .registrationFormCon .content form .category label .dot{
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}
 #dot-1:checked ~ .category label .one,
 #dot-2:checked ~ .category label .two,
 #dot-3:checked ~ .category label .three{
   background: #9b59b6;
   border-color: #d9d9d9;
 }
 .registrationFormCon .content form input[type="radio"]{
   display: none;
 }
 .registrationFormCon .content form .button{
   height: 45px;
   margin: 35px 0
 }
 .registrationFormCon .content form .button input{
   height: 100%;
   width: 100%;
   border-radius: 5px;
   border: none;
   color: #fff;
   font-size: 18px;
   font-weight: 500;
   letter-spacing: 1px;
   cursor: pointer;
   transition: all 0.3s ease;
   background: #009F6E;
 }
 .registrationFormCon .content form .button input:hover{
  /* transform: scale(0.99); */
  background: #009F6E;
  }
  .reg-blocks-spot a h2, .reg-blocks-spot a p {
    margin: 0;
  }
 .p-tags h2 {
  font-family: "Newsreader", serif;
  font-weight: 500;
  font-size: 30px;
 } 
.book-title {
  text-align: center;
  padding: 60px 0 80px 0;
  font-size: 30px;
  font-family: "Newsreader", serif;
  font-weight: 500;
}
.short-description {
  font-style: italic;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
}
.registrationFormCon .content form .input-box span.details.total {
  font-family: "Newsreader", serif;
  font-size: 30px;
  font-weight: 500;
}
 @media(max-width: 584px){
 .registrationFormCon{
  max-width: 100%;
  padding: 0px;
}

.registrationFormCon .content form .user-details .input-box{
    margin-bottom: 15px;
    width: 100%;
    padding:0px;
  }
  .registrationFormCon .content form .price-summery .input-box{
    margin-bottom: 15px;
    width: 50%;
  }
  .registrationFormCon .content form .category{
    width: 100%;
  }
  /*.registrationFormCon .content form .user-details{*/
  /*  max-height: 300px;*/
  /*  overflow-y: scroll;*/
  /*}*/
  .user-details::-webkit-scrollbar{
    width: 5px;
  }
  .book-title{
    font-size: 20px;
    padding:40px 0 20px 0;
}
.reg-blocks-spot .short-description {
  font-size: 13px;
}


  }
  @media(max-width: 459px){
  .registrationFormCon .content .category{
    flex-direction: column;
  }
}


.reg-blocks {
  display: flex;
  gap:15px;
}


.reg-blocks a{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
  border-radius: 5px;
}

.reg-blocks a.disabled-a{
  cursor: no-drop;
  opacity: 0.6;
}

.reg-blocks-spot {
  display: flex;
  gap:15px;
  margin:20px 0px;
}


.reg-blocks-spot a{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  text-decoration: none;
  padding:15px 50px;
  background: linear-gradient(135deg, #353868, #476099);
  border-radius: 15px;  
}

.reg-blocks-spot a.disabled-a{
  cursor: no-drop;
  opacity: 0.6;
}


#card-element {
  margin: 20px 0;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 3px;
}
.toast {
    display: none;
    min-width: 250px;
    margin-bottom: 15px;
    padding: 16px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    opacity: 0.9;
    transition: opacity 0.3s ease-in-out;
}

.toast.success {
    background-color: #4CAF50; /* Green */
}

.toast.error {
    background-color: #f44336; /* Red */
}
#loader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* High z-index to ensure it is on top */
    display: none; /* Hidden by default */
}

/* Optional: Overlay to gray out the content */
#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 999; /* Just below the loader */
    cursor: pointer;
    display: none;
}
 @media(max-width: 990px){ 
  .reg-blocks {
  display: flex;
  gap: 15px;
  width: 100%;
  flex-direction: column;
}

}