/* Brand colors match the landing page tokens in assets/styles.css. */
body.auth-page {
  --emerald: 161 65% 15%;
  --emerald-deep: 161 70% 10%;
  --emerald-mid: 161 60% 20%;
  --gold: 44 54% 54%;
  --gold-light: 44 60% 70%;
  color: #fff;
  background-color: hsl(var(--emerald-deep));
}

.auth-page .auth-panel {
  background-color: hsl(var(--emerald));
}

.auth-page .fxt-template-layout24 .fxt-logo {
  width: 180px;
  max-width: 100%;
}

.auth-page .fxt-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.auth-page .fxt-template-layout24 .overlay {
  background-color: hsl(var(--emerald-deep) / 0.8);
}

.auth-page .fxt-template-layout24 .fxt-btn-fill,
.auth-page .auth-submit {
  background-color: hsl(var(--gold));
  border-color: hsl(var(--gold));
  color: hsl(var(--emerald-deep));
}

.auth-page .fxt-template-layout24 .fxt-btn-fill:hover,
.auth-page .auth-submit:hover {
  background-color: hsl(var(--gold-light));
  border-color: hsl(var(--gold-light));
}

.auth-page .fxt-content a {
  color: hsl(var(--gold-light));
}

.auth-page .fxt-content a:hover {
  color: #fff;
}

.auth-page .fxt-template-layout24 .form-control {
  background-color: hsl(var(--emerald-deep));
  border-color: hsl(var(--gold-light) / 0.65);
  color: #fff;
  caret-color: hsl(var(--gold-light));
}

.auth-page .fxt-template-layout24 .form-control::placeholder {
  color: #d4e5df;
  opacity: 1;
}

.auth-page .fxt-template-layout24 .form-control:focus {
  border-color: hsl(var(--gold-light));
  outline: 2px solid hsl(var(--gold-light));
  outline-offset: 2px;
}

.auth-page .fxt-content a:focus-visible,
.auth-page .fxt-template-layout24 .fxt-btn-fill:focus-visible,
.auth-page .auth-submit:focus-visible {
  outline: 2px solid hsl(var(--gold-light));
  outline-offset: 3px;
}

.auth-page .fxt-template-layout24 .fxt-footer p,
.auth-page .fxt-template-layout24 .checkbox label,
.auth-page .fxt-template-layout24 .field-icon {
  color: #d4e5df;
}

.auth-page input[type="checkbox"] {
  accent-color: hsl(var(--gold));
}

.auth-page .fxt-template-layout24 .checkbox input:checked + label::before {
  background-color: hsl(var(--gold));
  border-color: hsl(var(--gold));
}

.auth-page .fxt-template-layout24 .checkbox input:checked + label::after {
  color: hsl(var(--emerald-deep));
}

.auth-page ::selection {
  background-color: hsl(var(--gold));
  color: hsl(var(--emerald-deep));
}
