@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
:root {
  --button-color: rgba(60,60,62,1);
  --textcolor:rgba(60,60,62,1);
  --textcolorlight:rgba(90,90,92,1);
  --textcoloralert:rgba(150,10,12,1);
  --main-background: rgba(0,0,0,0.5);
  --highlighted: rgba(50,130,50,1);
  --formbackground: #fff;
}
.content form .user-details{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}
form .user-details .input-box{
  margin-bottom: 15px;
  width: calc(100% / 2 - 20px);
}
form .user-details .input-33{
    margin-bottom: 15px;
    width: calc(100% / 3 - 20px);
  }
  form .user-details .input-66{
    margin-bottom: 15px;
    width: calc(100% / 3 * 2 - 20px);
  }
  form .user-details .input-100{
    margin-bottom: 15px;
    width: calc(100% - 20px);
  }
form .input-box span.details,
form .input-date span.details{
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}
.user-details .input-box input,
.user-details .input-box select,
.user-details .input-box textarea{
  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 textarea{
    height: unset;
    width: 100%;
    padding:10px;
    resize:none;
}
.user-details .input-box select{
    background-color: var(--formbackground);
}
.user-details .input-box input:focus,
.user-details .input-box select:focus,
.user-details .input-box textarea:focus{
      border-color: var(--highlighted);
}
.user-details *[placeholder]{
  color:var(--textcolorlight);
}
.user-details .mandatory *[placeholder]{
  color:var(--textcolorlight);
}
 form .radioclass{
  font-size: 16px;
  font-weight: 500;
}
 form .category{
   display:flex;
   flex-direction: row;
   width: calc(100% / 2 - 20px);
   margin: 14px 0 ;
 }
 form .category label{
    width:50%; 
 }
  form .category label{
   display: flex;
   align-items: left;
   cursor: pointer;
 }
 form .category label .dot{
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-top: 2px;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}
#gender-1:checked ~ .category label .one,
#gender-2:checked ~ .category label .two,
#gender-3:checked ~ .category label .three{
   background: var(--highlighted);
   border-color: #d9d9d9;
 }
 form input[type="radio"]{
   display: none;
 }
 form .button{
   height: 45px;
   margin: 35px 0
 }
 form .button input{
   height: 100%;
   width: 100%;
   border-radius: 5px;
   border: none;
   color: var(--formbackground);
   font-size: 18px;
   font-weight: 500;
   letter-spacing: 1px;
   cursor: pointer;
   transition: all 0.3s ease;
   background: var(--main-background);
 }
 form .button input:hover{
  /* transform: scale(0.99); */
  background: var(--highlighted);
  }
  #success{
    color: var(--textcoloralert);
    }
   @media(max-width: 584px){
    .container{
      max-width: 100%;
    }
    form .user-details .input-box{
        margin-bottom: 15px;
        width: 100%;
      }
      form .category{
        width: 100%;
    /*  .content form .user-details{
      max-height: 300px;
      overflow-y: scroll;
    */
    }
    .user-details::-webkit-scrollbar{
      width: 5px;
    }
}
@media(max-width: 459px){
  .container .content .category{
    flex-direction: column;
  }
}