/* Login page - rendered by Nest at /auth/login. */

@font-face {
  font-family: "Conv_Gthm-Book";
  src: url("/fonts/Gthm-Book.woff") format("woff"),
    url("/fonts/Gthm-Book.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Conv_Gtham-Bld";
  src: url("/fonts/Gtham-Bld.woff") format("woff"),
    url("/fonts/Gtham-Bld.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #3b424a;
  font-family: "Conv_Gthm-Book", sans-serif;
}

.login {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.login__logo {width:110px;}
.login__logo svg {
  width: 100%;
  height: auto;
  display: block;
  fill: #ffffff;
}

.login__title {
  margin-top: 20px;
  font-family: "Conv_Gtham-Bld", sans-serif;
  font-size: 22px;
  line-height: 26px;
  color: #ffffff;
}

.login__error {
  margin-top: 18px;
  max-width: 300px;
  font-size: 13px;
  line-height: 17px;
  color: #e8908f;
  text-align: center;
}

.login__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
  width: 300px;
  height: 44px;
  padding: 0 22px;
  background: #505559;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: "Conv_Gthm-Book", sans-serif;
  font-size: 14px;
  color: #ffffff;
  /* Disabled until the Terms and Conditions checkbox is ticked. */
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.login__google-icon {
  flex: none;
  width: 18px;
  height: 18px;
}

/* Enabled once the visitor accepts the Terms and Conditions. */
.login:has(#accept-terms:checked) .login__google {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.login:has(#accept-terms:checked) .login__google:hover {
  border-color: #84898f;
}

.login__terms {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  line-height: 16px;
  color: #aab0b6;
}

.login__terms-check {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.login__terms-label {
  cursor: pointer;
}

.login__terms-link {
  color: #ffffff;
  text-decoration: underline;
}
