:root {
  --ih-navy: #0b1220;
  --ih-brand: #10379d;
  --ih-primary: #315db7;
  --ih-primary-hover: #244b95;
  --ih-primary-soft: #e8f0ff;
  --ih-canvas: #f9fafb;
  --ih-surface: #ffffff;
  --ih-text: #101828;
  --ih-muted: #667085;
  --ih-label: #344054;
  --ih-border: #e4e7ec;
  --ih-border-strong: #d0d5dd;
  --ih-danger: #b42318;
  --ih-danger-soft: #fef3f2;
  --ih-radius: 8px;
}

html,
body {
  min-height: 100%;
  margin: 0;
  color: var(--ih-text) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.login-pf,
.login-pf body {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background:
    radial-gradient(circle at 15% 18%, rgba(49, 93, 183, 0.34), transparent 27rem),
    radial-gradient(circle at 88% 84%, rgba(16, 55, 157, 0.3), transparent 30rem),
    linear-gradient(145deg, #101c34 0%, var(--ih-navy) 58%, #080d16 100%) !important;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(49, 93, 183, 0.34), transparent 27rem),
    radial-gradient(circle at 88% 84%, rgba(16, 55, 157, 0.3), transparent 30rem),
    linear-gradient(145deg, #101c34 0%, var(--ih-navy) 58%, #080d16 100%) !important;
}

.pf-v5-c-login,
.login-pf-page {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: transparent !important;
  background-image: none !important;
}

a {
  color: var(--ih-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(49, 93, 183, 0.25) !important;
  outline-offset: 2px !important;
}

#kc-header,
#kc-header-wrapper {
  display: none !important;
}

.pf-v5-c-login {
  position: relative !important;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  place-items: center !important;
  padding: 32px 20px !important;
}

.ih-collage {
  --ih-row-one-x: 0px;
  --ih-row-one-y: 0px;
  --ih-row-two-x: 0px;
  --ih-row-two-y: 0px;
  --ih-row-three-x: 0px;
  --ih-row-three-y: 0px;
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--ih-navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease-out;
}

.ih-collage[data-ready="true"] {
  opacity: 1;
}

.ih-collage-row {
  position: absolute;
  right: 0;
  left: 0;
  height: 33.334%;
  overflow: hidden;
}

.ih-collage-row:nth-child(1) {
  top: 0;
}

.ih-collage-row:nth-child(2) {
  top: 33.333%;
}

.ih-collage-row:nth-child(3) {
  bottom: 0;
}

.ih-collage-row img {
  position: absolute;
  top: -6%;
  left: -6%;
  width: 112%;
  max-width: none !important;
  height: 112%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 140ms ease-out;
}

.ih-collage-row:nth-child(1) img {
  transform: translate3d(var(--ih-row-one-x), var(--ih-row-one-y), 0);
}

.ih-collage-row:nth-child(2) img {
  transform: translate3d(var(--ih-row-two-x), var(--ih-row-two-y), 0);
}

.ih-collage-row:nth-child(3) img {
  transform: translate3d(var(--ih-row-three-x), var(--ih-row-three-y), 0);
}

.ih-collage-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: var(--ih-navy);
  opacity: 0.64;
}

.pf-v5-c-login__container,
.login-pf-page {
  position: relative !important;
  z-index: 1;
  width: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-areas: "main" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  place-items: center !important;
  padding: 0 !important;
}

.pf-v5-c-login__main,
.card-pf {
  position: relative !important;
  grid-area: main !important;
  width: min(520px, 100%) !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--ih-radius) !important;
  background: var(--ih-surface) !important;
  color: var(--ih-text) !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28), 0 4px 14px rgba(0, 0, 0, 0.16) !important;
}

.pf-v5-c-login__main-header,
.pf-v5-c-login__main-body,
.pf-v5-c-login__main-footer,
.card-pf {
  width: 100% !important;
  margin: 0 !important;
}

.pf-v5-c-login__main > .pf-v5-c-login__main-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 0 32px 18px !important;
}

.pf-v5-c-login__main > .pf-v5-c-login__main-body {
  padding: 0 32px 30px !important;
}

.pf-v5-c-login__main-footer,
.card-pf {
  padding: 0 !important;
}

.pf-v5-c-login__main-header h1,
#kc-page-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ih-text) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
}

.pf-v5-c-login__main-footer:empty {
  display: none !important;
}

#kc-container,
#kc-container-wrapper,
#kc-content,
#kc-content-wrapper,
#kc-form,
#kc-form-wrapper,
#kc-info,
#kc-info-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ih-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 30px 32px 20px;
}

