/* Versioned Thrivian identity shell v6: local official mark on every responsive form. */
/* Visual contract source: products/life/web life-home (palette, radii, button, and label system). */
:root {
  --thrivian-auth-ivory: #f5f0e5;
  --thrivian-auth-canvas: #faf8f1;
  --thrivian-auth-paper: #fffdf7;
  --thrivian-auth-forest: #123d31;
  --thrivian-auth-forest-deep: #061f19;
  --thrivian-auth-forest-mid: #1c5141;
  --thrivian-auth-gold: #cda85e;
  --thrivian-auth-gold-light: #f2d994;
  --thrivian-auth-ink: #173d32;
  --thrivian-auth-muted: #6c7771;
  --thrivian-auth-on-dark: #fffaf0;
  --thrivian-auth-danger: #9f312d;
  --thrivian-auth-ring: #cda85e;
  --thrivian-auth-line: rgba(18, 61, 49, 0.12);
  --thrivian-auth-line-strong: rgba(18, 61, 49, 0.22);
  --thrivian-auth-font-display: "Iowan Old Style", "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --thrivian-auth-font-body: Inter, "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --thrivian-auth-brand-icon: url("../img/thrivian-platform-mark-v2.png");
  --thrivian-auth-radius-control: 0.45rem;
  --thrivian-auth-radius-panel: 0.68rem;
  --pf-v5-global--primary-color--100: var(--thrivian-auth-forest);
  --pf-v5-global--primary-color--200: var(--thrivian-auth-forest-deep);
  --pf-v5-global--link--Color: var(--thrivian-auth-forest);
  --pf-v5-global--link--Color--hover: var(--thrivian-auth-forest-deep);
  --pf-v5-global--Color--100: var(--thrivian-auth-ink);
  --pf-v5-global--Color--200: var(--thrivian-auth-muted);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html.login-pf,
body#keycloak-bg {
  min-block-size: 100%;
}

html.login-pf {
  background: var(--thrivian-auth-canvas);
}

body#keycloak-bg {
  background:
    radial-gradient(circle at 6% 12%, rgba(28, 81, 65, 0.05), transparent 26rem),
    radial-gradient(circle at 94% 6%, rgba(205, 168, 94, 0.07), transparent 30rem),
    var(--thrivian-auth-canvas);
  color: var(--thrivian-auth-ink);
  font-family: var(--thrivian-auth-font-body);
  line-height: 1.5;
  margin: 0;
  min-inline-size: 20rem;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #d8b674;
  color: #082f26;
}

.pf-v5-c-login {
  align-items: center;
  background: transparent;
  display: flex;
  min-block-size: 100svh;
  padding: max(1rem, env(safe-area-inset-top)) clamp(1rem, 4vw, 3.25rem) max(1rem, env(safe-area-inset-bottom));
}

body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container {
  background: var(--thrivian-auth-paper);
  border: 1px solid var(--thrivian-auth-line);
  border-radius: var(--thrivian-auth-radius-panel);
  box-shadow:
    0 2.4rem 5rem rgba(10, 38, 30, 0.14),
    0 0.25rem 1rem rgba(10, 38, 30, 0.07);
  column-gap: 0;
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) minmax(24rem, 0.94fr);
  grid-template-rows: minmax(40rem, 1fr);
  inline-size: min(100%, 72rem);
  max-inline-size: 72rem;
  max-width: 72rem;
  margin: auto;
  padding: 0;
  row-gap: 0;
  max-block-size: calc(100svh - max(2.5rem, 5vw));
  min-block-size: 40rem;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* Brand panel: the approved Thrivian journey folio identity hero, bundled locally. */
body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container::before {
  background:
    linear-gradient(180deg, rgba(6, 31, 25, 0.34), rgba(6, 31, 25, 0) 26%, rgba(6, 31, 25, 0) 68%, rgba(6, 31, 25, 0.6)),
    url("../img/journey-folio-hero-v1.webp") center 38% / cover no-repeat,
    radial-gradient(circle at 50% 45%, #174536 0, #071f19 52%, #03110e 100%);
  border-inline-end: 1px solid rgba(242, 217, 148, 0.16);
  content: "";
  grid-column: 1;
  grid-row: 1;
  min-block-size: 100%;
  position: relative;
  z-index: 0;
}

/* Brand: quiet mark overlaid on the journey folio panel. */
.pf-v5-c-login__container > #kc-header {
  background: transparent;
  border: 0;
  grid-column: 1;
  grid-row: 1;
  inset-block-start: 0;
  inset-inline-start: 0;
  margin: 0;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.2rem, 2.6vw, 1.8rem);
  position: absolute;
  z-index: 5;
}

