* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  background-color: transparent !important;
}

input:-moz-autofill {
  background-color: transparent !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  position: fixed;
  top: 0.5rem;
  left: 1rem;
}
main {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
}

section {
  flex: 1;
  padding: 3rem;
}

.left-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}
.heading-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.header {
  font-weight: 600;
}

.recovery-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

input {
  width: 300px;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  padding-bottom: 5px;
  outline: none;
  transition: all 0.3s ease-in-out;
  font-size: 14px;
}

input:focus {
  border-color: #aaa;
}

.otp-input-wrapper,
.password-wrapper {
  display: none;
}

.password-input-wrapper {
  position: relative;
  user-select: none;
}

.show-password-btn,
.hide-password-btn {
  position: absolute;
  right: 0;
  bottom: 2px;
  cursor: pointer;
}

.hide-password-btn {
  display: none;
}

.email-err,
.otp-err,
.password-err,
.server-err {
  font-size: 14px;
  color: red;
  display: none;
}

#submit-btn {
  min-width: 100px;
  width: fit-content;
  padding: 8px 10px;
  outline: none;
  border: none;
  background: #673ab7;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  background-position: center;
  transition: background 0.8s;
}

#submit-btn:hover {
  background: #551eb4 radial-gradient(circle, transparent 1%, #551eb4 1%)
    center/15000%;
}

#submit-btn:active {
  background-color: #673ab7;
  background-size: 100%;
  transition: background 0s;
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.timer-btn {
  display: none;
  font-size: 16px;
  background: transparent;
  border: none;
  outline: none;
  color: black;
  width: 150px;
}

.timer-btn.active {
  color: #673ab7;
  font-weight: 500;
  cursor: pointer;
}

.right-wrapper {
  background: url(../images/ps-banner-main.svg);
  background-repeat: no-repeat;
  background-size: 85%;
  background-position: center;
}

.singin-anchor {
  color: #673ab7;
  text-decoration: none;
  font-weight: 500;
}

.lds-ellipsis {
  display: none;
  position: relative;
  width: 80px;
  align-items: center;
  height: 36px;
  justify-content: center;
}

.lds-ellipsis div {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #673ab7;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}
@media only screen and (max-width: 1100px) {
  .right-wrapper {
    background-size: 100%;
    background-position: left;
  }

  .break-br {
    display: none;
  }
}

@media only screen and (max-width: 786px) {
  section {
    padding: 0;
    padding-left: 2rem;
  }

  .right-wrapper {
    background-size: 150%;
  }
}

@media only screen and (max-width: 600px) {
  .right-wrapper {
    display: none;
  }

  .left-wrapper {
    gap: 2.5rem;
    position: relative;
    max-height: 100%;
  }

  section {
    padding: 2rem;
  }

  .left-bg {
    display: block;
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0.5;
    z-index: -1;
    height: 28%;
  }
  .recovery-form {
    width: 100%;
  }
  .input-wrapper {
    width: 100%;
  }
  input {
    width: 100%;
  }
  .descrp-br {
    display: none;
  }
}
/* 
@media only screen and (max-width: 400px) {
} */

@media only screen and (max-width: 320px) {
  .left-bg {
    height: 25%;
  }
  section {
    padding: 1.5rem;
  }
}
