html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.spinner-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 100;

  .spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #26890d;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
  }
}

.loginPage {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  background-color: #f6f6f6;
}

.loginPage__header {
  display: flex;
  align-items: center;
  padding: 4px 4px 4px 16px;
  height: 48px;
  width: 100%;
  max-width: 100%;
  font-weight: 600;
  color: #fff;
  background-color: #000;
}

.loginPage__content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.loginPage__form {
  padding: 16px 24px 24px;
  width: 400px;
  background-color: #fff;
}

.loginPage__form-title {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.loginPage__form-control {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
}

.loginPage__form-label {
  margin-bottom: 8px;
  color: #53565a;
}

.loginPage__form-input {
  padding: 5px 12px 7px;
  font-family: inherit;
  border: none;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px #d0d0ce;
}

.loginPage__form-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px #000;
}

.loginPage__form-input::placeholder {
  color: #63666a;
}

.loginPage__form-input.loginPage__form-input--invalid {
  box-shadow: inset 0 0 0 1px #da291c;
}

.loginPage__form-error {
  margin-top: 8px;
  font-size: 14px;
  color: #e30613;
}

.loginPage__form-actions {
  display: flex;
  justify-content: end;
}

.loginPage__form-btn {
  height: 32px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #fff;
  cursor: pointer;
  background-color: #26890d;
  border: 0;
}

.loginPage__form-btn:hover:enabled,
.loginPage__form-btn:focus {
  outline: none;
  background: #20730b;
}

.loginPage__form-btn:active:enabled {
  background: #1d680a;
}

.loginPage__form-btn:disabled {
  opacity: 0.4;
  cursor: auto;
}

@keyframes spinner-border {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}
