* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
  }
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(#eee,#eee);
    background-size: cover;
    background-position: center;
    min-height: 700px;
    font-family: "Montserrat", sans-serif;
    background-repeat: no-repeat;
    height: 100vh;
  }
  .box {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: #edf3f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .box span {
    position: absolute;
    inset: 3px;
    background-color: #edf3f9;
    border-radius: 10px;
    z-index: 2;
  }
  .box span input {
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    color: black;
    font-size: 16px;
    padding: 16px;
    position: relative;
  }
  .box span input:focus {
    outline: none;
    box-shadow: none;
  }
  .form-container {
    padding: 70px 0px;
    background-color: #fff;
    box-shadow: 0 0 53px rgba(0, 0, 0, 0.129);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: 50%;
    transition: 0.3s;
    min-height: 540px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
  }
  
  .left-right .login-form {
    transform: translateX(-100%);
  }
  .form-wraper .input-group:not(:last-child) {
    margin-bottom: 30px;
  }
  .signUp-form {
    transform: translateX(100%);
  }
  .left-right .signUp-form {
    transform: translateX(0%);
  }
  .form-wraper {
    padding: 0px 40px;
    position: absolute;
    width: 100%;
    transition: 0.3s;
  }
  .action-button button {
    border-radius: 10px;
    width: 100%;
  }
  .action-button button:hover {
    color: rgb(20, 20, 20);
  }
  .form-title {
    margin-bottom: 30px;
  }
  .main-form-container {
    min-width: 800px;
    background-color:rgb(57, 57, 57);
    border-radius: 10px;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
  }
  .bg-btn-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
  }
  .left-right {
    transform: translateX(100%);
  }
  html[dir="rtl"] .left-right {
    transform: translateX(-100%);
  }
  .section {
    min-height: 800px;
    overflow: unset;
  }
  section.auth  {
    overflow: unset;
    max-width: 980px;
    margin:auto;
    float: unset;
  }
  html[dir="rtl"] input[type="tel"],
  html[dir="rtl"] input[type="email"],
  html[dir="rtl"] input[type="password"] {
    text-align: left !important;
  }
  html[dir="rtl"] input[type="tel"]::placeholder,
  html[dir="rtl"] input[type="email"]::placeholder,
  html[dir="rtl"] input[type="password"]::placeholder {
    text-align: right;
  }
  .action-button {
    margin-top: 21px;
  }

  @media screen and (max-width:922px) {
    .main-form-container {
        min-width: 100%; 
        max-width: 100%;
        height: 630px;
        display: flex;
        align-items: baseline;
        background: transparent;
        padding: 0 15px;
    }
    .form-container {
        width:100%;
        min-width: 100%;
       
    }
    .action-reg-btn button,
    .action-login-btn button {
        background:transparent;
        border:2px solid #666;
        min-width: 190px;
    }
    .bg-btn-container {
        top:-15px;
        align-items: end;
    }
    .action-login-btn {
        position: absolute;
        clip: rect(0px,0px,0px,0px);
        top:-100%;
    }
    .action-reg-btn {
        margin:0;
    }
    .left-right {
        transform: translateX(0%);
    }
    .left-right .login-form {
        transform: translateX(0%);
    }
    html[dir="rtl"] .left-right {
        transform: translateX(0%);
    }

    .left-right .signUp-form,
    html[dir="rtl"]  .left-right .signUp-form {
        transform: translateX(0%);
        z-index: 9999;
        background:#fff;
      }

}