/** Fonts **/
@import url('./custom-font.css');
/* Overrides */
@import url('./overrides.css');
/* Defaults */

.pf-v5-c-login__container {
  grid-template-areas: "main";
  grid-template-columns: 34rem;
}

#kc-header-wrapper {
  padding: 62px 10px 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* body {
  background-size: cover;
  background-image: url("../img/background.jpeg");
  height: 100vh;
  font-family: Roboto, sans-serif;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
} */

.pf-v5-c-login__main-body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
  align-items: center;
}

div.kc-logo-text {
  background-repeat: no-repeat;
  height: 63px;
  width: 300px;
  margin: 0 auto;
}

div.kc-logo-text span {
  display: none;
}

#mp-form-buttons {
  background-color: transparent;
  color: black;
  transition: background-color 0.3s ease;
}

.image-css {
  margin: 10px;
}

.card {
  width: 345px;
  padding: 24px;
  margin: auto;
  background: #fff;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
  color: #000;
}

.input-field{
  font-size: 16px;
  letter-spacing: 0.65px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid gray;
  padding: 5px 11px;
}

.input-field:focus-visible {
  outline: 1px solid #03b6fc;
  border: 1px solid #03b6fc;
}

.pf-m-success {
  background: rgb(188, 236, 200) !important;
  color: rgba(0, 0, 0, .87);
}

.pf-m-warning {
  background: rgb(249 225 102) !important;
  color: rgba(0, 0, 0, .87);
}

.justify-end{
  justify-content: end;
}

.mt-2{
  margin-top: 8px;
}

.mt-6{
  margin-top: 24px !important;
}

.ml-n1{
  margin-left: -4px;
}

.ma-0{
  margin: 0px;
}

.mt-n5 {
  margin-top: -20px !important;
}

.mb-n5 {
  margin-bottom: -20px !important;
}

.ml-1{
  margin-left: 4px;
}

.light-blue--text {
  color: #006baf;
  caret-color: #006baf;
}

.forgot-password{
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .0071428571em;
  line-height: 1.375rem;
  font-family: Roboto, sans-serif;
  text-decoration: none;
  color: red;
  font-weight: 700;
  color: rgba(0, 0, 0, .6);
}

.social-btn{
  color: #666666;
  padding: 0px 10px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .0892857143em;
}

.or-text{
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1666666667em;
  line-height: 2rem;
  text-transform: uppercase;
  font-family: Roboto, sans-serif;
  color: gray;
}

.footer {
  position: relative;
  bottom: 32px;
  font-weight: 300;
  margin:0px 80px;
  z-index: 9;
}

.footer-text{
  text-decoration: none;
  /* color: #fff; */
  font-size: 16px;
}

.field-error{
  text-align: left;
  padding: 2px 12px;
  margin-bottom: -25px;
}

.field-error-msg{
  color: #b00020;
  font-size: 12px;
}

.d-none{
  display: none !important;
}

.info-update-alert{
  text-align: left;
  background-color: rgb(255, 242, 204);
  padding: 6px 5px;
  display: flex;
  border-radius: 4px;
  white-space: normal;
  font-size: .875rem !important;
  line-height: 1.37rem;
  margin-top: 6px;
}

.info-icon {
  width:20px;
  height:20px;
  margin-right: 2px;
}

.mfa-required-text{
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  letter-spacing: .03125em;
  line-height: 1.5rem;
  font-weight: 500;
  margin: 20px 0px;
}

.mfa-text{
  color: rgba(0, 0, 0, .6);
  text-align: left;
  font-size: 0.875rem;
  letter-spacing: .0178571429em;
  line-height: 1.25rem;
  display: block;
}

.otp-container {
  margin: 32px 0px;
}

.otp-input {
  width: 53px;
  border: 1px solid #9e9e9e;
  margin: 0 0px;
  text-align: center;
  font-size: 23px;
  padding: 8px 4px;
  height: 53px;
  border-radius: 4px;
}