.ih-brand-mark {
  display: block;
  width: 48px;
  max-width: none;
  height: 47px;
  flex: 0 0 48px;
  object-fit: contain;
}

.ih-brand-mark--dark {
  display: none;
}

html[data-ih-effective-color-mode="dark"] .ih-brand-mark--light {
  display: none;
}

html[data-ih-effective-color-mode="dark"] .ih-brand-mark--dark {
  display: block;
}

.ih-brand-divider {
  width: 1px;
  height: 30px;
  flex: 0 0 auto;
  background: var(--ih-border);
}

.ih-product {
  min-width: 0;
  color: var(--ih-text) !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.ih-panel {
  padding: 0;
}

.ih-heading {
  margin-bottom: 24px;
}

.ih-heading h1 {
  margin: 0;
  color: var(--ih-text) !important;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ih-heading p {
  margin: 0;
  color: var(--ih-muted) !important;
  font-size: 14px;
  line-height: 1.55;
}

.ih-heading h1 + p {
  margin-top: 8px;
}

.ih-form {
  display: grid !important;
  gap: 18px !important;
}

.pf-v5-c-login__main-body form.pf-v5-c-form {
  display: grid !important;
  gap: 18px !important;
}

.ih-form > .pf-v5-c-form__group,
.ih-form > .pf-c-form__group,
.ih-form .pf-v5-c-form__group,
.ih-form .pf-c-form__group {
  margin: 0 !important;
}

.ih-label,
label,
.pf-v5-c-form__label,
.pf-c-form__label {
  display: block;
  margin-bottom: 7px !important;
  color: var(--ih-label) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4;
}

.ih-input,
#username,
#password,
#otp,
#totp,
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border: 1px solid var(--ih-border-strong) !important;
  border-radius: var(--ih-radius) !important;
  outline: 0 !important;
  background: var(--ih-surface) !important;
  color: var(--ih-text) !important;
  caret-color: var(--ih-text) !important;
  box-shadow: none !important;
  font: inherit !important;
  transition: border-color 140ms ease, box-shadow 140ms ease !important;
}

.ih-input:hover,
#username:hover,
#password:hover,
#otp:hover,
#totp:hover {
  border-color: #98a2b3 !important;
}

.ih-input:focus,
#username:focus,
#password:focus,
#otp:focus,
#totp:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: var(--ih-primary) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(49, 93, 183, 0.14) !important;
}

.ih-input[readonly],
#username[readonly] {
  background: var(--ih-canvas) !important;
  color: var(--ih-label) !important;
  cursor: default;
}

.ih-input:-webkit-autofill,
.ih-input:-webkit-autofill:hover,
.ih-input:-webkit-autofill:focus,
#username:-webkit-autofill,
#username:-webkit-autofill:hover,
#username:-webkit-autofill:focus,
#password:-webkit-autofill,
#password:-webkit-autofill:hover,
#password:-webkit-autofill:focus {
  border-color: var(--ih-border-strong) !important;
  -webkit-text-fill-color: var(--ih-text) !important;
  caret-color: var(--ih-text) !important;
  box-shadow: 0 0 0 1000px var(--ih-surface) inset !important;
}

.ih-input:-webkit-autofill:focus,
#username:-webkit-autofill:focus,
#password:-webkit-autofill:focus {
  border-color: var(--ih-primary) !important;
  box-shadow: 0 0 0 1000px var(--ih-surface) inset, 0 0 0 4px rgba(49, 93, 183, 0.14) !important;
}

span.pf-v5-c-form-control,
div.pf-v5-c-form-control {
  width: 100% !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  border: 1px solid var(--ih-border-strong) !important;
  border-radius: var(--ih-radius) !important;
  background: var(--ih-surface) !important;
  color: var(--ih-text) !important;
  box-shadow: none !important;
}

span.pf-v5-c-form-control:hover,
div.pf-v5-c-form-control:hover {
  border-color: #98a2b3 !important;
}

span.pf-v5-c-form-control:focus-within,
div.pf-v5-c-form-control:focus-within {
  border-color: var(--ih-primary) !important;
  box-shadow: 0 0 0 4px rgba(49, 93, 183, 0.14) !important;
}

span.pf-v5-c-form-control.pf-m-error,
div.pf-v5-c-form-control.pf-m-error {
  border-color: var(--ih-danger) !important;
}

