@font-face {
  font-family: Roboto;
  src: url("/fonts/roboto-light-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

body {
  background: #eee;
  color: #000;
  font: 300 16px/normal Roboto, Arial, sans-serif;
}

.login-page {
  width: min(360px, 100%);
  padding-top: 8%;
  margin: 0 auto;
}

.login-card {
  padding: 25px 45px 15px;
  background: #fff;
  text-align: center;
  box-shadow: 0 0 20px rgb(0 0 0 / 20%), 0 5px 5px rgb(0 0 0 / 24%);
}

.login-title {
  margin: 0 0 25px;
  font: 300 16px/19px Roboto, Arial, sans-serif;
}

.login-card fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.login-input,
.login-button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 0;
  font: 300 14px/16px Roboto, Arial, sans-serif;
}

.login-input {
  margin-bottom: 15px;
  background: #f2f2f2;
  color: #000;
}

.login-input::placeholder {
  color: #757575;
  opacity: 1;
}

.login-input:focus {
  outline: 0;
}

.login-input:focus-visible:not(:placeholder-shown) {
  box-shadow: inset 0 -1px #528c4d;
}

.login-button {
  background: #4caf50;
  color: #fff;
  cursor: pointer;
}

.login-button:not(:disabled):hover,
.login-button:not(:disabled):active {
  background: #43a047;
}

.login-button:disabled {
  cursor: default;
}

.login-error {
  min-height: 16px;
  margin: 0;
  color: #b02a27;
  font-size: 12px;
  line-height: 16px;
}

.login-message,
.login-preview {
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
}

.login-message a,
.login-preview a {
  color: #528c4d;
  text-decoration: none;
}

.login-message a:hover,
.login-message a:focus-visible,
.login-preview a:hover,
.login-preview a:focus-visible {
  text-decoration: underline;
}

[data-login-mode="station"] .login-preview {
  display: none;
}

.recovery-page .login-message {
  margin-top: 22px;
}

.login-success {
  color: #326d34;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 350px) {
  .login-card {
    padding-inline: 28px;
  }
}