.otp-input:focus {
  outline: none;
}
.otp-input:focus-visible {
  outline: 1px solid #03b6fc;
  border: 1px solid #03b6fc;
}

.otp-errors{
  margin-bottom: 11px;
  width: 100%;
  padding: 10px 0px;
  background: #efc5ca;
  border-radius: 4px;
  font-weight: normal;
  margin-top: -22px;
}

.otp-footer-text{
  margin: 24px 0px 6px 0px;
  font-size: 13px;
  color: rgba(0, 0, 0, .6);
  letter-spacing: .0333333333em;
  line-height: 1.25rem;
  font-size: .75rem;
  font-weight: 400;
  font-family: Roboto, sans-serif;
  text-align: center;
}

.otp-footer-contact{
  font-size: .875rem;
  letter-spacing: .0178571429em;
  line-height: 1.25rem;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  cursor: pointer;
  color: rgba(0, 0, 0, .6);
  text-align: center;
}

.disabled{
  background-color: rgba(0, 0, 0, .12) !important;
  border: 1px solid rgb(224 224 224) !important;
  color: rgba(0, 0, 0, .26) !important;
  cursor: default !important;
  pointer-events: none;
}

.disabled:hover{
  background-color: rgba(0, 0, 0, .12) !important;
  border: 1px solid rgb(224 224 224) !important;
  color: rgba(0, 0, 0, .26) !important;
  cursor: default;
}

.forgot-sub-title{
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75rem;
  letter-spacing: .009375em;
  font-family: Roboto, sans-serif;
  color: rgba(0, 0, 0, .6);
}

.forgot-back-login{
  background: transparent;
  border: none;
}

.forgot-back-login .anchor-tag{
  text-decoration: none;
  color: rgba(0, 0, 0, .6);
  font-size: .875rem;
  letter-spacing: .0071428571em;
  line-height: 1.375rem;
  font-weight: 700;
  font-family: Roboto, sans-serif;
}


/* ── recovery codes screen ─────────────────────────────────────────────── */

/* wider card: 12 codes in two columns need the room */
.card:has(#kc-recovery-codes-list) {
  width: min(420px, 92vw);
}

.saved-code{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--orb-ink-soft);
  cursor: pointer;
  margin-left: 10px;
}

/* the codes themselves — two-column monospace panel, tabular numerals */
ol#kc-recovery-codes-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 14px 16px 14px 34px;
  box-sizing: border-box;
  background: #fbfbfc;
  border: 1px solid var(--orb-line);
  border-radius: 10px;
  list-style-position: outside;
  line-height: 1.6;
  text-align: center;
}

ol#kc-recovery-codes-list li {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--orb-ink);
  padding-right: 20px;
}

ol#kc-recovery-codes-list li::marker {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--orb-dimmer);
}

/* print / download / copy — equal thirds, same soft treatment as the pills */
.kc-recovery-codes-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 20px !important;
}

#printRecoveryCodes,
#downloadRecoveryCodes,
#copyRecoveryCodes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: var(--orb-control-h-sm);
  padding: 0 8px;
  box-sizing: border-box;
  background: var(--orb-soft);
  border: 0;
  border-radius: var(--orb-radius);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px !important;
  font-weight: 600;
  color: var(--orb-ink);
  transition: background 0.18s, transform 0.1s;
}

#printRecoveryCodes:hover,
#downloadRecoveryCodes:hover,
#copyRecoveryCodes:hover {
  background: var(--orb-soft-hover);
}

#printRecoveryCodes:active,
#downloadRecoveryCodes:active,
#copyRecoveryCodes:active {
  transform: translateY(1px);
}

.kc-recovery-codes-actions .pf-v5-c-button__icon {
  margin: 0;
  font-size: 13px;
  color: var(--orb-ink-soft);
}

/* confirmation + sign-out checkboxes */
#kc-recovery-codes-settings-form #kc-form-options {
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}

#kc-recovery-codes-settings-form .checkbox {
  margin: 0 0 10px;
}

#kc-recovery-codes-settings-form .checkbox:last-child {
  margin-bottom: 0;
}

