.login-modal {
  position: fixed;
  display: none;
  z-index: 1001;

  top: 0;
  right: 0;
  left: 0;
  bottom: 0;

  width: 100vw;
  height: 100vh;

  padding: 0 40px;

  background: rgba(250, 250, 250, 0.9);
}
.login-modal.active {
  display: flex;
}

.login-modal.loading button[type="submit"]{
  cursor: not-allowed;
  pointer-events: none;

  opacity: 0.4;
}

.login-modal-box {
  position: relative;
  display: flex;

  flex-direction: column;

  margin: auto auto;

  width: 100%;
  max-width: 450px;

  padding: 30px;

  border-radius: 8px;

  background: white;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.login-modal-box-header {
  position: relative;
  display: flex;

  align-items: center;
  justify-content: center;

  flex-direction: row;

  width: 100%;
}
.login-modal-box-logo {
  position: relative;
  display: flex;

  align-items: center;
  justify-content: center;

  flex-direction: row;

  width: 100%;
  height: 30px;
}
.login-modal-box-logo img {
  position: relative;
  display: flex;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center center;
}

.login-modal-box-body {
  position: relative;
  display: flex;

  flex-direction: column;
}

.login-modal-box-form {
  position: relative;
  display: flex;

  flex-direction: column;

  margin: 10px 0;
}

.login-modal-box-form-inputgroup {
  position: relative;
  display: flex;

  flex-direction: column;

  margin: 10px 0;

  width: 100%;
}

.login-modal-box-form-input {
  position: relative;
  display: flex;

  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;

  width: 100%;
  height: 50px;

  padding: 0 10px;
  padding-top: 3px;

  font-size: 18px;

  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.login-modal-box-form-button {
  cursor: pointer;
  position: relative;
  display: flex;

  align-items: center;
  justify-content: space-between;

  flex-direction: row;

  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  outline: 0;

  width: 100%;
  height: 40px;

  padding: 0 20px;

  text-decoration: none;

  font-size: 14px;

  border-radius: 4px;

  color: #f2fbfd;
  background: #20849b;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.login-modal-box-form-button span {
  padding-top: 3px;
}

.login-modal [otp-request-field],
.login-modal [otp-auth-field] {
  display: none;
}
.login-modal[step="otp-request"] [otp-request-field] {
  display: flex;
}
.login-modal[step="otp-auth"] [otp-auth-field] {
  display: flex;
}
