* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  /* background: #c9d6ff;
  background: -webkit-linear-gradient(to right, #e2e2e2, #c9d6ff);
  background: linear-gradient(to right, #e2e2e2, #c9d6ff); */
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body::before {
  content: "";
  background-image: url("../images/bg.webp");
  background-size: cover;
  /* background-position: center; */
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.25;
  animation: kenny 20s alternate-reverse infinite;
  overflow: hidden;
  scale: 1.3;
}
@keyframes kenny {
  100% {
    scale: 1;
  }
}

.main-wrapper {
  position: relative;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 0 010px 5px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.greeting-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  max-width: 3rem;
  max-height: 3rem;
  margin-bottom: 5px;
}

.input-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 1rem;
}

input {
  padding: 0 0.5rem;
  border: 1px solid #ccc;
  height: 40px;
  border-radius: 4px;
  width: 300px;
}

#password {
  padding-right: 2.5rem;
  user-select: none;
}

label {
  margin-bottom: 5px;
}

.submit-btn {
  width: 100%;
  background: #e31e26;
  border-radius: 4px;
  color: white;
  border: none;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  transition: 0.3s ease-in-out;
}

.submit-btn:hover {
  background: #c51605;
}

.forgot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#password-recovery-btn {
  color: unset;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

#password-recovery-btn:hover {
  text-decoration: underline;
  color: #c51605;
}

.signup-link {
  color: #c51605;
  text-decoration: none;
}

.ps-input-wrapper {
  position: relative;
}

.hide-password-btn,
.show-password-btn {
  position: absolute;
  right: 8px;
  top: 9px;
  user-select: none;
  cursor: pointer;
}

.err {
  margin-top: 5px;
  display: none;
  color: red;
  transition: 0.2s ease-in-out;
  font-size: 0.9rem;
}

.button-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.back-btn {
  background: none;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  border: none;
  font-weight: 500;
}

.otp-form,
.password-form {
  display: none;
}

.otp-form p {
  margin-bottom: 1rem;
  width: 300px;
  text-align: center;
}