#kc-recovery-codes-settings-form .checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--orb-ink-soft);
  cursor: pointer;
}

/* the theme paints its custom checkboxes cyan — bring them to the accent */
#logout-sessions,
#rememberMe,
input#kcRecoveryCodesConfirmationCheck {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0 !important;
  border: 1.5px solid var(--orb-dimmer);
  border-radius: 5px;
}

#logout-sessions:checked,
#rememberMe:checked,
input#kcRecoveryCodesConfirmationCheck:checked {
  background-color: var(--orb-accent);
  border-color: var(--orb-accent);
}

#logout-sessions:focus-visible,
#rememberMe:focus-visible,
input#kcRecoveryCodesConfirmationCheck:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(24, 118, 242, 0.18);
}

#saveRecoveryAuthnCodesBtn {
  width: 100%;
}


.text-decoration-none{
  text-decoration: none;
  color: rgba(0, 0, 0, .6) !important;
}

.reset-loader{
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px 0px !important;
}

/* Utility Classes */
.d-flex {
  display: flex;
}

.justify-space-evenly {
  justify-content: space-evenly;
}

.flex-align-center {
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-content-center {
  justify-content: center;
}

.justify-space-between {
  justify-content: space-between;
}

.d-block {
  display: block;
  width: 100%;
}

.pb-2{
  padding-bottom: 8px;
}

.mr-2{
  margin-right: 8px;
}

.ml-2{
  margin-left: 8px;
}

.mt-n6 {
  margin-top: -24px !important;
}

.mt-n2 {
  margin-top: -8px !important;
}

.mt-0 {
  margin-top: 0px !important;
}

.mt-4 {
  margin-top: 16px !important;
}

.mt-5 {
  margin-top: 20px !important;
}

.mt-10 {
  margin-top: 40px !important;
}

.mb-2 {
  margin-bottom: 8px !important;
}

.mb-4 {
  margin-bottom: 16px !important;
}

.mb-6 {
  margin-bottom: 24px !important;
}

.mb-8 {
  margin-bottom: 32px !important;
}

.mb-12 {
  margin-bottom: 40px;
}

.mx-5 {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}
.w-50 {
  width: 50%;
}

.h-75 {
  height: 75px !important;
}

.gap-3{
  gap: 15px;
}
/* Button Styling */
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.089em;
  border-radius: 4px;
  padding: 16px;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  background-color: #1e2533;
  color: #fff;
}

.m-btn:hover {
 background-color: #000000cf;
} 

.m-btn.small {
  zoom: 0.7;
}

.m-btn.outlined {
  background-color: transparent !important;
  border: 1px solid #000 !important;
  color: #000 !important;
}

/* Loading State */
.m-btn.loading {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23ffffff"><circle cx="50" cy="50" r="40" stroke="%23ffffff" stroke-width="10" fill="none" stroke-dasharray="100" stroke-linecap="round"><animateTransform attributeName="transform" type="rotate" from="0 50 50" to="360 50 50" dur="0.6s" repeatCount="indefinite" /></circle></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
  color: rgba(255, 255, 255, 0) !important; /* Hide text */
  pointer-events: none;
}

.m-btn.outlined.loading {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%23ffffff"><circle cx="50" cy="50" r="40" stroke="%23000" stroke-width="10" fill="none" stroke-dasharray="100" stroke-linecap="round"><animateTransform attributeName="transform" type="rotate" from="0 50 50" to="360 50 50" dur="0.6s" repeatCount="indefinite" /></circle></svg>');
}

/* Disabled State */
.m-btn.disabled,
.m-btn.kc-btn.disabled:hover {
  background-color: rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgb(224, 224, 224) !important;
  color: rgba(0, 0, 0, 0.26) !important;
  cursor: default !important;
  pointer-events: none;
}

/* Input field utility classes */
.input-field.invalid{
  border: 2px solid #b00020;
}

.input-field.invalid:focus-visible{
  outline: #b00020 !important;
  border-color: #b00020 !important;
}

