.login-pf body {
    background-size: cover;
    height: 100%;
    background: #F1F2F7;
}

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

/* Logo */
#kc-header-wrapper img {
    max-height: 80px;
    max-width: 100%;
    height: auto;
    width: auto;
}

/*Container with buttons*/
#kc-form-buttons>div {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 10px;
}

/*Buttons (Yes, No) are inputs here*/
#kc-form-buttons input[type="submit"] {
    border-radius: 4px;
    padding: 12px 20px;
}

/*Yes button*/
#kc-form-buttons .pf-c-button.pf-m-primary {
    color: #ffffff;
    background-color: #3f32f5ff;
    flex-grow: 1;
}

#kc-form-buttons #kc-login:hover {
    background-color: #4E58FD;

}

#kc-form-buttons #kc-login:active {
    background-color: #2B13C7;
}

/*No button*/
#kc-form-buttons .pf-c-button.btn-default {
    padding: 12px 20px;
    background-image: none;
    flex-grow: 1;
}

#kc-form-buttons #kc-cancel {
    background-color: transparent;
    border: 1px solid #8C8C90;
    color: #000000;
}

#kc-form-buttons #kc-cancel:hover {
    background-color: rgba(185, 200, 252, 0.16);
}

#kc-form-buttons #kc-cancel:active {
    background-color: rgba(134, 157, 255, 0.16);
}

/*Typo*/
#kc-page-title {
    margin: 0px;
    padding: 0px;
}

#kc-page-title p {
    font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #27252aff;
}

.login-pf-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f2f5f8;
    padding: 16px;
    margin: 0;
    min-height: 100%;
}

.login-pf-page .login-pf-page-header {
    margin: 0 0 24px 0;
}

.login-pf-page .card-pf {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    border: none;
    box-shadow: none;
    max-width: 500px;
    font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    padding: 32px;
}

/* Style a list of requested scopes on the OAuth2 consent screen */
#kc-oauth>ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 32px;
}

#kc-oauth .form-group {
    margin: 0;
}

/* Set order for Yes / No buttons with CSS only to avoid redefining the template */
/* 1. Make the parent div a flex container */
#kc-form-buttons > div {
    display: flex;
}

/* 2. Assign an order to each button. Higher numbers appear later. */
#kc-cancel { /* This is the "No" button */
    order: 1;
}

#kc-login { /* This is the "Yes" button */
    order: 2;
}
