@font-face {
  font-style: normal;
  font-weight: 100;
  font-family: AvenirNext;
  src:
    local("Avenir Next LT Pro"),
    url("/fonts/AvenirNextThin.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-style: normal;
  font-weight: 400;
  font-family: AvenirNext;
  src:
    local("Avenir Next LT Pro"),
    url("/fonts/AvenirNextRegular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-style: normal;
  font-weight: 500;
  font-family: AvenirNext;
  src:
    local("Avenir Next LT Pro"),
    url("/fonts/AvenirNextMedium.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-style: normal;
  font-weight: 600;
  font-family: AvenirNext;
  src:
    local("Avenir Next LT Pro"),
    url("/fonts/AvenirNextDemi.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-style: normal;
  font-weight: 700;
  font-family: AvenirNext;
  src:
    local("Avenir Next LT Pro"),
    url("/fonts/AvenirNextBold.woff2") format("woff2");
  font-display: swap;
}

html {
  --main-color: #9bdcd2;
  font-size: 10px;
  height: 100%;
}

body {
  margin: 0;
}

* {
  font-family: AvenirNext, sans-serif;
}

.alert {
  margin-bottom: 5rem;
  font-size: 1.6rem;
  text-align: center;
}

.alert-error {
  color: #ff5722;
}

.alert-success {
  color: #0ec900;
}

form,
.reset-password-result {
  height: 100%;
  width: 39rem;
  background-color: var(--main-color);
  position: absolute;
  top: 0;
  left: 0;
}

.login-logo {
  text-align: center;
  margin-top: 10vh;

  img {
    width: 23.2rem;
    height: 4.3rem;
  }
}

.form {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 31.5rem;
  margin: 0 3.8rem;
}

.reset-password-result {
  margin: 0;
}

.reset-password-result .login {
  top: 50%;
  transform: translateY(-50%);
  position: relative;
  padding: 0 2rem;
}

.form button {
  width: 100%;
  border-radius: 0;
  box-shadow:
    0 0.3rem 0.1rem -0.2rem #0003,
    0 0.2rem 0.2rem #00000024,
    0 0.1rem 0.5rem #0000001f;
  background-color: #fff;
  color: #000000de;
  box-sizing: border-box;
  position: relative;
  user-select: none;
  cursor: pointer;
  outline: none;
  border: none;
  line-height: 36px;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 5rem;
}

.login {
  margin-bottom: 2rem;
}

.login.center-and-color {
  text-align: center;
  color: #fff;
}

.message-window {
  height: 100%;
  width: 39rem;
  background-color: var(--main-color);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2.1rem;
}

input,
input:focus,
input:focus-visible {
  font-size: 2.1rem;
  background: transparent;
  color: #fff;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  outline: none;
  width: 100%;
  padding: 0.5rem 0;
}

input:focus,
input:focus-visible {
  border-bottom-color: #fff;
}

input ~ label {
  font-size: 2.1rem;
  position: relative;
  top: 1.7rem;
  color: #fff;
  top: -4.5rem;
  transition: 0.2s ease all;
}

input:focus ~ label,
input:valid ~ label,
input:not(:placeholder-shown) ~ label {
  top: -6rem;
  font-size: 1.6rem;
}

input:-webkit-autofill,
input:autofill {
  background-clip: text;
  -webkit-text-fill-color: #fff;
}

.remind {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  text-align: center;
}

.remind a {
  text-decoration: none;
  font-size: 1.6rem;
  color: #e6f3ff;
}

.content {
  position: absolute;
  width: 100%;
  height: 100%;
}

#login-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0px;
  object-fit: cover;
  object-position: top right;
}

.common-text {
  margin-bottom: 5rem;
  font-size: 1.6rem;
}

.alert-info {
  color: #e8f9ff;
}

#back-to-app-button {
  padding-top: 3.5rem;
}

a {
  color: white;
  text-decoration: none;
}