.mfa-response {
  margin: 10px 0px;
  border-radius: 4px;
  padding: 10px;
  white-space: normal;
  font-size: .875rem !important;
  line-height: 1.25rem;
}

.success {
  background-color: rgb(188, 236, 200);
  color: rgba(0, 0, 0, .87);
}

.error {
  background-color: rgb(236, 188, 188);
  color: rgba(0, 0, 0, .87);
}

.mfa-timer {
  white-space: normal;
  font-size: .775rem !important;
  margin: 4px 0px 0px 0px;
  color: #666666;
}
#kc-error-message {
    text-align: center;
}

.desc-size{
  font-size:14px;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}

.eye-icon{
  position: absolute;
  right: 7px;
  top: 18px;
  border: none;
  background: transparent;
  cursor: pointer;
}

#kc-info-message a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.089em;
  border-radius: 4px;
  padding: 10px;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  background-color: #1e2533;
  color: #fff;
}

#global-errors {
  color: rgba(0, 0, 0, .87);
  border-radius: 4px;
  padding: 15px 5px;
  white-space: normal;
  font-size: .875rem !important;
  line-height: normal;
  background-color: rgb(236, 188, 188);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

#global-errors .pf-v5-c-alert__icon {
  display: none;
}


#printRecoveryCodes, #downloadRecoveryCodes, #copyRecoveryCodes {
  cursor: pointer;
  width: 100px;
  height: 35px;
  border-width: thin;
  font-family: Montserrat, sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 4px;
}

.pf-c-alert__icon {
display: none;
}

#kc-form{
  width: 345px;
}

#kc-form-options {
  margin-top: 6px;
}

.pf-c-alert__description {
  text-align: left;
}

.kc-recovery-codes-actions + .col-xs-12 {
  display: flex;
  align-items: center;
}

#backToApplication {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 4px;
  padding: 10px;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  background-color: #1e2533;
  color: #fff;
  margin-top: 20px;
  width: 93%;
}

.kc-recovery-codes-actions {
  margin: 15px 0px;
}

input[type="submit" i]:disabled {
  background-color: rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgb(224, 224, 224) !important;
  color: rgba(0, 0, 0, 0.26) !important;
  cursor: default !important;
  pointer-events: none;
}


#logout-sessions, #rememberMe, input#kcRecoveryCodesConfirmationCheck {
  appearance: none;
  -webkit-appearance: none; /* For Safari */
  width: 17px;
  height: 17px;
  margin-right: 6px !important;
  border: 2px solid #9e9e9f;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}

#logout-sessions:checked, #rememberMe:checked, input#kcRecoveryCodesConfirmationCheck:checked {
  background-color: #03b6fc;
  border-color: #03b6fc;
}

#logout-sessions:checked::after, #rememberMe::after, input#kcRecoveryCodesConfirmationCheck:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#kc-form-options .checkbox label {
  display: flex;
  align-items: center;
}

.invite-logo {
  margin: 30px auto;
  height: 145px;
  width: 133px;
}

.link-color {
  color: #4a94d9 !important
}

.mp-legacy-login-section {
  text-align: left;
  margin-top: 2rem;
}

.mp-legacy-login-hint {
  margin: 0 0 0.25rem;
  color: #000;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
}

.mp-legacy-login-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.375rem;
  text-decoration: underline;
}
.icon-color {
  color: #348eeb !important;
}

.page-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  background-color: rgb(32 32 32 / 87%);
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-family: Montserrat, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.login-tooltip-width {
  width: 280px;
}

.m-model {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.m-model-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 400px;
}




