.pf-v5-c-login__container {
    grid-template-columns: 32rem;
    grid-template-areas: "header"
                         "main";
     --pf-v5-c-login__container--MaxWidth: 45.25rem;
}

.login-pf body {
    /*background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url(../img/bg.webp);*/
    background: #eee;
    background-size: cover;
    height: 100%;
    color: #000;
}

.login-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.login-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    width: 100%;
}

div.kc-logo-text {
    background-image: url(../img/logo.webp);
    background-repeat: no-repeat;
    height: 100px;
    width: 300px;
    margin: 0 auto;
}

.kc-login-tooltip .kc-tooltip-text {
    top: -3px;
    left: 160%;
    background-color: #f5f5f5;
    visibility: hidden;
    color: #000;

    min-width: 130px;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
    padding: 5px;

    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity: 0.9;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #f5f5f5 transparent transparent;
}

#kc-login {
    background-color: #140c78;
}

#kc-login:hover {
    background-color: #1a0f9c;
}
#kc-header {
    display: none;
}

.pf-v5-c-login__main-header {
    border-top: 0;
}

.pf-v5-c-login__main-footer-band:first-child {
    margin-block-start: 0;
}

.pf-v5-c-login__main-footer-band:last-child {
    padding-bottom: var(--pf-v5-c-login__main-footer-band--PaddingBottom);
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    white-space: normal;
    color: #000;
    text-align: center;
}

hr {
    margin-top: var(--pf-v5-global--spacer--sm);
    margin-bottom: var(--pf-v5-global--spacer--md);
    border-color: #ddd;
}

.pf-v5-c-form-control>:is(input,select,textarea):focus {
    outline-offset: 0;
    border: 0;
    outline: 0;
}

.login-form-title {
    font-size: 1rem;
    font-weight: 800;
}

.header-env-name {
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-style: italic;
}

/* Primary button */
.kc-button,
.pf-v5-c-button.pf-m-primary {
  background-color: #140c78 !important;
  border-color: #140c78 !important;
  color: white !important;
}

/* Secondary buttons */
.kc-button-secondary,
.pf-v5-c-button.pf-m-secondary {
  background-color: white !important;
  color: #140c78 !important;
  border: 1px solid #140c78 !important;
}

/* Hover states */
.kc-button:hover,
.pf-v5-c-button.pf-m-primary:hover {
  background-color: #0e0a63 !important;
  border-color: #0e0a63 !important;
}

a.kc-button,
a.kc-button-secondary {
  color: #140c78 !important;
}