span.pf-v5-c-form-control > input,
div.pf-v5-c-form-control > input,
div.pf-v5-c-form-control > select {
  min-width: 0 !important;
  min-height: 46px !important;
  flex: 1 1 auto !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

div.pf-v5-c-form-control > select {
  width: 100%;
  appearance: none;
  color: var(--ih-label);
  font: inherit;
}

.pf-v5-c-login__main-header-utilities .pf-v5-c-form-control {
  min-height: 40px !important;
}

.pf-v5-c-login__main-header-utilities .pf-v5-c-form-control > select {
  min-height: 38px !important;
  padding-right: 36px !important;
  font-size: 13px !important;
}

.pf-v5-c-input-group {
  width: 100% !important;
  display: flex !important;
  align-items: stretch !important;
}

.pf-v5-c-input-group__item.pf-m-fill {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.pf-v5-c-input-group .pf-v5-c-input-group__item.pf-m-fill .pf-v5-c-form-control {
  border-radius: var(--ih-radius) 0 0 var(--ih-radius) !important;
}

.pf-v5-c-input-group .pf-v5-c-button.pf-m-control {
  width: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border: 1px solid var(--ih-border-strong) !important;
  border-left: 0 !important;
  border-radius: 0 var(--ih-radius) var(--ih-radius) 0 !important;
  background: var(--ih-surface) !important;
  color: var(--ih-muted) !important;
  box-shadow: none !important;
}

.pf-v5-c-input-group .pf-v5-c-button.pf-m-control:hover {
  background: var(--ih-canvas) !important;
  color: var(--ih-text) !important;
}

.ih-row {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.ih-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ih-muted) !important;
  font-weight: 500;
}

.ih-checkbox input,
.pf-v5-c-check__input {
  accent-color: var(--ih-primary);
}

.ih-link,
.ih-otp-user a {
  color: var(--ih-primary) !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.ih-link:hover,
.ih-otp-user a:hover {
  color: var(--ih-primary-hover) !important;
  text-decoration-color: currentColor;
}

.ih-submit,
#kc-login,
#kc-submit,
input[type="submit"],
button[type="submit"],
.pf-v5-c-button.pf-m-primary,
.pf-c-button.pf-m-primary {
  width: 100% !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--ih-primary) !important;
  border-radius: var(--ih-radius) !important;
  background: var(--ih-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08) !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease !important;
}

.ih-submit:hover,
#kc-login:hover,
#kc-submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.pf-v5-c-button.pf-m-primary:hover,
.pf-c-button.pf-m-primary:hover {
  border-color: var(--ih-primary-hover) !important;
  background: var(--ih-primary-hover) !important;
}

.ih-submit:active,
#kc-login:active,
#kc-submit:active {
  transform: translateY(1px);
}

.ih-error,
.kc-feedback-text.pf-m-error,
.pf-v5-c-alert.pf-m-danger .kc-feedback-text,
.pf-c-alert.pf-m-danger .kc-feedback-text {
  display: block;
  margin-top: 7px;
  color: var(--ih-danger) !important;
  font-size: 13px;
  line-height: 1.45;
}

.ih-register {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 22px 0 0;
  border-top: 1px solid var(--ih-border);
  color: var(--ih-muted) !important;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.ih-register a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ih-border-strong);
  border-radius: var(--ih-radius);
  background: var(--ih-surface);
  color: var(--ih-primary) !important;
  font-weight: 600;
  text-decoration: none;
}

.ih-register a:hover {
  border-color: #a9bde5;
  background: var(--ih-primary-soft);
  color: var(--ih-primary-hover) !important;
}

#kc-username {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 20px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--ih-border) !important;
  border-radius: var(--ih-radius) !important;
  background: var(--ih-canvas) !important;
}

#kc-attempted-username {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--ih-text) !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ih-attempted-username {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--ih-border-strong);
  border-radius: var(--ih-radius);
  background: var(--ih-canvas);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.ih-attempted-username:focus-within {
  border-color: var(--ih-primary);
  box-shadow: 0 0 0 4px rgba(49, 93, 183, 0.16);
}

.ih-attempted-username-change {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border-left: 1px solid var(--ih-border-strong);
  background: var(--ih-surface);
  color: var(--ih-primary) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}

.ih-attempted-username-change:hover {
  background: var(--ih-primary-soft);
  color: var(--ih-primary-hover) !important;
}

.pf-v5-c-alert,
.pf-c-alert,
#kc-info-message,
.alert-info,
.alert-warning,
.alert-error {
  margin: 0 0 20px !important;
  padding: 12px 14px !important;
  border: 1px solid #b9cdf2 !important;
  border-radius: var(--ih-radius) !important;
  background: var(--ih-primary-soft) !important;
  color: var(--ih-label) !important;
  box-shadow: none !important;
}

