:root {
  --pug-primary: #aa0c31;
  --pug-primary-dark: #850927;
  --pug-primary-rgb: 170, 12, 49;
}

html,
body {
  min-height: 100%;
}

body {
  background: #f4f6f8;
  margin: 0;
}

.welcome-background {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.75);
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.pf-v5-c-login {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.pf-v5-c-login__container {
  align-content: center;
  grid-template-areas: "header" "main";
  --pf-v5-c-login__container--xl--GridTemplateColumns: minmax(auto, 36rem);
}

.pf-v5-c-login__header {
  margin-bottom: 1.75rem;
}

.welcome-brand {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(29, 39, 59, 0.12);
  margin-inline: auto;
  max-width: 22rem;
  padding: 1rem 1.5rem;
}

.kc-brand {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 300px;
}

.pf-v5-c-login__main {
  border-radius: 0.75rem;
  border-top: 0.25rem solid var(--pug-primary);
  box-shadow: 0 1.5rem 4rem rgba(29, 39, 59, 0.16);
  overflow: hidden;
}

.welcome-heading {
  text-align: center;
}

.welcome-eyebrow {
  color: var(--pug-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.welcome-actions .pf-v5-c-button.pf-m-primary,
.pf-v5-c-login__main .pf-v5-c-button.pf-m-primary {
  background: var(--pug-primary);
  border-radius: 0.5rem;
}

.welcome-actions .pf-v5-c-button.pf-m-primary:hover,
.welcome-actions .pf-v5-c-button.pf-m-primary:focus,
.pf-v5-c-login__main .pf-v5-c-button.pf-m-primary:hover,
.pf-v5-c-login__main .pf-v5-c-button.pf-m-primary:focus {
  background: var(--pug-primary-dark);
}

.pf-v5-c-login__main a:not(.pf-v5-c-button) {
  color: var(--pug-primary);
}

.welcome-help {
  color: var(--pf-v5-global--Color--200, #6a6e73);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 1.5rem 0 0;
  text-align: center;
}

.pf-v5-c-form-control {
  border-radius: 0.375rem;
}

.pf-v5-c-form-control:focus-within {
  --pf-v5-c-form-control--after--BorderBottomColor: var(--pug-primary);
}

.pf-v5-theme-dark body {
  background: #101722;
}

.pf-v5-theme-dark .welcome-background {
  filter: grayscale(0.2) brightness(0.65);
  opacity: 0.2;
}

.pf-v5-theme-dark .pf-v5-c-login__main {
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.38);
}

.pf-v5-theme-dark .welcome-brand {
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.28);
}

.pf-v5-theme-dark .welcome-eyebrow,
.pf-v5-theme-dark .pf-v5-c-login__main a:not(.pf-v5-c-button) {
  color: #e4899e;
}

@media (max-width: 575.98px) {
  .pf-v5-c-login {
    padding: 1rem;
  }

  .pf-v5-c-login__header {
    margin-bottom: 1rem;
  }

  .welcome-brand {
    max-width: 18rem;
    padding: 0.75rem 1rem;
  }

  .kc-brand {
    width: 240px;
  }

  .pf-v5-c-login__main {
    border-radius: 0.5rem;
  }
}