:root{
    --bg:#ffffff; --ink:#1c1f24; --ink-soft:#2b2f36; --dim:#8b929c; --dimmer:#aab0b8;
    --line:rgba(24,27,33,0.14); --field:#fcfcfd; --accent:#1877f2;
  }
  *{ box-sizing:border-box; margin:0; padding:0; }
  html,body{ height:100%; }
  body{ background:var(--bg); color:var(--ink); font-family:'Inter',system-ui,sans-serif;
    -webkit-font-smoothing:antialiased; overflow:hidden; }

  .wordmark{ position:fixed; top:27px; left:clamp(22px,4vw,48px); z-index:6; font-weight:800; font-size:22px; line-height:1; letter-spacing:0.01em; color:var(--ink); text-decoration:none; cursor:pointer; }
  .back{ position:fixed; top:30px; right:clamp(22px,4vw,48px); z-index:6; color:var(--dim); text-decoration:none; font-size:14px; font-weight:500; transition:color .18s; }
  .back:hover{ color:var(--ink); }

  .orb-bg{ position:fixed; inset:0; z-index:0; pointer-events:none; }
  .stage{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
  #orb{ position:absolute; inset:0; width:100%; height:100%; display:block; }


  .center{ position:relative; z-index:1; height:100dvh; display:grid; place-items:center; padding:24px; }
  .card{ width:min(330px,90vw); display:flex; flex-direction:column; }
  .card h1{ font-size:24px; font-weight:600; letter-spacing:-0.01em; margin-bottom:18px; }
  .card .sub{ font-size:14px; color:var(--dim); margin:-12px 0 18px; }

  .field{ width:100%; background:var(--field); border:1px solid var(--line); border-radius:7px;
    padding:13px 14px; font-family:'Inter',sans-serif; font-size:15px; color:var(--ink); outline:0;
    margin-bottom:10px; transition:border-color .18s, box-shadow .18s; }
  .field::placeholder{ color:var(--dim); }
  .field:focus{ border-color:var(--accent); box-shadow:0 0 0 3px rgba(24,118,242,.14); background:#fff; }

  .primary{ width:100%; background:var(--ink); color:#fff; border:0; border-radius:7px; padding:14px;
    font-family:'Inter',sans-serif; font-size:15px; font-weight:600; cursor:pointer; margin-top:4px; transition:background .18s, transform .1s; }
  .primary:hover{ background:#000; }
  .primary:active{ transform:translateY(1px); }

  .meta{ display:flex; align-items:center; justify-content:space-between; margin-top:14px; font-size:13.5px; }
  .remember{ display:flex; align-items:center; gap:8px; color:var(--ink-soft); cursor:pointer; user-select:none; }
  .remember input{ width:15px; height:15px; accent-color:var(--accent); }
  .meta a{ color:var(--ink-soft); text-decoration:none; cursor:pointer; }
  .meta a:hover{ color:var(--accent); }

  .divider{ height:1px; background:var(--line); margin:20px 0 16px; }

  .soft{ width:100%; background:#f1f2f4; border:0; border-radius:7px; padding:13px; font-family:'Inter',sans-serif;
    font-size:14.5px; font-weight:600; color:var(--ink); cursor:pointer; transition:background .18s, transform .1s; display:flex; align-items:center; justify-content:center; gap:9px; }
  .soft:hover{ background:#e8e9ec; }
  .soft:active{ transform:translateY(1px); }
  .soft svg{ width:17px; height:17px; }
  .social-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; }
  .gG{ font-weight:700; font-size:17px; color:#4285F4; font-family:'Inter',sans-serif; }
  .ms{ display:grid; grid-template-columns:7px 7px; grid-template-rows:7px 7px; gap:2px; }
  .ms i{ width:7px; height:7px; }
  .ms i:nth-child(1){ background:#F25022; } .ms i:nth-child(2){ background:#7FBA00; }
  .ms i:nth-child(3){ background:#00A4EF; } .ms i:nth-child(4){ background:#FFB900; }

  .switch{ text-align:center; margin-top:20px; font-size:13.5px; color:var(--dim); }
  .switch a{ color:var(--accent); text-decoration:none; font-weight:600; cursor:pointer; }
  .switch a:hover{ text-decoration:underline; }



  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --orb-ink: #1c1f24;
  --orb-ink-soft: #2b2f36;
  --orb-dim: #8b929c;
  --orb-dimmer: #aab0b8;
  --orb-line: rgba(24, 27, 33, 0.14);
  --orb-field: #fcfcfd;
  --orb-accent: #1877f2;
  --orb-soft: #f1f2f4;
  --orb-soft-hover: #e8e9ec;
  --orb-radius: 7px;
  --orb-control-h: 46px;       /* one height for every field and button */
  --orb-control-h-sm: 40px;    /* tertiary actions (recovery-code toolbar) */
  --orb-warn-bg: #fffaf0;
  --orb-warn-line: rgba(180, 120, 20, 0.22);
  --orb-warn-ink: #7a4c07;
  /* one height for every field and button */
}

/* ── page ──────────────────────────────────────────────────────────────── */

body#maropost-bg {
  background: #fff !important;
  background-image: none !important;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--orb-ink);
  -webkit-font-smoothing: antialiased;
}

/* orb canvas injected by scripts/orb-background.js */
.orb-bg-lite {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* keep the login UI above the canvas */
#main-content {
  position: relative;
  z-index: 1;
}

/* diffuse white cloud behind the card — grain fades out under the form
   while the ring itself stays crisp (the ellipse ends before the ring) */
#main-content::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(560px, 84vw);
  height: min(800px, 96vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0) 74%
  );
  z-index: -1;
  pointer-events: none;
}

/* ── card ──────────────────────────────────────────────────────────────── */

.card {
  width: min(345px, 92vw);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 24px 0;
}

/* logo becomes the fixed top-left wordmark, exactly like login.html */
.card img.image-css {
  position: fixed;
  top: 24px;
  left: clamp(22px, 4vw, 48px);
  height: 18px;
  width: auto;
  margin: 0;
  padding: 0;
  z-index: 2;
}

/* "Login" heading injected by scripts/orb-background.js (prototype parity) */
.orb-card-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--orb-ink);
  text-align: left;
  margin: 0 0 18px;
}