.pf-v5-c-alert.pf-m-danger,
.pf-c-alert.pf-m-danger,
.alert-error {
  border-color: #fecdca !important;
  background: var(--ih-danger-soft) !important;
}

.pf-v5-c-alert__title,
.pf-c-alert__title,
.alert-info span,
.alert-warning span,
.alert-error span {
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.pf-v5-c-alert__icon,
.pf-c-alert__icon {
  color: var(--ih-primary) !important;
}

#kc-error-message,
#kc-info-message {
  display: grid;
  gap: 14px;
  color: var(--ih-label) !important;
  font-size: 14px;
  line-height: 1.55;
}

#kc-error-message p,
#kc-info-message p {
  margin: 0;
}

#kc-error-message a,
#kc-info-message a,
#try-another-way,
#switch-organization {
  color: var(--ih-primary) !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

#kc-error-message a:hover,
#kc-info-message a:hover,
#try-another-way:hover,
#switch-organization:hover {
  color: var(--ih-primary-hover) !important;
  text-decoration-color: currentColor;
}

#kc-social-providers {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--ih-border);
}

#kc-social-providers ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.ih-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.ih-clipboard-fallback {
  position: fixed !important;
  top: 0 !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

body[data-page-id="login-login-config-totp"] .pf-v5-c-login__main,
body:has(.ih-totp-panel) .pf-v5-c-login__main {
  width: min(620px, 100%) !important;
}

body[data-page-id="login-login-config-totp"] .alert-warning,
body[data-page-id="login-login-config-totp"] .pf-v5-c-alert.pf-m-warning {
  display: none !important;
}

.ih-totp-panel {
  padding-bottom: 2px;
}

.ih-totp-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.ih-qr-card {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--ih-border);
  border-radius: var(--ih-radius);
  background: var(--ih-surface);
}

.ih-qr {
  width: min(240px, 100%);
  height: auto;
  display: block;
}

.ih-totp-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: var(--ih-radius);
  background: var(--ih-canvas);
  color: var(--ih-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ih-totp-copy p {
  margin: 0 0 14px;
  color: inherit !important;
}

.ih-totp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ih-totp-policy {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  color: var(--ih-label);
  font-size: 12px;
}

.ih-totp-policy > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.ih-totp-policy dt {
  color: var(--ih-muted);
}

.ih-totp-policy dd {
  margin: 0;
  color: var(--ih-text);
  font-weight: 600;
  text-align: right;
}

.ih-link-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--ih-border-strong);
  border-radius: var(--ih-radius);
  background: var(--ih-surface);
  color: var(--ih-primary) !important;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ih-link-button:hover {
  background: var(--ih-primary-soft);
}

.ih-totp-form #totp,
.ih-otp-form #otp {
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-align: center !important;
}

.ih-manual-secret {
  width: 100%;
  padding: 14px;
  border-radius: var(--ih-radius);
  background: var(--ih-canvas);
  color: var(--ih-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-align: center;
}

.ih-totp-session-option:empty {
  display: none;
}

.ih-totp-form-actions {
  display: grid;
  gap: 10px;
}

.ih-secondary-submit,
#cancelTOTPBtn {
  width: 100% !important;
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--ih-border-strong) !important;
  border-radius: var(--ih-radius) !important;
  background: var(--ih-surface) !important;
  color: var(--ih-label) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}

.ih-secondary-submit:hover,
#cancelTOTPBtn:hover {
  border-color: #98a2b3 !important;
  background: var(--ih-canvas) !important;
  color: var(--ih-text) !important;
}

body[data-page-id="login-login-otp"] .ih-attempted-username-context,
body:has(.ih-otp-panel) .ih-attempted-username-context {
  display: none !important;
}

.ih-otp-panel .ih-heading {
  margin-bottom: 18px;
}

.ih-otp-panel .ih-heading p {
  max-width: 360px;
}

