@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200&family=Poppins:wght@200;300;400;500;600;700&family=Roboto+Condensed:wght@300;400;700&family=Roboto:wght@100;300;400;500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  width: 450px;
  /* text-align: center; */
  border-radius: 10px;
  padding: 34px;
  /* border: 1px solid #eee; */
  /* box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; */
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.wrapper header {
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 500;
}

.wrapper img {
  /* padding: 24px 0; */
  margin-bottom: 24px;
  max-width: 60%;
}

.wrapper form {
  margin: 20px 0;
}

form .field {
  width: 100%;
  margin-bottom: 20px;
}

form .field.shake {
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    margin-left: 0;
  }

  20%,
  80% {
    margin-left: -5px;
  }

  40%,
  60% {
    margin-left: 5px;
  }
}

form .field .input-area {
  position: relative;
}

form .field input {
  /* background-color: #dc3545; */
  height: 50px;
  width: 100%;
  padding: 0px 45px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  border-bottom-width: 2px;
  /* border: none; */
  /* border-bottom: 2px solid #ccc; */
  /* border-top: 2px solid transparent; */
}

.field input:focus {
  transition: all 0.2s ease;
  border-color: #0e185f;
  opacity: 70%;
}

.field input:focus~i {
  transition: all 0.2s ease;
  color: #0e185f;
  opacity: 70%;
}

form input::placeholder {
  color: #999;
  font-size: 16px;
}

form .field i {
  position: absolute;
  top: 50%;
  font-size: 23px;
  /* pointer-events: none; */
  transform: translateY(-50%);
}

form .field .icon {
  left: 13px;
  color: #999;
}

form .field.error input {
  border-color: #dc3545;
}

form .field.error .uil-envelope {
  color: #dc3545;
}

form .field.error .icon-user {
  color: #dc3545;
}

form .field.error .icon-user {
  color: #dc3545;
}

form .field.error .icon-password {
  color: #dc3545;
}

form .field.error .show_hide {
  color: #dc3545;
}

/* form .field .email {
  color: #dc3545;
}
form .field .password {
  color: #dc3545;
} */

form .field .error-icon {
  font-size: 16px;
  right: 15px;
  color: #dc3545;
}

/* form .field .icon-user {
  color: #dc3545;
} */

/* form .field .icon-lock {
  color: #dc3545;
} */

form .field .error-txt {
  color: #dc3545;
  margin-top: 5px;
  text-align: left;
  font-size: 14px;
}

form .field .error {
  display: none;
}

/* .field .icon-user {
  display: none;
} */

/* .field .icon-lock {
  display: none;
} */

form .field.error .error {
  display: block;
}

/* .field.error .icon-user {
  display: block;
} */

.field.error .icon-lock {
  display: block;
}

form .checkbox-text {
  /* background-color: red; */
  align-items: center;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  /* margin-top: 20px; */
}

.checkbox-text .checkbox-content {
  display: flex;
  align-items: center;
}

.checkbox-content input {
  margin: 0 8px 1.5px 4px;
  accent-color: #0e185f;
}

/* form .pass-link {
  text-align: left;
  margin-top: -10px;
} */

.wrapper .signup-link {
  margin-top: 30px;
  font-size: 14px;
  text-align: center;
}

.wrapper a {
  color: #5372f0;
  text-decoration: none;
}

.wrapper a:hover {
  text-decoration: underline;
}

form input[type="submit"] {
  height: 45px;
  margin-top: 30px;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  background: #0e185f;
  cursor: pointer;
  transition: background 0.2s ease;
}

form input[type="submit"]:hover {
  background: #0c134d;
}

.wrapper i.show_hide {
  display: flex;
  position: absolute;
  right: 0;
  cursor: pointer;
  padding: 10px;
  font-size: 23px;
  color: #999;
  /* background-color: red; */
}

.show {
  position: absolute;
  font-size: 13px;
  color: #222;
  display: none;
  font-weight: 500;
  transform: translateY(70%);
  font-size: 14px;
  cursor: pointer;
  margin: 0 -45px;
}

.pass:valid~.show {
  display: block;
}

/* loader btn */

.loaderbutton {
  width: 100%;
  /* height: 45px; */
  margin-top: 30px;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  background: #0e185f;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s ease;
  padding: 10px 30px;
  /* background: #3e52c1; */
  /* border: none; */
  /* color: #fff; */
  /* border-radius: 5px; */
  /* cursor: pointer; */
  /* font-size: 1.2em; */
  position: relative;
  display: block;
}

.loaderbutton::after {
  content: '';
  display: block;
  width: 1.4em;
  height: 1.4em;
  position: absolute;
  left: calc(50% - 0.65em);
  top: calc(50% - 0.65em);
  border: 0.2em solid transparent;
  border-right-color: white;
  border-radius: 50%;
  animation: loader-animation 0.7s linear infinite;
  opacity: 0;
}

@keyframes loader-animation {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.loaderbutton.loading {
  color: transparent;
}

.loaderbutton.loading::after {
  opacity: 1;
}

@media screen and (max-width:774px) {
  .container .img-right {
    display: none;
  }
}