/* Match Kanbanly's login layout. Native Keycloak forms, scripts and accessibility stay inherited. */
:root {
  --boreal-ink: #202937;
  --boreal-navy: #17232f;
  --boreal-green: #37a988;
  --pf-v5-global--FontFamily--text: "DM Sans", Arial, sans-serif;
  --pf-v5-global--FontFamily--heading: "DM Sans", Arial, sans-serif;
  --pf-v5-global--primary-color--100: #268e72;
  --pf-v5-global--primary-color--200: #20795f;
  --pf-v5-global--link--Color: #268e72;
}
html.login-pf, body#keycloak-bg { background: #fff; color: var(--boreal-ink); font-family: "DM Sans", Arial, sans-serif; }
body#keycloak-bg { margin: 0; }
.pf-v5-c-login { display: block; min-height: 100vh; min-height: 100dvh; padding: 0; background: #fff; }
.pf-v5-c-login__container { display: flex; flex-direction: column; justify-content: center; width: 44.444%; max-width: none; min-height: 100vh; min-height: 100dvh; margin: 0 0 0 55.556%; padding: 48px clamp(24px, 4vw, 70px); }
#kc-header { width: min(420px, 100%); margin: 0 auto 26px; padding: 0; text-align: left; }
#kc-header-wrapper { padding: 0; color: #538672 !important; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-align: left; }
.pf-v5-c-login__main { width: min(420px, 100%); margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pf-v5-c-login__main-header, .pf-v5-c-login__main-body, .pf-v5-c-login__main-footer { padding: 0; }
.pf-v5-c-login__main-header { margin-bottom: 28px; border-top: 0; }
#kc-page-title { color: #293540; font-size: 28px; font-weight: 600; letter-spacing: -.8px; line-height: 1.25; }
.pf-v5-c-form { --pf-v5-c-form--Gap: 20px; }
.pf-v5-c-form__label { color: #53616c; font-size: 13px; font-weight: 600; }
.pf-v5-c-form-control { --pf-v5-c-form-control--BorderRadius: 7px; min-height: 44px; border: 1px solid #e2e7e9; border-radius: 7px; background: #fff; }
.pf-v5-c-form-control::before, .pf-v5-c-form-control::after { border: 0; }
.pf-v5-c-form-control:focus-within { border-color: #79c4a7; box-shadow: 0 0 0 3px #37a9881a; }
.pf-v5-c-form-control > input, .pf-v5-c-form-control > select { padding: 10px 12px; color: #384550; font: inherit; font-size: 14px; }
.pf-v5-c-button { min-height: 42px; border-radius: 7px; font-size: 14px; }
.pf-v5-c-button.pf-m-primary { --pf-v5-c-button--m-primary--BackgroundColor: #268e72; --pf-v5-c-button--m-primary--hover--BackgroundColor: #20795f; background: #268e72; color: #fff; box-shadow: 0 3px 7px #28997522; }
.pf-v5-c-button.pf-m-primary:hover { background: #20795f; }
.pf-v5-c-button.pf-m-secondary { --pf-v5-c-button--m-secondary--Color: #268e72; --pf-v5-c-button--m-secondary--BorderColor: #c9dfd4; }
a { color: #268e72; }
a:hover { color: #20795f; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8ed3ba; outline-offset: 3px; }
.pf-v5-c-alert { border-radius: 8px; font-size: 13px; }
.pf-v5-c-alert.pf-m-danger { border: 1px solid #f1d7d7; background: #fff5f5; color: #a64d4d; }
.pf-v5-c-login__main-footer-band { margin-top: 24px; padding: 18px 0 0; border-top: 1px solid #e9edef; background: transparent; }
.boreal-story { position: fixed; inset: 0 auto 0 0; z-index: 0; display: flex; flex-direction: column; justify-content: space-between; width: 55.556%; min-height: 100vh; min-height: 100dvh; padding: 40px 7vw 28px; overflow: hidden; color: #fff; background: var(--boreal-navy); text-align: left; }
.boreal-story::before, .boreal-story::after { content: ""; position: absolute; width: 570px; height: 570px; top: 11%; right: -225px; border: 1px solid #ffffff0c; border-radius: 50%; pointer-events: none; }
.boreal-story::after { width: 430px; height: 430px; top: 23%; right: -155px; }
.boreal-brand, .boreal-story-copy, .boreal-story-footnote { position: relative; z-index: 1; }
.boreal-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-size: 25px; font-weight: 800; letter-spacing: -.8px; }
.boreal-brand-dot { color: #71d1b4; }
.boreal-story-copy { max-width: 470px; margin: 48px auto; }
.boreal-eyebrow { color: #79c8a8; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; }
.boreal-story-copy h2 { margin: 18px 0; color: #fff; font-size: clamp(32px, 3.8vw, 52px); font-weight: 600; line-height: 1.15; letter-spacing: -1.8px; }
.boreal-story-copy p { max-width: 400px; color: #aab7c1; font-size: 15px; line-height: 1.8; }
.boreal-board { display: flex; gap: 10px; margin-top: 36px; padding: 14px; border: 1px solid #ffffff1c; border-radius: 12px; background: #ffffff0e; transform: rotate(-2deg); }
.boreal-board > span { display: flex; flex: 1; flex-direction: column; gap: 9px; min-height: 105px; padding: 12px 9px; border-radius: 6px; background: #ffffff12; }
.boreal-board i { height: 16px; border-radius: 4px; background: #ffffff20; }
.boreal-board > span:nth-child(2) i { background: #71d1b443; }
.boreal-story-footnote, .boreal-footer { color: #8c9aa4; font-size: 12px; line-height: 1.6; }
.boreal-footer { margin-top: 36px; text-align: center; }
@media (max-width: 760px) {
  .boreal-story { display: none; }
  .pf-v5-c-login__container { width: 100%; margin: 0; padding: 36px 24px; }
  #kc-header { margin-bottom: 30px; }
}
@media (max-height: 640px) and (min-width: 761px) { .boreal-story { padding-top: 24px; padding-bottom: 20px; } .boreal-story-copy { margin: 18px 0; } .boreal-story-copy h2 { font-size: 32px; } .boreal-board { display: none; } }

.boreal-brand-logo{display:block;width:220px;height:auto;max-width:100%}
#kc-header-wrapper{background:url(../img/icon.png) no-repeat left center;background-size:32px auto;padding-left:44px;min-height:36px;display:flex;align-items:center}
