.page-not-logged-background {
  background: url('../img/login-background-loss.jpg') no-repeat center
    center/cover;
}

.page-not-logged-background:before {
  background: url('../img/login-background.jpg') no-repeat center center/cover;
}

.page-not-logged {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

.page-not-logged:before {
  position: absolute;
  pointer-events: none;
  display: block;
  width: 100%;
  height: 100%;
  content: '';
  left: 0;
  top: 0;
}

.box-login {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-width: 420px;
  min-height: 330px;
  background: var(--background-color);
  border-radius: 3px;
  box-shadow: 0px 0px 15px 6px rgba(var(--box-shadow-color), 0.45);
  position: relative;
  padding: 40px;
}

.box-login__title {
  display: block;
  text-align: center;
  font-family: var(--TCCC-Regular);
  font-size: 26px;
}

.box-login .login-form,
.box-login .forgot-password,
.box-login .reset-password {
  width: 100%;
  padding-top: 20px;
}

.box-login .form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.box-login .form-group {
  width: 100%;
  position: relative;
}

.box-login .btn-secondary {
  width: 100%;
  height: 42px;
  border-radius: 20px;
  font-family: var(--TCCC-Bold);
  font-size: 15px;
  filter: saturate(100%);
  transition: filter 0.5s ease;
}

.btn-background-normal {
  border: solid 1px var(--brand-color);
  background-color: var(--brand-color);
}

.btn-background-generic {
  border: solid 1px var(--sidebar-color);
  background-color: var(--sidebar-color);
}

.box-login .btn-secondary:hover {
  filter: saturate(80%);
}

.box-login .form-control-label,
.box-login .form-control {
  font-family: var(--TCCC-Regular);
  font-size: 13px;
  line-height: 1em;
}

.box-login .form-control-label {
  white-space: nowrap;
  margin-bottom: 0;
  padding-left: 10px;
  line-height: 1em;
}

.box-login .form-control {
  border-radius: 20px;
  border: solid 1px var(--input-border-color);
  background-color: var(--background-color);
  padding: 0 20px;
  width: 100%;
  height: 42px;
  color: var(--foreground-color);
  line-height: 3.5em;
}

.box-login .form-control:focus,
.box-login .btn-secondary:focus,
.box-login .btn-secondary:not(:disabled):not(.disabled):active:focus {
  outline: none;
  box-shadow: none;
  box-shadow: 0px 0px 6px 0px rgba(var(--box-shadow-color), 0.15);
}

.box-login .link-login {
  text-align: center;
}

.box-login .link-login a {
  font-family: var(--TCCC-Regular);
  font-size: 12px;
  color: var(--link-color);
  text-decoration: underline;
}

.box-login .g-recaptcha {
  display: block;
  text-align: center;
}

.box-login .g-recaptcha > div {
  display: inline-block;
}

.box-login .invalid-feedback {
  padding: 0 20px;
  font-family: var(--TCCC-Regular);
  font-size: 12px;
  color: var(--brand-color);
  display: block;
}

.box-login input:-webkit-autofill,
.box-login input:-webkit-autofill:hover,
.box-login input:-webkit-autofill:focus,
.box-login input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: var(--foreground-color) !important;
  font-family: var(--TCCC-Regular);
  font-size: 13px;
  line-height: 3.5em;
}

.alert {
  font-size: 12px;
}

@media (max-width: 600px) {
  .page-not-logged {
    align-items: start;
    padding-top: 40px;
  }

  .box-login .login-form,
  .box-login .forgot-password,
  .box-login .reset-password {
    padding-top: 10px;
  }

  .box-login {
    padding: 15px;
  }

  .box-login .form-control-label {
    padding-left: 5px;
  }

  .box-login .invalid-feedback {
    padding: 0 10px;
  }
}