#kc-header-wrapper {
  align-items: center;
  background-image: var(--thrivian-auth-brand-icon);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 2.35rem 2.35rem;
  color: var(--thrivian-auth-on-dark) !important;
  display: flex;
  font-family: var(--thrivian-auth-font-body);
  /* Hide the realm display name; the ecosystem wordmark renders below. */
  font-size: 0;
  font-weight: 720;
  min-block-size: 2.35rem;
  padding-inline-start: 3rem;
  text-shadow: 0 1px 8px rgba(3, 17, 14, 0.55);
}

#kc-header-wrapper::after {
  content: "thrivian.life";
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.pf-v5-c-login__container > .pf-v5-c-login__main {
  align-self: stretch;
  background: var(--thrivian-auth-paper);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--thrivian-auth-ink);
  display: flex;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1;
  inline-size: 100%;
  justify-content: center;
  justify-content: safe center;
  max-inline-size: none;
  min-block-size: 100%;
  min-inline-size: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  position: relative;
  z-index: 3;
}

.pf-v5-c-login__main-header,
.pf-v5-c-login__main-body,
.pf-v5-c-login__main-footer {
  inline-size: 100%;
  padding-inline: clamp(2rem, 5.2vw, 4.25rem);
  position: relative;
  z-index: 1;
}

.pf-v5-c-login__main-header {
  border-block-start: 0;
  display: block;
  padding-block: clamp(3.4rem, 7vh, 4.6rem) 1rem;
}

/* Short gold accent above the title, echoing the Life section motif. */
.pf-v5-c-login__main-header::before {
  background: var(--thrivian-auth-gold);
  block-size: 2px;
  content: "";
  display: block;
  inline-size: 3.2rem;
  margin-block-end: 1.15rem;
}

.pf-v5-c-login__main-body {
  padding-block: 0.65rem clamp(2.2rem, 4vw, 3.4rem);
}

.pf-v5-c-login__main-footer {
  padding-block-end: 2rem;
}

#kc-page-title,
.pf-v5-c-title {
  color: var(--thrivian-auth-forest);
  font-family: var(--thrivian-auth-font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  max-inline-size: 22ch;
  text-wrap: balance;
}

.pf-v5-c-form {
  gap: 1.25rem;
}

.pf-v5-c-form__label-text,
.pf-v5-c-check__label,
.subtitle,
.instruction {
  color: var(--thrivian-auth-ink);
}

.pf-v5-c-form__label-text {
  color: var(--thrivian-auth-forest);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.pf-v5-c-form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
  --pf-v5-c-form-control--after--BorderBottomColor: transparent;
  --pf-v5-c-form-control--focus--after--BorderBottomColor: var(--thrivian-auth-gold);
  background: var(--thrivian-auth-paper);
  border: 1px solid var(--thrivian-auth-line-strong);
  border-radius: var(--thrivian-auth-radius-control);
  box-shadow: none;
  color: var(--thrivian-auth-ink);
  min-block-size: 3.1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pf-v5-c-form-control[aria-invalid="true"],
input[aria-invalid="true"] {
  border-color: var(--thrivian-auth-danger);
}

.pf-v5-c-form-control::after {
  border-block-end-color: transparent !important;
}

.pf-v5-c-form-control:hover,
input:hover,
select:hover,
textarea:hover {
  border-color: rgba(18, 61, 49, 0.42);
}

.pf-v5-c-form-control:focus-within,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--thrivian-auth-gold);
  box-shadow: 0 0 0 0.18rem rgba(205, 168, 94, 0.22);
  outline: 0;
}

.pf-v5-c-form-control:focus-within::after {
  border-block-end-color: var(--thrivian-auth-gold) !important;
}

