@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body{
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("assets/images/bg2.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
  overflow: hidden;
}
::selection{
  color: #fff;
  background: #1392DB;
}
.wrapper{
  width: 450px;
  padding: 30px 35px 35px;
  background: #fff;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}
.wrapper header{
  font-size: 25px;
  font-weight: 600;
  margin-bottom: -0.8rem;
  color: #F8D10B;
}
.wrapper form{
  margin: 40px 0;
}
form .field{
  width: 100%;
  margin-bottom: 25px;
}
form .field.shake{
  animation: shake 0.3s ease-in-out;
}

.logo img{
  width: 80px;
}
@keyframes shake {
  0%, 100%{
    margin-left: 0px;
  }
  20%, 80%{
    margin-left: -12px;
  }
  40%, 60%{
    margin-left: 12px;
  }
}
form .field .input-area{
  height: 50px;
  width: 100%;
  position: relative;
}
form input{
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 45px;
  font-size: 18px;
  background: none;
  caret-color: #1392DB;
  border-radius: 5px;
  border: 1px solid #bfbfbf;
  transition: all 0.2s ease;
}
form .field input:focus,
form .field.valid input{
  border-color: #1392DB;
}
form .field.shake input,
form .field.error input{
  border-color: #dc3545;
}
.field .input-area i{
  position: absolute;
  top: 50%;
  font-size: 18px;
  pointer-events: none;
  transform: translateY(-50%);
}
.input-area .icon{
  left: 15px;
  color: #bfbfbf;
  transition: color 0.2s ease;
}
.input-area .error-icon{
  right: 15px;
  color: #dc3545;
}
form input:focus ~ .icon,
form .field.valid .icon{
  color: #1392DB;
}
form .field.shake input:focus ~ .icon,
form .field.error input:focus ~ .icon{
  color: #bfbfbf;
}
form input::placeholder{
  color: #bfbfbf;
  font-size: 17px;
}
form .field .error-txt{
  color: #dc3545;
  text-align: left;
  margin-top: 5px;
}
form .field .error{
  display: none;
}
form .field.shake .error,
form .field.error .error{
  display: block;
}
form .pass-txt{
  text-align: left;
  margin-top: -8px;
}

.wrapper a{
  color: #1392DB;
  text-decoration: none;
}
.wrapper a:hover{
  text-decoration: underline;
}
form input[type="submit"]{
  height: 50px;
  margin-top: 20px;
  color: #f2f5f9;
  padding: 0;
  border: none;
  background: #1392DB;
  cursor: pointer;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
form input[type="submit"]:hover{
  background: #0e79b7;
}

#showPass{
  right: 15px;
  color: #bfbfbf;
}

.sign-txt{
  margin-top: -1rem;
}


/* Reset */

.reset form input[type="submit"]{
  margin-top: 10px;
}

.check{
  margin: -5px auto 8px;
}

.check input {
  width: auto;
  height: auto;
  padding: auto;
}

#back{
  margin-top: -20px;
}

#login{
  margin: 10px auto -10px;
}

#logins{
  margin: 2px auto -5px;
}

#amount{
  padding-left: 5rem;
}

i span{
  margin-left: 5px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #fff;
  display: none;
  z-index: 1000;
}

.dropdown div {
  padding: 10px;
  cursor: pointer;
}

.dropdown div:hover {
  background-color: #f0f0f0;
}

.show {
  display: block;
}

/* Payment page note */
#note{
  margin-top: 1rem;
}
@media(max-width: 750px){
  .wrapper{
    margin-top: -6.5rem;
    width: 350px;
    padding: 40px 35px;
    border-radius: 6px;
  }
  form .field{
    width: 100%;
    margin-bottom: 30px;
  }
  form input[type="submit"]{
    height: 50px;
    margin-top: 20px;
  }
  body{
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("/assets/images/bg2.jpeg");
    background-position: center;
  }

  /* Reset */

  .reset form input[type="submit"]{
    margin: 10px auto;
  }

  #logins{
    margin: -5px auto 2px;
  }
}


@media(max-width: 600px){
  .wrapper{
    margin-bottom: -50px;
    width: 340px;
    padding: 40px 35px;
    border-radius: 6px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  body {
    overflow: scroll;
    height: 100%;
    width: 100%;
  }
  .wrapper{
    margin: 30px auto;
    width: 450px;
    padding: 40px 35px;
    border-radius: 6px;
  }

}