/* Password AuthGate from the Renacore platform, using locally hosted assets. */
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/host-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Host Grotesk";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/fonts/host-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  font-family: "Host Grotesk", sans-serif;
  color: #000;
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "rlig" 1, "calt" 1;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }
button, input { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
:where(button, input, [tabindex]):focus-visible {
  outline: 2px solid #12414b;
  outline-offset: 3px;
}
.login-shell { display: flex; min-height: 100vh; min-height: 100svh; width: 100%; }
.login-form-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  padding: 40px 24px;
}
.login-content { width: 100%; max-width: 512px; }
.login-header { text-align: center; }
.login-monogram { display: block; width: 48px; height: 48px; margin: 0 auto 24px; }
.login-introduction h1 { font-size: 36px; font-weight: 300; line-height: 40px; letter-spacing: 0; }
.login-introduction p { margin-top: 12px; color: #666; font-size: 16px; line-height: 24px; }
.login-actions { margin-top: 40px; }
.login-notice {
  margin-bottom: 16px;
  border: 1px solid rgb(18 65 75 / 10%);
  border-radius: 6px;
  background: #f5fbfc;
  padding: 10px 12px;
  color: #12414b;
  font-size: 14px;
  line-height: 20px;
}
.login-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid rgb(18 65 75 / 10%);
  border-radius: 999px;
  background: #f5fbfc;
  color: #12414b;
  font-size: 14px;
  line-height: 20px;
}
.login-spinner { flex: none; width: 24px; height: 24px; animation: login-spin 1.4s linear infinite; }
.login-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid #fecdd3;
  border-radius: 6px;
  background: #fff1f2;
  padding: 8px 12px;
  color: #9f1239;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.login-error svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
#login-form { display: flex; flex-direction: column; gap: 12px; }
.login-field { display: block; font-size: 14px; line-height: 20px; }
.login-field span { display: block; margin-bottom: 4px; color: #666; }
.login-field input {
  display: block;
  width: 100%;
  height: 44px;
  min-width: 0;
  border: 1px solid #f2f2f2;
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
  color: #000;
}
.login-field input:disabled { color: #666; background: #fafafa; }
.login-field input[aria-invalid="true"] { border-color: #fda4af; }
.login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 44px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #12414b;
  padding: 8px 16px;
  color: #d6eaed;
  box-shadow: 0 0 15px rgb(151 209 221 / 30%);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  cursor: pointer;
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}
.login-submit:hover:not(:disabled) { background: #0e333b; }
.login-submit:disabled { opacity: .5; cursor: not-allowed; }
.login-submit svg { flex: none; width: 16px; height: 16px; }
.login-noscript { margin-top: 16px; color: #666; font-size: 14px; line-height: 20px; }
.login-brand-panel { display: none; position: relative; width: 50%; overflow: hidden; background: #12414b; }
.login-brand-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 24%, rgb(255 255 255 / 20%), transparent 32%),
    radial-gradient(circle at 78% 72%, rgb(129 201 204 / 22%), transparent 38%);
}
.login-brand-outline { position: absolute; inset: 40px; border: 1px solid rgb(255 255 255 / 15%); border-radius: 32px; }
.login-brand-logo { position: absolute; right: 56px; bottom: 56px; left: 56px; height: 36px; }
.login-brand-logo img { display: block; width: 160px; height: 36px; object-fit: contain; filter: brightness(0) invert(1); }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (min-width: 640px) { .login-introduction h1 { font-size: 48px; line-height: 48px; } }
@media (min-width: 1024px) {
  .login-form-panel { width: 50%; padding-right: 48px; padding-left: 48px; }
  .login-brand-panel { display: block; flex: none; }
}
@media (prefers-reduced-motion: no-preference) { .login-submit:active:not(:disabled) { transform: scale(.98); } }
@media (prefers-reduced-motion: reduce) { .login-spinner { animation: none; } .login-submit { transition: none; } }
