body{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #e2e2e2, #c9d6ff);
}
body::after {
  content: "";
  position: fixed;
  top: 0;
  height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
  background: linear-gradient(90deg, #e2e2e2, #c9d6ff);
  background-size: 100% 100%;
}
.scroll-list-y{
    overflow-y: auto;
}
.scroll-list-y::-webkit-scrollbar{
    width: 8px;
}
.scroll-list-y::-webkit-scrollbar-thumb{
    background: var(--bs-secondary);
    border-radius: 5px;
    height: 15px;
}
.container-form{
  position: relative;
  width: 850px;
  height: 550px;
  background: #fff;
  margin: 20px;
  border-radius: 30px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.container-form h1{
  font-size: 36px;
  margin: -10px 0;
}
.container-form p{
  font-size: 14.5px;
  margin: 15px 0;
}
.container-form form{ 
  width: 100%; 
}
.container-form .form-box{
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  color: #333;
  text-align: center;
  padding: 40px;
  z-index: 1;
  transition: width .6s ease-in-out 1.2s,  visibility 0s 1s;
}
.container-form.active .form-box{ 
  right: 50%; 
}
.container-form .form-box.register{ 
  visibility: hidden; 
}
.container-form.active .form-box.register{ 
  visibility: visible; 
}
.container-form .form-box .input-box{
  position: relative;
  margin: 30px 0;
}
.container-form .form-box .input-box input{
  width: 100%;
  padding: 13px 50px 13px 20px;
  background: #eee;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
  font-weight: 500;
}
.container-form .input-box input::placeholder{
  color: #888;
  font-weight: 400;
}
.container-form .input-box i{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #33333380;
}
.container-form .forgot-link{ 
  margin: -15px 0 15px; 
}
.container-form .forgot-link a{
  font-size: 14.5px;
  color: #333;
}
.container-form .logins-link{ 
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  gap: 0.3rem;
}
.container-form .logins-link a{
  font-size: 14.5px;
  color: #333;
}
.container-form .btn{
  width: 100%;
  height: 48px;
  background: #5A1236;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}
.container-form .toggle-box{
  position: absolute;
  width: 100%;
  height: 100%;
}
.container-form .toggle-box::before{
    content: '';
    position: absolute;
    left: -250%;
    width: 300%;
    height: 100%;
    background: #5A1236;
    border-radius: 150px;
    transition: all 1.8s ease-in-out;
    z-index: 2;
    -webkit-transition: all 1.8s ease-in-out;
    -moz-transition: all 1.8s ease-in-out;
    -ms-transition: all 1.8s ease-in-out;
    -o-transition: all 1.8s ease-in-out;
}
.container-form.active .toggle-box::before{ 
  left: 50%; 
}
.container-form .toggle-panel{
  position: absolute;
  width: 50%;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all .4s ease-in-out;
  z-index: 2;
  -webkit-transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -ms-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
}
.container-form .toggle-panel img{
  width: auto;
  max-height: 120px;
  object-fit: contain;
  border: none;
}
.container-form .toggle-panel .img-logo-admin{
  max-height: 180px;
}
.container-form .toggle-panel.toggle-left{ 
  left: 0;
  transition-delay: 1.2s; 
}
.container-form.active .toggle-panel.toggle-left{
  left: -50%;
  transition-delay: .6s;
}
.container-form .toggle-panel.toggle-right{ 
  right: -50%;
  transition-delay: .6s;
}
.container-form.active .toggle-panel.toggle-right{
  right: 0;
  transition-delay: 1.2s;
}
.container-form .toggle-panel p{ 
  margin-bottom: 20px; 
}
.container-form .toggle-panel .btn{
  width: 160px;
  height: 46px;
  background: transparent;
  border: 2px solid #fff;
  box-shadow: none;
}

@media screen and (max-width: 991px){
  .container-form{ 
    height: calc(100vh - 40px); 
    width: calc(100vw - 5rem);
  }
  .container-form .login form{
    height: 100%;
  }  
  .container-form .form-box{
    bottom: 0;
    width: 100%;
    height: 75%;
    padding: 2rem;
  }
  .container-form.active .form-box{
    right: 0;
    bottom: 25%;
  }
  .container-form .toggle-box::before{
    left: 0;
    top: -275%;
    width: 100%;
    height: 300%;
    border-radius: 10vw;
    -webkit-border-radius: 10vw;
    -moz-border-radius: 10vw;
    -ms-border-radius: 10vw;
    -o-border-radius: 10vw;
    transition: 1.5s ease-in-out;
    -webkit-transition: 1.5s ease-in-out;
    -moz-transition: 1.5s ease-in-out;
    -ms-transition: 1.5s ease-in-out;
    -o-transition: 1.5s ease-in-out;
}
  .container-form.active .toggle-box::before{
    left: 0;
    top: 75%;
  }
  .container-form.active .toggle-panel.toggle-left{
    left: 0;
    top: -30%;
  }
  .toggle-panel{ 
    width: 100%;
    height: 30%;
  }
  .container-form .toggle-panel img{
    max-height: 90px;
  }
  .container-form .toggle-panel .img-logo-admin {
    max-height: 90px;
  }
  .container-form .toggle-panel p{
    margin: 0.5rem 0rem;
  }
  .container-form .logins-link{
    margin-top: 2rem;
  }
  .container-form .toggle-panel .btn{
      width: auto;
      height: auto;
      padding: 0.5rem 1.5rem;
  }
  .toggle-panel.toggle-left{ 
    top: 0; 
    height: 25%;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
    gap: 1.5rem;
  }  
  .container-form .toggle-panel.toggle-right{
    right: 0;
    bottom: -100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
  }
  .toggle-panel.toggle-right{
    right: 0;
    bottom: 0; 
    height: 25%;
    width: 100%;
  }
  .container-form.active .toggle-panel.toggle-right{ 
    bottom: 0; 
    height: 25%;
    width: 100%;
  }
  .toggle-panel .toggle-action{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .container-form.active .toggle-panel.toggle-left,
  .container-form.active .toggle-panel.toggle-right{ 
    transition-delay: 1s;
  }
}
@media screen and (max-width: 480px){
  .container-form .toggle-box::before{
    top: -280%;
  }
  .toggle-panel.toggle-left,
  .container-form.active .toggle-panel.toggle-right{
    height: 20%;
  }
  .container-form .toggle-panel img{
    max-height: 75px;
  }
  .container-form {
    height: calc(100vh - 120px);
  }
  .container-form .form-box { 
    padding: 20px; 
  }
  .container-form .toggle-panel h1{
    font-size: 30px; 
  }
}