/* ── vertical rhythm (8px scale; overrides.css adds a 30px margin-top to
      every .pf-v5-c-form-control — neutralize it and space groups here) ── */

.card .pf-v5-c-form-control {
  margin-top: 0 !important;
}

#kc-form .inputpf-v5-c-form__group {
  margin: 0 0 10px;                       /* email → password */
}

#kc-form .pf-v5-c-form__group {
  margin: 0 0 10px;
}

#kc-form .login-pf-settings {
  margin: 24px 0 18px !important;         /* remember/forgot row */
}

#kc-form #kc-form-buttons {
  margin: 0;
}

#m-try-another-way {
  margin: 18px 0 0;
}

#m-try-another-way .pf-v5-c-form__group {
  margin: 0;
}

.or-text.mt-0 {
  margin: 16px 0 12px;
}

#mp-legacy-login {
  margin-top: 20px;
}

/* ── fields ────────────────────────────────────────────────────────────── */

.input-field {
  width: 100% !important;      /* password input carries an inline width:93% */
  box-sizing: border-box;
  background: var(--orb-field);
  border: 1px solid var(--orb-line);
  border-radius: var(--orb-radius);
  height: var(--orb-control-h);
  padding: 0 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: normal;
  color: var(--orb-ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.input-field::placeholder {
  color: var(--orb-dim);
}

.input-field:focus,
.input-field:focus-visible {
  outline: 0;
  border: 1px solid var(--orb-accent);
  box-shadow: 0 0 0 3px rgba(24, 118, 242, 0.14);
  background: #fff;
}

#password.input-field {
  padding-right: 42px;         /* room for the eye toggle */
}

.eye-icon {
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  color: var(--orb-dim);
}

/* ── remember me / forgot password row ─────────────────────────────────── */

.forgot-password {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--orb-ink-soft);
}

a.forgot-password:hover {
  color: var(--orb-accent);
}

.checkbox input[type='checkbox'] {
  accent-color: var(--orb-accent);
  width: 16px;
  height: 16px;
  margin: 0 8px 0 0;
}

.tooltip .fa-info-circle {
  color: var(--orb-dimmer);
}

/* ── buttons ───────────────────────────────────────────────────────────── */

