:root {
  --font: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI,
  Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: #24292e;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

.background {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top right;
  position: absolute;
  width: 100vw;
  max-width: 640px;
  max-height: 1250px;
  height: 100vh;
  right: 0;
  top: 0;
  border: 0;
  z-index: -1;
  display: none;
}

.background--image-mountains {
  background-image: url(../images/login-mountains.jpg);
}

.background--image-forest {
  background-image: url(../images/system-down-forest.jpg);
}

@media (min-width: 1200px) {
  .background {
    display: block;
  }
}

@media (max-height: 619.98px) {
  .background {
    display: none;
  }
}

.logo {
  width: 106px;
  height: 31px;
}

.logo--spacing-medium {
  margin-bottom: 38px;
}

.logo--spacing-large {
  margin-bottom: 58px;
}

.logo--layout-top {
  position: absolute;
  top: 32px;
  left: 32px;
}

.greeting {
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  color: rgba(0, 0, 0, 0.87);
  margin: 0;
}

.greeting--size-small {
  font-size: 18px;
  line-height: 21px;
}

.greeting--size-large {
  font-size: 22px;
  line-height: 26px;
}

.greeting--spacing-medium {
  margin-bottom: 6px;
}

.greeting--spacing-large {
  margin-bottom: 8px;
}

.greeting-description {
  font-size: 14px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

.greeting-description--size-large {
  line-height: 21px;
}

.greeting-description--spacing-small {
  margin-bottom: 32px;
}

.greeting-description--spacing-medium {
  margin-bottom: 46px;
}

.message {
  font-size: 14px;
  line-height: 18px;
  padding: 8px;
  border-radius: 4px;
  margin: 0;
}

.message--type-danger {
  background: #FFF0F1;
  color: #BA2C3B;
}

.message--spacing-medium {
  margin-bottom: 12px;
}

.form {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.form--size-medium {
  width: 266px;
}

.form--size-large {
  width: 300px;
}

.form--layout-form {
  margin: 64px auto 20px;
}

.form--layout-message {
  margin: 0 auto;
  height: 100vh;
  justify-content: center;
}

@media (min-width: 800px) {
  .form--spacing-adaptive.form--layout-form {
    margin: 170px auto 20px;
  }
}

@media (min-width: 1200px) {
  .form--spacing-adaptive.form--layout-form {
    margin: 170px 20px 20px 162px;
  }
  .form--spacing-adaptive.form--layout-message {
    margin: 0 0 0 162px;
  }
}

@media (min-width: 1800px) {
  .form--spacing-adaptive.form--layout-form {
    margin: 170px auto 20px;
  }
  .form--spacing-adaptive.form--layout-message {
    margin: 0 0 0 338px;
  }
}

.field {
  display: flex;
  flex-direction: column;
}

.field--spacing-medium {
  margin-bottom: 12px;
}

.field--spacing-large {
  margin-bottom: 28px;
}

.label {
  font-size: 14px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 6px;
}

.input {
  font-family: var(--font);
  background: #FFFFFF;
  border: 1px solid #D2D2D2;
  box-sizing: border-box;
  border-radius: 3px;
  font-size: 14px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.87);
  height: 32px;
  padding: 8px;
}

.input:focus {
  border: 1px solid #003851;
}

.button {
  font-family: var(--font);
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #ffffff;
  background: #005073;
  border-radius: 3px;
  border: none;
}

.button--size-medium {
  width: 120px;
  height: 36px;
}

a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.link-support {
  text-decoration: none;
  color: #187486;
}