.ih-otp-user {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.ih-otp-user span {
  min-width: 0;
  overflow: hidden;
  color: var(--ih-label) !important;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ih-otp-credentials {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ih-otp-credentials legend {
  margin-bottom: 7px;
  color: var(--ih-label);
  font-size: 13px;
  font-weight: 600;
}

.ih-otp-credential {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 11px 12px;
  border: 1px solid var(--ih-border);
  border-radius: var(--ih-radius);
  background: var(--ih-surface);
  color: var(--ih-label) !important;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ih-otp-credential:hover {
  border-color: #a9bde5;
  background: var(--ih-primary-soft);
}

.ih-otp-credential:has(input:checked) {
  border-color: var(--ih-primary);
  background: var(--ih-primary-soft);
}

.ih-otp-credential input {
  margin: 0;
  accent-color: var(--ih-primary);
}

.ih-otp-credential-icon {
  width: 10px;
  height: 16px;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  color: var(--ih-primary);
}

.ih-expired-actions,
.pf-v5-c-form__actions {
  display: grid !important;
  gap: 10px !important;
}

.ih-action-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: var(--ih-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}

.ih-action-link-primary {
  border: 1px solid var(--ih-primary);
  background: var(--ih-primary);
  color: #ffffff !important;
}

.ih-action-link-primary:hover {
  border-color: var(--ih-primary-hover);
  background: var(--ih-primary-hover);
}

.ih-action-link-secondary,
#kc-cancel {
  border: 1px solid var(--ih-border-strong) !important;
  background: var(--ih-surface) !important;
  color: var(--ih-label) !important;
  box-shadow: none !important;
}

.ih-action-link-secondary:hover,
#kc-cancel:hover {
  background: var(--ih-canvas) !important;
  color: var(--ih-text) !important;
}

.ih-update-password-form .pf-v5-c-input-group {
  width: 100% !important;
  display: flex !important;
  align-items: stretch !important;
}

.ih-update-password-form .pf-v5-c-input-group__item.pf-m-fill {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.ih-update-password-form .pf-v5-c-form-control {
  width: 100% !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid var(--ih-border-strong) !important;
  border-radius: var(--ih-radius) 0 0 var(--ih-radius) !important;
  background: var(--ih-surface) !important;
  box-shadow: none !important;
}

.ih-update-password-form .pf-v5-c-form-control:focus-within {
  z-index: 1;
  border-color: var(--ih-primary) !important;
  box-shadow: 0 0 0 4px rgba(49, 93, 183, 0.14) !important;
}

.ih-update-password-form .pf-v5-c-form-control input[type="password"] {
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ih-update-password-form .pf-v5-c-button.pf-m-control {
  width: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border: 1px solid var(--ih-border-strong) !important;
  border-left: 0 !important;
  border-radius: 0 var(--ih-radius) var(--ih-radius) 0 !important;
  background: var(--ih-surface) !important;
  color: var(--ih-muted) !important;
  box-shadow: none !important;
}

.ih-update-password-form .pf-v5-c-button.pf-m-control:hover {
  background: var(--ih-canvas) !important;
  color: var(--ih-text) !important;
}

.ih-update-password-form .pf-v5-c-check__label,
.instruction,
.subtitle {
  color: var(--ih-muted) !important;
  font-size: 13px !important;
}

ol,
ul {
  color: var(--ih-label) !important;
}

@media (max-width: 640px) {
  .ih-collage-row img {
    object-position: 52% center;
  }

  .ih-collage-shade {
    opacity: 0.72;
  }

  .pf-v5-c-login {
    padding: 16px 12px !important;
  }

  .pf-v5-c-login__main,
  .card-pf {
    width: 100% !important;
  }

  .ih-brand {
    gap: 10px;
    padding: 26px 22px 18px;
  }

  .pf-v5-c-login__main > .pf-v5-c-login__main-header {
    padding-right: 22px !important;
    padding-bottom: 16px !important;
    padding-left: 22px !important;
  }

  .pf-v5-c-login__main > .pf-v5-c-login__main-body {
    padding-right: 22px !important;
    padding-bottom: 24px !important;
    padding-left: 22px !important;
  }

  .ih-brand-mark {
    width: 44px;
    height: 43px;
    flex-basis: 44px;
  }

  .ih-product {
    font-size: 14px;
  }

  .ih-panel {
    padding: 0;
  }

  .ih-register {
    padding: 20px 0 0;
  }

  .pf-v5-c-alert,
  .pf-c-alert,
  #kc-info-message,
  .alert-info,
  .alert-warning,
  .alert-error {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  #kc-username {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .ih-totp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .ih-brand {
    flex-wrap: wrap;
  }

  .ih-brand-mark {
    width: 44px;
    max-width: none;
    height: 43px;
    flex-basis: 44px;
  }

  .ih-brand-divider {
    display: none;
  }

  .ih-product {
    width: 100%;
  }

  .ih-heading h1 {
    font-size: 25px;
  }
}

@media (min-width: 641px) and (max-width: 899px) {
  .ih-collage-shade {
    opacity: 0.68;
  }
}

@media (hover: hover) and (pointer: fine) {
  .ih-collage-row img {
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ih-collage {
    transition: none;
  }

  .ih-collage-row img {
    transform: none !important;
    transition: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
