:root {
  --pf-v5-global--primary-color--100: #365cf5;
  --pf-v5-global--primary-color--200: #294cdb;
  --pf-v5-global--link--Color: #365cf5;
  --keycloak-card-top-color: transparent;
}
.login-pf body {
  min-height: 100vh;
  color: #1b2540;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(ellipse at 15% 48%, rgb(217 228 255 / 58%), transparent 48%),
    radial-gradient(ellipse at 88% 74%, rgb(232 225 255 / 48%), transparent 44%), #f8faff;
}
.pf-v5-c-login {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 48px 24px; background: transparent;
}
.pf-v5-c-login__container {
  display: flex; flex-direction: column;
  width: 100%; max-width: 480px; margin-inline: auto; padding: 0;
  grid-template-columns: minmax(0, 1fr); row-gap: 28px;
}
.pf-v5-c-login__header { margin: 0; padding: 0; text-align: center; }
#kc-header-wrapper {
  color: #172039 !important; padding: 0; margin: 0; text-transform: none;
  letter-spacing: -0.04em; font-size: 30px; line-height: 1.3; font-weight: 750;
}
.pf-v5-c-login__main {
  width: 100%; margin: 0;
  min-width: 0; overflow: visible;
  border: 1px solid #e5eaf5; border-radius: 24px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 24px 64px rgb(51 76 137 / 9%), 0 3px 8px rgb(51 76 137 / 3%);
}
.pf-v5-c-login__main-header { padding: 40px 40px 24px; border: 0; }
#kc-page-title {
  color: #172039; font-size: 27px; line-height: 1.3;
  letter-spacing: -0.035em; font-weight: 600; text-wrap: balance;
}
.pf-v5-c-login__main-body { padding: 0 40px 36px; }
.pf-v5-c-form { gap: 24px; }
.pf-v5-c-form__label { color: #26324a; font-size: 14px; font-weight: 600; }
.pf-v5-c-form__group-label { padding-bottom: 8px; }
/* PatternFly draws borders with pseudo-elements, including the dark focus underline. */
.pf-v5-c-form-control, .pf-v5-c-input-group {
  border: 1px solid #dfe5f1; border-radius: 12px; background: #f7f9fd;
  box-shadow: inset 0 1px 2px rgb(33 51 87 / 2%);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.pf-v5-c-form-control::before, .pf-v5-c-form-control::after,
.pf-v5-c-input-group::before, .pf-v5-c-input-group::after { border: 0; }
.pf-v5-c-form-control:hover, .pf-v5-c-input-group:hover { border-color: #b9c6e1; }
.pf-v5-c-form-control:focus-within, .pf-v5-c-input-group:focus-within {
  border-color: #829bff; box-shadow: 0 0 0 2px #eaf0ff;
}
.pf-v5-c-form-control > :is(input, select, textarea) {
  min-height: 48px; padding: 12px 14px; color: #1b2540;
  font-size: 16px; background: transparent; border-radius: inherit;
}
.pf-v5-c-form-control > :is(input, select, textarea):focus { outline: none; }
.pf-v5-c-form-control:has([aria-invalid="true"]), .pf-v5-c-input-group:has([aria-invalid="true"]) { border-color: #c64753; }
.pf-v5-c-form-control:has([aria-invalid="true"]):focus-within,
.pf-v5-c-input-group:has([aria-invalid="true"]):focus-within { box-shadow: 0 0 0 3px rgb(198 71 83 / 15%); }
.pf-v5-c-input-group .pf-v5-c-form-control { border: 0; background: transparent; box-shadow: none; }
.pf-v5-c-input-group__item { min-width: 0; }
.pf-v5-c-input-group .pf-v5-c-button.pf-m-control {
  min-width: 48px; height: 48px; color: #65718a;
  border: 0; border-radius: 11px; background: transparent;
}
.pf-v5-c-input-group .pf-v5-c-button.pf-m-control::after { border: 0; }
.pf-v5-c-form__helper-text { margin-top: 10px; }
.pf-v5-c-helper-text { gap: 8px 12px; flex-wrap: wrap; font-size: 13px; }
.pf-v5-c-check__label { color: #43506a; font-size: 13px; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: #4268f6; }
.pf-v5-c-button.pf-m-primary {
  min-height: 48px; padding: 12px 16px; border: 0; border-radius: 12px;
  background: linear-gradient(170deg, #528aff, #3c5bf5);
  box-shadow: 0 7px 18px rgb(66 99 244 / 16%), inset 0 1px 0 rgb(255 255 255 / 20%);
  font-size: 15px; font-weight: 600;
}
.pf-v5-c-button.pf-m-primary::after { border: 0; }
.pf-v5-c-button.pf-m-primary:hover { background: linear-gradient(170deg, #4279f2, #304fe5); }
.pf-v5-c-button.pf-m-primary:disabled { background: #e8ecf5; color: #6c7891; box-shadow: none; }
.pf-v5-c-login :is(a, button, input[type="checkbox"]):focus-visible { outline: 2px solid #6987f6; outline-offset: 4px; }
.pf-v5-c-login a { color: #365cf5; text-underline-offset: 3px; }
.pf-v5-c-login a:hover { color: #294cdb; }
.pf-v5-c-login__main-footer { padding: 0; margin: 0; }
.pf-v5-c-login__main-footer:empty { display: none; }
.pf-v5-c-login__main-footer-band { padding: 0; margin-top: 28px; border: 0; background: transparent; }
#kc-registration { color: #43506a; font-size: 14px; text-align: center; }
#kc-registration a { font-weight: 600; }
.pf-v5-c-login__main-body > p { color: #64738e; font-size: 14px; line-height: 1.65; }
#kc-register-form, #kc-update-profile-form { margin-top: 24px; gap: 20px; }
#kc-register-form + p { margin-top: 28px; color: #43506a; text-align: center; }
:is(#kc-register-form, #kc-update-profile-form) .pf-v5-c-form__group:has(.nobadcalls-consent) > .pf-v5-c-form__group-label { display: none; }
.pf-v5-c-login__main .pf-v5-c-alert {
  --auth-notice-background: #f3f6fc;
  --auth-notice-text: #43506a;
  --auth-notice-icon: #7387b0;
  border: 0; border-radius: 12px; background: var(--auth-notice-background);
  box-shadow: none; padding: 14px 16px; color: var(--auth-notice-text);
}
.pf-v5-c-login__main .pf-v5-c-alert.pf-m-danger {
  --auth-notice-background: #fbf4f3;
  --auth-notice-text: #815052;
  --auth-notice-icon: #b87276;
}
.pf-v5-c-login__main .pf-v5-c-alert.pf-m-warning {
  --auth-notice-background: #fbf7ef;
  --auth-notice-text: #806341;
  --auth-notice-icon: #a88651;
}
.pf-v5-c-login__main .pf-v5-c-alert.pf-m-success {
  --auth-notice-background: #eff7f2;
  --auth-notice-text: #3f6653;
  --auth-notice-icon: #6b957d;
}
.pf-v5-c-login__main .pf-v5-c-alert::before,
.pf-v5-c-login__main .pf-v5-c-alert::after { border: 0; }
.pf-v5-c-login__main .pf-v5-c-alert__title {
  color: var(--auth-notice-text); font-size: 14px; line-height: 1.6; font-weight: 400;
  overflow-wrap: anywhere;
}
.pf-v5-c-login__main .pf-v5-c-alert__icon { color: var(--auth-notice-icon); font-size: 16px; }
.pf-v5-c-login__main:has(#kc-update-profile-form) .subtitle {
  color: #64738e; font-size: 12px; line-height: 1.6; margin-top: 12px;
}
.nobadcalls-consent { display: flex; align-items: flex-start; gap: 12px; color: #43506a; font-size: 14px; line-height: 1.65; }
.nobadcalls-consent input[type="checkbox"] { margin: 4px 0 0; flex: 0 0 16px; }
div.kc-logo-text { background: none; height: auto; width: auto; }
div.kc-logo-text::after { content: "NoBadCalls"; display: block; color: #172039; font-size: 30px; font-weight: 750; text-align: center; }
@media (max-width: 600px) {
  .pf-v5-c-login { padding: 28px 16px; }
  .pf-v5-c-login__container { row-gap: 22px; }
  #kc-header-wrapper { font-size: 27px; }
  .pf-v5-c-login__main { border-radius: 20px; }
  .pf-v5-c-login__main-header { padding: 28px 24px 22px; }
  .pf-v5-c-login__main-body { padding: 0 24px 28px; }
  #kc-page-title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-v5-c-form-control, .pf-v5-c-input-group { transition: none; }
}
@media (forced-colors: active) {
  .pf-v5-c-login__main .pf-v5-c-alert { border: 1px solid CanvasText; }
  .pf-v5-c-form-control:focus-within, .pf-v5-c-input-group:focus-within { outline: 2px solid Highlight; }
  .pf-v5-c-button.pf-m-primary { border: 1px solid ButtonText; }
}

/* BEGIN GENERATED NOBADCALLS BRAND: scripts/build_branding.py */
#kc-header-wrapper { display: flex; align-items: center; justify-content: center; gap: 12px; color: #003b4d !important; white-space: nowrap; }
#kc-header-wrapper::before { content: ""; display: block; flex: 0 0 44px; width: 44px; height: 37px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20132%22%20fill%3D%22none%22%3E%20%3Crect%20x%3D%220%22%20y%3D%2229%22%20width%3D%2244%22%20height%3D%22103%22%20rx%3D%2222%22%20fill%3D%22%23003B4D%22%2F%3E%20%3Crect%20x%3D%22116%22%20y%3D%220%22%20width%3D%2244%22%20height%3D%22103%22%20rx%3D%2222%22%20fill%3D%22%23003B4D%22%2F%3E%20%3Cpath%20d%3D%22M0%2031C0%205%2027-9%2047%209L134%2089Q148%20103%20160%2096V105C160%20130%20133%20144%20113%20125L26%2044Q12%2027%200%2034Z%22%20fill%3D%22%232DE3AE%22%2F%3E%20%3C%2Fsvg%3E") center / contain no-repeat; }
div.kc-logo-text::after { color: #003b4d; }
/* END GENERATED NOBADCALLS BRAND */