.pf-v5-c-input-group {
  background: var(--thrivian-auth-paper);
  border: 1px solid var(--thrivian-auth-line-strong);
  border-radius: var(--thrivian-auth-radius-control);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pf-v5-c-input-group:hover {
  border-color: rgba(18, 61, 49, 0.42);
}

.pf-v5-c-input-group:focus-within {
  border-color: var(--thrivian-auth-gold);
  box-shadow: 0 0 0 0.18rem rgba(205, 168, 94, 0.22);
}

.pf-v5-c-input-group .pf-v5-c-form-control,
.pf-v5-c-input-group .pf-v5-c-form-control > input {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.pf-v5-c-input-group .pf-v5-c-form-control::after {
  display: none;
}

.pf-v5-c-input-group .pf-v5-c-button,
.pf-v5-c-input-group__item .pf-v5-c-button {
  background: transparent;
  border: 0;
  border-inline-start: 1px solid var(--thrivian-auth-line);
  border-radius: 0;
  box-shadow: none;
  color: var(--thrivian-auth-muted);
}

.pf-v5-c-input-group .pf-v5-c-button:hover,
.pf-v5-c-input-group__item .pf-v5-c-button:hover {
  color: var(--thrivian-auth-forest);
}

.pf-v5-c-check__input {
  accent-color: var(--thrivian-auth-forest);
  block-size: 1rem;
  inline-size: 1rem;
}

/* Buttons: the Life control system - flat forest, uppercase label, quiet lift. */
/* PatternFly paints variant borders through the button ::after pseudo-element;
   disable it so the explicit borders below are the only border source. */
.pf-v5-c-button::after {
  border: 0 !important;
}

.pf-v5-c-button {
  border-radius: var(--thrivian-auth-radius-control);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.075em;
  min-block-size: 3rem;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.pf-v5-c-button.pf-m-primary,
input.pf-m-primary {
  background: var(--thrivian-auth-forest);
  border: 1px solid var(--thrivian-auth-forest);
  box-shadow: none;
  color: var(--thrivian-auth-paper);
}

.pf-v5-c-button.pf-m-primary:hover,
input.pf-m-primary:hover {
  background: var(--thrivian-auth-forest);
  border-color: var(--thrivian-auth-forest);
  box-shadow: 0 0.55rem 1.3rem rgba(10, 38, 30, 0.18);
  transform: translateY(-2px);
}

.pf-v5-c-button.pf-m-primary:active,
input.pf-m-primary:active {
  transform: translateY(0);
}

.pf-v5-c-button.pf-m-secondary {
  background: transparent;
  border: 1px solid var(--thrivian-auth-line-strong);
  color: var(--thrivian-auth-forest);
}

.pf-v5-c-button.pf-m-secondary:hover {
  border-color: var(--thrivian-auth-forest);
  color: var(--thrivian-auth-forest);
}

.pf-v5-c-button.pf-m-link,
a {
  color: var(--thrivian-auth-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
.pf-v5-c-button.pf-m-link:hover {
  color: var(--thrivian-auth-forest-deep);
  text-decoration-color: var(--thrivian-auth-gold);
}

.pf-v5-c-alert {
  border: 1px solid var(--thrivian-auth-line);
  border-radius: var(--thrivian-auth-radius-control);
  box-shadow: 0 0.5rem 1.4rem rgba(10, 38, 30, 0.06);
}

.pf-v5-c-alert.pf-m-danger,
.pf-v5-c-helper-text__item.pf-m-error,
.kc-feedback-text.pf-m-error {
  color: var(--thrivian-auth-danger);
}

/* Multiple OTP credentials stay compact and readable instead of becoming tiles. */
.thrivian-otp-devices {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.thrivian-otp-devices legend {
  margin-bottom: 0.5rem;
  color: var(--thrivian-auth-ink);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thrivian-otp-device-list {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.thrivian-otp-device-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.thrivian-otp-device {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-block-size: 2.75rem;
  margin: 0;
  padding: 0.38rem 0.62rem;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid var(--thrivian-auth-line);
  border-radius: var(--thrivian-auth-radius-control);
  background: transparent;
  box-shadow: none;
  color: var(--thrivian-auth-ink);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.thrivian-otp-device:hover {
  border-color: var(--thrivian-auth-forest);
  background: rgba(18, 61, 49, 0.055);
}

.thrivian-otp-device-input:checked + .thrivian-otp-device {
  border-color: var(--thrivian-auth-forest);
  background: rgba(18, 61, 49, 0.075);
  box-shadow: inset 3px 0 0 var(--thrivian-auth-gold);
}

.thrivian-otp-device-input:focus-visible + .thrivian-otp-device {
  outline: 2px solid var(--thrivian-auth-ring);
  outline-offset: 0.18rem;
}

.thrivian-otp-device-icon {
  display: grid;
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--thrivian-auth-forest);
  color: var(--thrivian-auth-paper);
  font-size: 0.62rem;
}

.thrivian-otp-device-name {
  overflow: hidden;
  min-width: 0;
  max-width: 10rem;
  font-size: 0.76rem;
  font-weight: 680;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Locale switcher: quiet pill pinned to the form panel corner. */
.pf-v5-c-login__main-header-utilities {
  inline-size: fit-content;
  inset-block-start: clamp(1.15rem, 2.4vh, 1.5rem);
  inset-inline-end: clamp(2rem, 5.2vw, 4.25rem);
  margin: 0;
  position: absolute;
  z-index: 6;
}

.pf-v5-c-login__main-header-utilities .pf-v5-c-form-control,
.pf-v5-c-login__main-header-utilities select,
#login-select-toggle {
  background: transparent;
  border: 1px solid rgba(18, 61, 49, 0.16);
  border-radius: 999px;
  box-shadow: none;
  color: var(--thrivian-auth-muted);
  font-size: 0.72rem;
  font-weight: 640;
  min-block-size: 2.15rem;
  padding-inline: 0.95rem 1.9rem;
  transition: border-color 180ms ease, color 180ms ease;
}

.pf-v5-c-login__main-header-utilities .pf-v5-c-form-control {
  inline-size: auto;
  min-block-size: 0;
  padding-inline: 0;
}

.pf-v5-c-login__main-header-utilities .pf-v5-c-form-control select {
  border: 0;
  min-block-size: 2.15rem;
}

.pf-v5-c-login__main-header-utilities .pf-v5-c-form-control::after {
  display: none;
}

.pf-v5-c-login__main-header-utilities .pf-v5-c-form-control:hover,
.pf-v5-c-login__main-header-utilities select:hover,
#login-select-toggle:hover {
  border-color: var(--thrivian-auth-forest);
  color: var(--thrivian-auth-forest);
}

#kc-info-wrapper,
.pf-v5-c-login__main-footer-band-item {
  color: var(--thrivian-auth-muted);
  font-size: 0.82rem;
}

/* Post-action continuation links render as clear Life secondary buttons. */
#kc-info-message a {
  align-items: center;
  border: 1px solid var(--thrivian-auth-line-strong);
  border-radius: var(--thrivian-auth-radius-control);
  color: var(--thrivian-auth-forest);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 760;
  justify-content: center;
  letter-spacing: 0.075em;
  margin-block-start: 0.9rem;
  min-block-size: 2.8rem;
  padding-inline: 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

#kc-info-message a:hover {
  border-color: var(--thrivian-auth-forest);
  color: var(--thrivian-auth-forest);
}

:is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--thrivian-auth-ring);
  outline-offset: 0.2rem;
}

@media (max-width: 70rem) {
  .pf-v5-c-login {
    align-items: flex-start;
    padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  }

  body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    inline-size: min(100%, 35rem);
    max-inline-size: 35rem;
    max-width: 35rem;
    max-block-size: none;
    min-block-size: 0;
  }

  body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container::before {
    display: none;
  }

  .pf-v5-c-login__container > #kc-header {
    display: none;
  }

  .pf-v5-c-login__container > .pf-v5-c-login__main {
    grid-column: 1;
    grid-row: 1;
    min-block-size: 0;
  }

  .pf-v5-c-login__main-header {
    align-items: flex-start;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    padding-block-start: 1.9rem;
  }

  .pf-v5-c-login__main-header::before {
    background: var(--thrivian-auth-brand-icon) center / contain no-repeat;
    block-size: 2.35rem;
    content: "";
    grid-column: 1;
    grid-row: 1;
    inline-size: 2.35rem;
    margin-block-end: 1.1rem;
  }

  .pf-v5-c-login__main-header-utilities {
    align-self: center;
    grid-column: 2;
    grid-row: 1;
    inset: auto;
    justify-self: end;
    margin-block-end: 1.1rem;
    position: static;
  }

  #kc-page-title,
  .pf-v5-c-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 36rem) {
  .pf-v5-c-login__container > #kc-header {
    padding: 1rem;
  }

  #kc-header-wrapper {
    background-size: 2.1rem 2.1rem;
    min-block-size: 2.1rem;
    padding-inline-start: 2.7rem;
  }

  #kc-header-wrapper::after {
    font-size: 0.76rem;
  }

  .pf-v5-c-login__main-header,
  .pf-v5-c-login__main-body,
  .pf-v5-c-login__main-footer {
    padding-inline: 1.35rem;
  }

  .pf-v5-c-login__main-header {
    padding-block-start: 2.25rem;
  }

  .pf-v5-c-login__main-header::before {
    block-size: 2.1rem;
    inline-size: 2.1rem;
  }

  #kc-page-title,
  .pf-v5-c-title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }
}

