/* Wascal-only presentation for the existing Keycloak login forms. */
:root {
  color-scheme: light;
  --pf-v5-global--primary-color--100: #202124;
  --pf-v5-global--primary-color--200: #202124;
  --pf-v5-global--link--Color: #202124;
}
html {
  min-height: 100%;
  background: #f9f9f9;
}
html.login-pf body {
  margin: 0;
  min-height: 100dvh;
  background: #f9f9f9 none;
  color: #202124;
  font-family: Inter, Arial, sans-serif;
}
.pf-v5-c-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 110px);
  padding: 56px 24px 24px;
  background: none;
}
.pf-v5-c-login__container {
  flex: 0 1 500px;
  inline-size: 100%;
  max-inline-size: 500px;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  padding: 0;
  margin: auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'header' 'main';
  gap: 32px;
}
#kc-header {
  margin: 0;
  padding: 0;
}
#kc-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0;
  color: #202124 !important;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
}
#kc-header-wrapper::before {
  content: '';
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  background: url('icon.png') center / contain no-repeat;
}
.pf-v5-c-login .pf-v5-c-login__main {
  inline-size: 100%;
  width: 100%;
  overflow: hidden;
  border: 1px solid #d9ddd2;
  border-radius: 24px;
  border-top: 1px solid #d9ddd2;
  background: #fff;
  box-shadow: 0 12px 40px #20212405;
  color: #202124;
}
.pf-v5-c-login__main-header {
  border-top: 0;
  padding: 34px 34px 20px;
}
#kc-page-title {
  margin: 0;
  color: #202124;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}
.pf-v5-c-login__main-body {
  padding: 0 34px 32px;
}
.pf-v5-c-form {
  gap: 24px;
}
.pf-v5-c-form__label,
.pf-v5-c-form__label-text {
  color: #202124;
  font-size: 14px;
  font-weight: 650;
}
.pf-v5-c-form-control {
  border: 1px solid #b9c0b1;
  border-radius: 11px;
  background: #fff;
}
.pf-v5-c-form-control::before,
.pf-v5-c-form-control::after {
  border: 0;
}
.pf-v5-c-form-control > input,
.pf-v5-c-form-control > select {
  min-height: 50px;
  padding: 12px 14px;
  color: #202124;
  font: inherit;
  font-size: 16px;
}
.pf-v5-c-form-control:focus-within {
  outline: 2px solid #202124;
  outline-offset: 2px;
}
.pf-v5-c-input-group {
  gap: 8px;
}
.pf-v5-c-button.pf-m-control {
  min-width: 48px;
  min-height: 50px;
  border: 1px solid #b9c0b1;
  border-radius: 11px;
  background: #f6f8f0;
  color: #202124;
}
.pf-v5-c-button.pf-m-control::after {
  border: 0;
}
.pf-v5-c-button.pf-m-primary,
#kc-login {
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid #202124;
  border-radius: 999px;
  background: #d5ff00;
  color: #171a12;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
}
.pf-v5-c-button.pf-m-primary:hover,
#kc-login:hover {
  background: #c9ef00;
  color: #171a12;
}
.pf-v5-c-button.pf-m-primary::after {
  border: 0;
}
a {
  color: #202124;
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #202124;
  outline-offset: 4px;
}
.pf-v5-c-form-control > input:focus-visible {
  outline: none;
}
.pf-v5-c-login__main-footer {
  background: #fff;
}
.pf-v5-c-login__main-footer:empty {
  display: none;
}
.wascal-login-footer {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 24px 28px;
  color: #5b6456;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
}
.wascal-login-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
}
@media (max-width: 600px) {
  .pf-v5-c-login {
    min-height: calc(100dvh - 125px);
    padding: 36px 18px 20px;
  }
  .pf-v5-c-login__container {
    gap: 26px;
  }
  #kc-header-wrapper {
    font-size: 24px;
    gap: 12px;
  }
  #kc-header-wrapper::before {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
  .pf-v5-c-login__main-header {
    padding: 27px 24px 20px;
  }
  .pf-v5-c-login__main-body {
    padding: 0 24px 28px;
  }
  #kc-page-title {
    font-size: 27px;
  }
}

/* 20 November builder theme: native sign-in, recovery and verification forms. */
@font-face {
  font-family: 'Archivo Black';
  src: url('/splash/archivo-black-latin-400.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Knewave;
  src: url('/splash/knewave-latin-400.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
html,
html.login-pf body {
  background: #000;
  color: #f6ebcb;
}
/* Keep the realm name available to assistive technology behind the supplied wordmark. */
#kc-header-wrapper {
  font-size: 0;
  gap: 0;
}
#kc-header-wrapper::before {
  display: block;
  flex: 0 1 300px;
  width: 300px;
  height: auto;
  aspect-ratio: 2084 / 755;
  background: url('/brand/wascal-studio-logo-20261121.png') center / contain no-repeat;
}
.pf-v5-c-login .pf-v5-c-login__main {
  background: #f6ebcb;
  color: #000;
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: none;
}
#kc-page-title {
  color: #000;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.05;
}
.pf-v5-c-form-control {
  border: 3px solid #000;
  border-radius: 0;
}
.pf-v5-c-button,
#kc-login {
  border-radius: 0;
}
#kc-login {
  background: #d5ff00;
  color: #000;
  border: 3px solid #000;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
.wascal-login-footer,
.wascal-login-footer p,
.wascal-login-footer a {
  color: #f6ebcb;
}
.pf-v5-c-login__main-footer {
  background: #f6ebcb;
  color: #000;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
