@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Roboto, sans-serif;
  color: #ffffff;
}

.error-message {
  font-size: 1rem;
  text-align: center;
}

.loading-overlay {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 100001;
  font-size: 3rem;
}

.loading-overlay i {
  color: #ffffff;
}

.is-loading .loading-overlay {
  display: flex;
}

.login-page,
.change-password-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #232730;
}

.login-page-card,
.change-password-page-card {
  display: table;
  max-width: 100%;
  height: 300px;
  padding: 2em;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.3);
}

.login-page-card {
  width: 480px;
}

.change-password-page-card {
  width: 720px;
}

.logo {
  display: block;
  width: 128px;
  margin: 1em auto;
}

h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
}

.form-input {
  position: relative;
  display: block;
  margin: 2rem 0;
  font-size: 1rem;
}

.form-input .leading {
  position: absolute;
  left: 0;
  top: 0;
  margin: 1em 0;
  width: 3em;
  text-align: center;
  font-size: 1rem;
}

.form-input input[type="email"],
.form-input input[type="password"] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ffffff;
  background-color: transparent;
  line-height: 1em;
  padding: 1em;
  font-size: 1rem;
  color: #ffffff;
}

.form-input.with-leading input[type="email"],
.form-input.with-leading input[type="password"] {
  padding-left: 3em;
}

button {
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1em;
  padding: 1em 2em;
  margin: 1em 0;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

button.login-button,
button.change-password-button {
  border: 0;
  background-color: #A4B9D6;
  color: #232730;
}

button.login-button:hover,
button.change-password-button:hover {
  background-color: #d2dceb;
}

button.reset-password-button {
  background-color: transparent;
  color: #ffffff;
  border-width: 0;
}

button.reset-password-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

button.register-button {
  background-color: transparent;
  color: #ffffff;
  border-width: 0;
}

button.register-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