@media (max-height: 42rem) and (min-width: 70.01rem) {
  .pf-v5-c-login {
    align-items: flex-start;
  }

  body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container {
    grid-template-rows: minmax(30rem, auto);
    max-block-size: none;
    min-block-size: 0;
  }

  body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container::before,
  .pf-v5-c-login__container > .pf-v5-c-login__main {
    min-block-size: 30rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container,
  body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container::before,
  .pf-v5-c-login__main,
  .pf-v5-c-form-control,
  input,
  select,
  textarea {
    border: 1px solid CanvasText;
  }

  body#keycloak-bg .pf-v5-c-login .pf-v5-c-login__container::before {
    background: Canvas;
  }
}

/* ------------------------------------------------------------------ */
/* Second-factor chooser and passkey list                              */
/* (select-authenticator.ftl and webauthn-authenticate.ftl render a   */
/* PatternFly data list; restyle it as Life paper cards)              */
/* ------------------------------------------------------------------ */

ul.select-auth-container {
  display: grid;
  gap: 0.85rem;
  margin: 0.4rem 0 0.35rem;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.select-auth-container > .pf-v5-c-data-list__item {
  border: 1px solid var(--thrivian-auth-line-strong);
  border-radius: var(--thrivian-auth-radius-control);
  background: var(--thrivian-auth-paper);
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.select-auth-container > .pf-v5-c-data-list__item::before {
  display: none;
}

.select-auth-container > .pf-v5-c-data-list__item:hover,
.select-auth-container > .pf-v5-c-data-list__item:focus-within {
  border-color: var(--thrivian-auth-gold);
  box-shadow: 0 0.4rem 1.4rem rgba(6, 31, 25, 0.08);
}

.select-auth-container .select-auth-box-parent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.95rem;
  row-gap: 0.3rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  outline: none;
}

.select-auth-container .select-auth-box-parent:focus-visible {
  outline: 2px solid var(--thrivian-auth-ring);
  outline-offset: -2px;
  border-radius: var(--thrivian-auth-radius-control);
}

.select-auth-container .pf-v5-c-data-list__item-content {
  display: contents;
}

/* PatternFly spacing utilities on the cells carry !important; match it so
   the grid placement below owns the geometry. */
.select-auth-container .pf-v5-c-data-list__cell {
  padding: 0 !important;
  margin: 0;
}

.select-auth-container .pf-v5-c-data-list__cell.pf-m-icon {
  grid-row: 1;
  grid-column: 1;
}

.select-auth-container .pf-v5-c-data-list__cell.pf-m-no-fill:not(.select-auth-box-desc) {
  grid-row: 1;
  grid-column: 2;
}

.select-auth-container .select-auth-box-parent > .pf-v5-c-data-list__item-action {
  grid-row: 1 / span 2;
  grid-column: 3;
  align-self: center;
}

.select-auth-container .pf-v5-c-data-list__cell.pf-m-icon > i,
.select-auth-container .pf-v5-c-data-list__cell.pf-m-icon .pf-v5-c-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(18, 61, 49, 0.08);
  color: var(--thrivian-auth-forest);
  font-size: 1.1rem;
}

.select-auth-container .pf-v5-c-icon svg,
.select-auth-container .pf-v5-c-icon img {
  width: 1.3rem;
  height: 1.3rem;
}

/* The heading carries pf-v5-u-font-family-heading (!important); match it. */
.select-auth-box-headline {
  margin: 0;
  font-family: var(--thrivian-auth-font-display) !important;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--thrivian-auth-ink);
}

.select-auth-container .select-auth-box-desc {
  grid-column: 2 / -1;
  grid-row: 2;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--thrivian-auth-muted);
}

.select-auth-container .pf-v5-u-color-200 {
  color: var(--thrivian-auth-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.select-auth-container .pf-v5-c-data-list__item-action {
  display: flex;
  align-items: center;
  padding: 0;
  color: var(--thrivian-auth-muted);
  transition: color 160ms ease, transform 160ms ease;
}

.select-auth-container > .pf-v5-c-data-list__item:hover .pf-v5-c-data-list__item-action {
  color: var(--thrivian-auth-gold);
  transform: translateX(2px);
}

#kc-form-webauthn > p {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  color: var(--thrivian-auth-muted);
}