.m-btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--orb-radius);
  border: 0;
  height: var(--orb-control-h);
  padding: 0 16px;
  box-sizing: border-box;
  background-color: var(--orb-ink);
  transition: background-color 0.18s, transform 0.1s;
}

.m-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(24, 118, 242, 0.35);
}

.m-btn:hover {
  background-color: #000;
}

.m-btn:active {
  transform: translateY(1px);
}

.m-btn.outlined {
  border: 1px solid var(--orb-line) !important;
  color: var(--orb-ink) !important;
}

#kc-login {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  text-transform: none;   /* "Login", not "LOGIN" (relabeled by orb-background.js) */
  font-size: 15px;
}

/* ── passkey + divider + social ────────────────────────────────────────── */

#m-try-another-way {
  margin-top: 18px;
}

/* #authenticateWebAuthnButton is the passkey link rendered by Keycloak's passkeys.ftl (conditional UI) */
a#authenticateWebAuthnButton {
  margin-top: 18px;
}

#auth-way,
a#authenticateWebAuthnButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
  background: var(--orb-soft);
  border-radius: var(--orb-radius);
  height: var(--orb-control-h);
  padding: 0 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--orb-ink) !important;
  text-decoration: none;
  transition: background 0.18s, transform 0.1s;
}

/* the prototype's passkey key icon */
#auth-way::before,
a#authenticateWebAuthnButton::before {
  content: '';
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1f24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='10' r='4'/%3E%3Cpath d='M12 13l8 0M16 13v3M20 13v3M8 14v6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

#auth-way:hover,
a#authenticateWebAuthnButton:hover {
  background: var(--orb-soft-hover);
}

.or-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--orb-dim);
  line-height: 1;
}

.or-text::before,
.or-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--orb-line);
}

/* prototype layout: partner portal full-width, then icon-only G / MS pair */
#kc-social-providers ul {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#kc-social-providers .pf-v5-c-login__main-footer-links-item {
  list-style: none;
  margin: 0 !important;
  border: 0;                    /* overrides.css draws the border on the <li> */
  border-radius: var(--orb-radius);
}

/* #kc-social-providers li:first-child {
  grid-column: 1 / -1;         
} */

.full-width{
  grid-column: 1 / -1;
}

/* icon-only Google / Microsoft, like the prototype's social row */
#social-google .social-btn,
#social-microsoft .social-btn {
  display: none;
}

#social-google img,
#social-microsoft img {
  padding: 0;
  width: 20px;
  height: 20px;
}

#kc-social-providers .pf-v5-c-login__main-footer-links-item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  background: var(--orb-soft);
  border: 0 !important;
  border-radius: var(--orb-radius) !important;
  height: var(--orb-control-h);  /* overrides.css pins these to 25px */
  padding: 0 12px;
  text-decoration: none;
  transition: background 0.18s, transform 0.1s;
}

#kc-social-providers .pf-v5-c-login__main-footer-links-item-link:hover {
  background: var(--orb-soft-hover);
}

#kc-social-providers .pf-v5-c-login__main-footer-links-item-link:active {
  transform: translateY(1px);
}

.social-btn,
.kc-social-provider-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orb-ink-soft);
}

/* ── legacy login hint ─────────────────────────────────────────────────── */

.mp-legacy-login-hint {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--orb-dim);
}

.mp-legacy-login-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--orb-accent) !important;
}

.mp-legacy-login-link:hover {
  text-decoration: underline;
}

.link-color {
  color: var(--orb-accent) !important;
}

/* ── footer ────────────────────────────────────────────────────────────── */

.footer-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  color: var(--orb-dimmer);
}

a.footer-text:hover {
  color: var(--orb-ink-soft);
}

/* ── forgot / reset password screen ────────────────────────────────────── */

.card .page-title,
#kc-reset-password-form .page-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--orb-ink);
  text-align: left;
  margin: 0 0 6px;
  padding: 0;                   /* base rule pads 16px */
}

.forgot-sub-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--orb-dim);
  text-align: left;
  margin: 0 0 6px;
}

