@import "../fonts/inter.css";

.hint {
    font-family: Inter, serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    word-wrap: break-word;
    color: #5e6e80;
    margin-top: 8px;
}

.base-button {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
    width: 100%;
    font-size: 16px;
    line-height: 20px;
    height: 32px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.login-button {
    font-weight: 600;
    margin-top: 40px;
}

.login-button-sso {
    font-weight: 500;
    color: #5e6e80;
}

.sso-button-divider {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 24px 0;
}

.sso-button-divider p {
    font-family: Inter, serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #5e6e80;
}

.sso-button-divider span {
    flex: 1 0 32px;
    display: block;
    height: 1px;
    background-color: #dadfe4;
}
#saveTOTPBtn {
    margin-top: 24px;
}

.error-icon-wrapper {
    background-color: #f9ebea;
    width: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-icon-wrapper {
    background-color: #eef6eb;
    width: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-text {
    margin-bottom: 40px;
    font-weight: 600;
}

.username-wrapper {
    margin-bottom: 24px;
}

.card-pf {
    margin: 0;
    padding: 8px 32px;
    width: 376px;
}

.pf-c-form-control {
    display: flex;
    align-items: center;
    padding: 9px;
    box-sizing: border-box;
    background-color: #fff;
    border: solid 1px #c6cdd6;
    border-radius: 2px 2px 0 0;
    border-bottom-color: #8694a3;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
}

.pf-c-form-control:hover {
    border-bottom-color: #7d8c9c;
}

.pf-c-form-control:active {
    border-bottom-color: #5e6e80;
}

.pf-c-form-control:focus {
    border-bottom-color: #016eed;
}

.pf-c-form-control:focus-visible {
    outline: none;
}

.pf-c-form__label {
    display: block;
    font-family: Inter, serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: #2f3d4d;
    word-wrap: break-word;
    padding: 4px 0;
}

.pf-c-form__label_not_required {
    display: block;
    font-family: Inter, serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: #2f3d4d;
    word-wrap: break-word;
    padding: 4px 0;
}

.pf-c-form__label::after {
    content: " *";
}

.html-class {
    height: 100%;
}

.login-pf-header h1 {
    font-family: Inter, serif;
    font-size: 32px;
    line-height: 36px;
    font-weight: 600;
    color: #2f3d4d;
    margin-bottom: 40px;
}

.login-pf-page {
    height: 100%;
    float: left;
    background: white;
    width: 300px;
    padding: 0 3%;
    display: flex;
    flex-direction: column;
}

.html-class body {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    font-family: Inter, serif;
}

.login-background {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.link {
    color: #5e6e80;
    text-decoration: underline #748c9c;
    padding: 8px 0;
    border-radius: 2px;
    line-height: 16px;
    font-size: 12px;
    text-underline-offset: 2px;
    margin-right: 5px;
    font-weight: normal;
}

#kc-totp-settings,
.checkbox-text {
    color: #5e6e80;
    padding: 8px 0;
    line-height: 16px;
    font-size: 12px;
    font-weight: normal;
}

#kc-totp-settings {
    margin: 0;
    padding: 0;
}

#kc-totp-settings p {
    margin: 6px 0;
}

#kc-totp-secret-qr-code {
    display: block;
    margin: 0 auto;
    width: 216px;
    height: 216px;
}

.kc-logo {
    margin-top: 5%;
    width: 50%;
    padding-bottom: 16px;
}

.top {
    padding-top: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid #dadfe4;
}

.bottom {
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer {
    margin-top: auto;
    width: 100%;
}

#legal-links,
#additional-links {
    display: flex;
    align-items: center;
    width: 80%;
    margin: 0 auto 0 0;
    font-family: Inter, serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: #2f3d4d;
    flex-wrap: wrap;
}

h6 {
    display: flex;
    align-items: center;
    margin: 0;
    font-family: Inter, serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: #2f3d4d;
}

.copyright {
    font-family: Inter, serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #5e6e80;
}

.forgot-password-wrapper {
    margin-top: 16px;
    cursor: pointer;
}

#input-error,
.error-message-text,
.info-message-text {
    flex-grow: 1;
    box-sizing: border-box;
    padding: 8px;
    border: solid 1px #eef1f3;
    font-family: Inter, serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #5e6e80;
    word-wrap: break-word;
    margin: 0;
}

.control-error {
    flex-grow: 1;
    box-sizing: border-box;
    padding: 8px 0;
    font-family: Inter, serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: red;
    word-wrap: break-word;
    margin: 0;
}

.generic-message {
    display: flex;
    margin-bottom: 16px;
}

.links-section {
    width: 100%;
}

.useful-links-wrapper {
    display: flex;
    width: 100%;
}

#kc-content {
    height: 100%;
}

#kc-content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#kc-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#kc-username {
    margin-top: 20px;
    margin-bottom: 20px;
}

.new-tab-svg {
    margin-left: 4px;
}

.locale-list-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: black;
    padding: 0 24px;
    width: 150px;
}

.flag {
    margin-right: 16px;
}

.language-flag {
    margin: 0 1px 0 7px;
}

.locale-list {
    border-radius: 4px;
    background-color: white;
    left: 0;
    display: none;
    position: absolute;
    bottom: 100%;
    box-shadow: 0 2px 4px -1px #0003, 0 4px 5px #00000024, 0 1px 10px #0000001f;
    font-size: 14px;
    font-family: Inter, serif;
    max-height: 240px;
    overflow: scroll;
}

.active {
    display: block;
}

#kc-locale-dropdown {
    position: relative;
    display: inline-block;
}

.locale-list-item {
    line-height: 48px;
}

.locale-list-item:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.language-dropdown-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    background: white;
    border: solid 1px #c6cdd6;
    border-radius: 2px 2px 0 0;
    border-bottom-color: #8694a3;
    height: 38px;
}

.check-icon {
    margin: -3px 0 -3px -24px;
}

.inactive {
    display: none;
}

@media only screen and (max-width: 960px) {
    .login-background {
        display: none;
    }
}
