@import url('./auth-tokens.css?ver=1.2.1');

/* Self-hosted variable font; original OFL and provenance ship beside the font. */
@font-face {
  font-family: 'Caverjoy Montserrat';
  src: url('../../../shared/assets/fonts/montserrat-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.cv-auth-page {
  margin: 0;
  background: var(--cv-ambient);
  color: var(--cv-ink);
  font-family: var(--cv-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.cv-auth-page *, .cv-auth-page *::before, .cv-auth-page *::after { box-sizing: border-box; }
.cv-auth-page .cv-auth {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 72% 28%, color-mix(in srgb, var(--cv-brand) 8%, transparent), transparent 48%),
    radial-gradient(ellipse at 18% 60%, color-mix(in srgb, var(--cv-ink) 3.5%, transparent), transparent 48%),
    linear-gradient(var(--cv-white), var(--cv-ambient) 48%, var(--cv-white));
}
.cv-auth-page .cv-auth a { text-decoration: none; color: var(--cv-link); }
.cv-auth-page .cv-auth a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cv-auth-page .cv-auth :focus-visible { outline: 2px solid var(--cv-brand); outline-offset: 3px; }
.cv-auth-page .cv-auth-header {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cv-auth-page a.cv-auth-brand {
  color: var(--cv-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
}
.cv-auth-page a.cv-auth-brand:hover { text-decoration: none; }
.cv-auth-page .cv-auth-brand span { color: var(--cv-brand); }
.cv-auth-page .cv-auth-back { font-size: 13px; display: inline-flex; gap: 8px; align-items: center; }
.cv-auth-page .cv-auth-stage {
  width: 100%;
  flex: 1;
  padding: 32px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.cv-auth-page .cv-auth-card {
  width: min(100%, 480px);
  padding: 40px;
  border: 1px solid var(--cv-white);
  border-radius: var(--cv-radius-card);
  background: var(--cv-glass);
  box-shadow: var(--cv-shadow), inset 0 1px 0 var(--cv-white), 0 0 0 1px var(--cv-glass-edge);
  backdrop-filter: blur(var(--cv-blur));
  -webkit-backdrop-filter: blur(var(--cv-blur));
  animation: cv-auth-enter .7s var(--cv-ease) both;
}
.cv-auth-page .cv-auth-heading { margin-bottom: 32px; }
.cv-auth-page .cv-auth-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cv-brand) 12%, transparent);
  border-radius: var(--cv-radius-inner);
  color: var(--cv-link);
  background: color-mix(in srgb, var(--cv-brand) 7%, transparent);
  margin-bottom: 24px;
}
.cv-auth-page .cv-auth-symbol svg { width: 24px; height: 24px; }
.cv-auth-page .cv-auth-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cv-muted);
}
.cv-auth-page .cv-auth h1 {
  margin: 0;
  color: var(--cv-ink);
  font-family: inherit;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.cv-auth-page .cv-auth-intro { margin: 16px 0 0; color: var(--cv-muted); font-size: 14px; line-height: 1.6; }
.cv-auth-page .cv-auth-content { width: 100%; }
.cv-auth-page .cv-auth-content form { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.cv-auth-page .cv-auth-content .fls_login_wrapper,
.cv-auth-page .cv-auth-content .fls_registration_wrapper,
.cv-auth-page .cv-auth-content .fls_reset_pass_wrapper { max-width: none; margin: 0; padding: 0; }
.cv-auth-page .cv-auth-content .login-username,
.cv-auth-page .cv-auth-content .login-password,
.cv-auth-page .cv-auth-field,
.cv-auth-page .cv-auth-content .fls_field,
.cv-auth-page .cv-auth-content .fls_field_group { margin: 0 0 24px; }
.cv-auth-page .cv-auth-content .fls_field_label { margin: 0; padding: 0; }
.cv-auth-page .cv-auth-content label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  color: var(--cv-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: start;
}
.cv-auth-page .cv-auth .cv-auth-content :is(input:not([type='hidden'], [type='checkbox'], [type='submit']), select) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: var(--cv-control-height);
  padding: 12px 16px;
  margin: 0;
  border: 1px solid var(--cv-control-border);
  border-radius: var(--cv-radius-input);
  background: color-mix(in srgb, var(--cv-white) 80%, transparent);
  color: var(--cv-ink);
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  transition: border-color .18s var(--cv-ease), background-color .18s var(--cv-ease);
}
.cv-auth-page .cv-auth-content input::placeholder { color: var(--cv-muted); opacity: .8; }
.cv-auth-page .cv-auth .cv-auth-content :is(input:not([type='hidden'], [type='checkbox'], [type='submit']), select):focus { border-color: var(--cv-brand); outline: 2px solid var(--cv-brand); outline-offset: 3px; background: var(--cv-white); }
.cv-auth-page .cv-auth .cv-auth-content :is(input[aria-invalid='true'], .fls_field_group.is-error input, .fls_field_group.is-error select) { border-color: var(--cv-error); }
.cv-auth-page .cv-auth .cv-auth-content .fls_field_label.is-required label::after { color: var(--cv-error); }
.cv-auth-page .cv-auth-content input[type='checkbox'] { accent-color: var(--cv-brand); width: 16px; height: 16px; margin: 0 8px 0 0; vertical-align: middle; }
.cv-auth-page .cv-auth-content .login-remember { margin: 0 0 24px; }
.cv-auth-page .cv-auth-content .login-remember label { color: var(--cv-muted); font-weight: 400; }
.cv-auth-page .cv-auth .cv-auth-content :is(button[type='submit'], input[type='submit'], #fls_submit, #fls_verification_submit, #fls_reset_pass, #wp-submit) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--cv-control-height);
  padding: 12px 24px;
  margin: 8px 0 0;
  border: 1px solid transparent;
  border-radius: var(--cv-radius-button);
  background: var(--cv-brand);
  color: var(--cv-white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
  cursor: pointer;
  box-shadow: var(--cv-shadow-cta);
  transition: background-color .2s var(--cv-ease), transform .2s var(--cv-ease);
}
.cv-auth-page .cv-auth .cv-auth-content :is(button[type='submit'], input[type='submit'], #fls_submit, #fls_verification_submit, #fls_reset_pass, #wp-submit):hover { background: var(--cv-brand-hover); transform: translateY(-2px); }
.cv-auth-page .cv-auth-content button:disabled,
.cv-auth-page .cv-auth-content input:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cv-auth-page .cv-auth .cv-auth-content :is(button[type='submit'], input[type='submit'], #fls_submit, #fls_verification_submit, #fls_reset_pass, #wp-submit):disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cv-auth-page .cv-auth-content .login-submit { margin: 0; padding: 0; }
.cv-auth-page .cv-auth-content button svg { width: 20px; height: 20px; }
.cv-auth-page .cv-auth-links { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--cv-glass-edge); text-align: center; font-size: 13px; color: var(--cv-muted); }
.cv-auth-page .cv-auth-links p { margin: 0 0 12px; }
.cv-auth-page .cv-auth-links p:last-child { margin-bottom: 0; }
.cv-auth-page .cv-auth-links a { font-weight: 600; }
.cv-auth-page .cv-auth-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; font-size: 12px; color: var(--cv-muted); }
.cv-auth-page .cv-auth-divider::before,
.cv-auth-page .cv-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--cv-glass-edge); }
.cv-auth-page .cv-auth-social div.nsl-container { padding: 0; }
.cv-auth-page .cv-auth-social div.nsl-container .nsl-container-buttons { display: flex; flex-direction: column; width: 100%; padding: 0; }
.cv-auth-page .cv-auth-social div.nsl-container .nsl-container-buttons a { margin: 0; width: 100%; }
.cv-auth-page .cv-auth-social div.nsl-container .nsl-button { min-height: var(--cv-control-height); border-radius: var(--cv-radius-button); box-shadow: none; border: 1px solid var(--cv-control-border); }
.cv-auth-page .cv-auth-social div.nsl-container .nsl-button-label-container { font-family: inherit; font-weight: 600; font-size: 14px; }
.cv-auth-page .cv-auth-code { text-align: center; letter-spacing: .45em; font-variant-numeric: tabular-nums; font-size: 24px !important; font-weight: 700 !important; padding-inline: 24px 12px !important; }
.cv-auth-page .cv-auth-hint { margin: 8px 0 0; color: var(--cv-muted); font-size: 13px; line-height: 1.55; }
.cv-auth-page .cv-auth-reset-note { text-align: center; margin-top: 24px; }
.cv-auth-page .cv-auth-status { color: var(--cv-error); font-size: 13px; line-height: 1.55; margin: 16px 0 0; }
.cv-auth-page .cv-auth-status:empty { display: none; }
.cv-auth-page .cv-auth-content [aria-busy='true'] .cv-auth-status { color: var(--cv-muted); }
.cv-auth-page .cv-auth-content .fls_error,
.cv-auth-page .cv-auth-content .fls_errors,
.cv-auth-page .cv-auth-content .fls_login_error { color: var(--cv-error); font-size: 13px; }
.cv-auth-page .cv-auth-content .fls_success { color: var(--cv-success); font-size: 14px; }
.cv-auth-page .cv-auth-content .fls_2fa_instruction { color: var(--cv-muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; margin: 0 0 24px; }
.cv-auth-page .cv-auth .cv-auth-content #fls_field_verification { text-align: center; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .3em; }
.cv-auth-page .cv-auth-inline-notice,
.cv-auth-page .cv-auth-content .success.text-success {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--cv-glass-edge);
  border-radius: var(--cv-radius-input);
  background: var(--cv-surface);
  color: var(--cv-muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.cv-auth-page .cv-auth-inline-notice--error { border-color: color-mix(in srgb, var(--cv-error) 25%, transparent); color: var(--cv-error); }
.cv-auth-page .cv-auth-content .success.text-success { color: var(--cv-success); background: color-mix(in srgb, var(--cv-success) 5%, var(--cv-white)); }
.cv-auth-page .cv-auth-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--cv-control-height);
  padding: 12px 24px;
  margin-top: 24px;
  border-radius: var(--cv-radius-button);
  color: var(--cv-white) !important;
  background: var(--cv-brand);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--cv-shadow-cta);
}
.cv-auth-page .cv-auth-action:hover { background: var(--cv-brand-hover); text-decoration: none !important; }
.cv-auth-page :is(.cv-auth-card--registered, .cv-auth-card--reset-complete, .cv-auth-card--mail-sent) .cv-auth-symbol { color: var(--cv-success); border-color: color-mix(in srgb, var(--cv-success) 12%, transparent); background: color-mix(in srgb, var(--cv-success) 6%, var(--cv-white)); }
.cv-auth-page :is(.cv-auth-card--reset-expired, .cv-auth-card--verify-expired) .cv-auth-symbol { color: var(--cv-error); border-color: color-mix(in srgb, var(--cv-error) 12%, transparent); background: color-mix(in srgb, var(--cv-error) 5%, var(--cv-white)); }
.cv-auth-page .cv-auth-caption { margin: 24px 0 0; color: var(--cv-muted); font-size: 12px; text-align: center; }
.cv-auth-page .cv-auth-footer { width: min(100%, 1280px); margin: 0 auto; padding: 24px 40px; display: flex; justify-content: space-between; gap: 24px; color: var(--cv-muted); font-size: 12px; }
.cv-auth-page .cv-auth [hidden] { display: none !important; }
@keyframes cv-auth-enter { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 48rem) {
  .cv-auth-page { font-size: 15px; }
  .cv-auth-page .cv-auth-header { padding: 24px; }
  .cv-auth-page a.cv-auth-brand { font-size: 26px; }
  .cv-auth-page .cv-auth-stage { padding: 24px 16px 40px; }
  .cv-auth-page .cv-auth-card { padding: 32px 24px; }
  .cv-auth-page .cv-auth h1 { font-size: 28px; line-height: 1.2; }
  .cv-auth-page .cv-auth-heading { margin-bottom: 24px; }
  .cv-auth-page .cv-auth-intro { font-size: 13px; }
  .cv-auth-page .cv-auth-footer { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-auth-page .cv-auth-card { animation: none; }
  .cv-auth-page .cv-auth-content input,
  .cv-auth-page .cv-auth-content button { transition: none; }
  .cv-auth-page .cv-auth .cv-auth-content :is(button[type='submit'], input[type='submit'], #fls_submit, #fls_verification_submit, #fls_reset_pass, #wp-submit):hover { transform: none; }
}