#kc-reset-password-form .forgot-sub-title {
  margin-bottom: 16px;
}

#kc-reset-password-form #kc-form-buttons {
  margin-top: 24px !important;
}

.forgot-back-login {
  margin-top: 16px;
  text-align: center;
}

.forgot-back-login .anchor-tag {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--orb-ink-soft);
  text-decoration: none;
}

.forgot-back-login .anchor-tag:hover {
  color: var(--orb-accent);
}

/* ── OTP / MFA section (same card, keep it consistent) ─────────────────── */

.mfa-required-text,
.mfa-text,
.otp-footer-text,
.otp-footer-contact {
  font-family: 'Inter', system-ui, sans-serif;
}

.otp-input {
  font-family: 'Inter', system-ui, sans-serif;
  border-radius: var(--orb-radius);
  border: 1px solid var(--orb-line);
  background: var(--orb-field);
}

.otp-input:focus,
.otp-input:focus-visible {
  outline: 0;
  border: 1px solid var(--orb-accent);
  box-shadow: 0 0 0 3px rgba(24, 118, 242, 0.14);
}


.error-global{
  position: absolute;
  top:36px;
}

.custom-form-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.custom-form-button {
    flex: 1;
    width: 100%;
    margin: 0;
}

.green-color {
  color: #0f7b3d !important;
}

.red-color {
  color: #c0341d !important;
}

#pass-length,
#pass-upper,
#pass-lower,
#pass-special,
#pass-number {
  flex: 0 0 auto;
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  font-size: 13px;
  line-height: 14px;
  text-align: center;
  color: var(--orb-dimmer);
}

/* placeholder dot until login.js adds its .fa class — must NOT match once .fa
   is present, or it would override Font Awesome's own ::before glyph */
#pass-length:not(.fa)::before,
#pass-upper:not(.fa)::before,
#pass-lower:not(.fa)::before,
#pass-special:not(.fa)::before,
#pass-number:not(.fa)::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  margin: 4px auto;
  border-radius: 50%;
  background: currentColor;
}

.password-policy-hints {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 16px;
  box-sizing: border-box;
  background: #fbfbfc;
  border: 1px solid var(--orb-line);
  border-radius: 10px;
  text-align: left;
}

/* rows may be <li> or <div> depending on the template */
.password-policy-hints > * {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--orb-dim);
  transition: color 0.18s;
}

.password-policy-hints > *:last-child {
  margin-bottom: 0;
}

.password-policy-hints > *:has(.green-color) {
  color: var(--orb-ink-soft);
}

.neto-legecy-login{
  margin-top: 8px;
  text-align: center;
}
/* ── password reset notice (login page) ───────────────────────────────── */

.pw-reset-notice {
  display: flex;
  gap: 12px;
  text-align: left;
  background: var(--orb-warn-bg);
  border: 1px solid var(--orb-warn-line);
  border-left: 4px solid #d99a1e;
  border-radius: var(--orb-radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  /* wider than the 345px card; centered on it so the form column is unchanged */
  width: min(640px, 94vw);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  color: var(--orb-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.pw-reset-notice__icon {
  flex-shrink: 0;
  color: #d99a1e;
  font-size: 18px;
  line-height: 1.2;
}

.pw-reset-notice__title {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--orb-warn-ink);
}

.pw-reset-notice p {
  margin: 0 0 6px;
}

.pw-reset-notice strong {
  font-weight: 600;
  color: var(--orb-ink);
}

.pw-reset-notice__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--orb-accent);
  text-decoration: none;
}

.pw-reset-notice__link:hover,
.pw-reset-notice__link:focus-visible {
  text-decoration: underline;
}

.pw-reset-notice__link i {
  font-size: 11px;
}

/* page grows with its content (e.g. the notice above) instead of clipping;
   the footer then sits below the card rather than over it */
body#maropost-bg {
  overflow-y: auto;
}

.pf-v5-c-login__main-body.center {
  height: auto;
  min-height: 100dvh;
  padding-bottom: 56px;
}
