.login-form-wrapper {
    min-height: 99px;
}

.loginbox {
    height: 240px;
    overflow: unset !important;
}

.oauthContainer {
    flex-direction: column;
    background: #ffffff;
    max-width: 450px;
    width: 100%;
    display: flex;
    text-align: center;
    transition: margin 0.3s;
    margin-top: 20px;
    border-radius: 7px;
    height: auto;
    min-height: 200px;
    margin-bottom: 20px;
}

.oauthButtonGroup {
    margin-top: 30px;
    margin-bottom: 30px;
}

.oauthAdminButtonContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 40px;
    margin-top: auto;
    border-radius: 0 0 7px 7px;
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    margin-top: 20px;
}

.oauthAdminButton {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: none;
}

.oauthAdminButtonTitle {
    font-weight: bold;
}

.oauthAdminButtonTitle:hover {
    color: #cc0000;
}

.loginbox .login-header,
.oauthContainer .login-header {
    background: #f5f5f5;
    margin-top: 0;
    padding: 10px 20px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
    border-radius: 5px 5px 0 0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.loginbox .form-actions {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.validation-errors {
    color: #da4f49;
    font-size: 12px;
}

.login-controls > .input-prepend,
.login-form-input {
    margin-bottom: 0;
}

.loginbox.with-password-recovery .form-actions {
    margin-top: 0;
}

.tenant-input {
    height: 30px !important;
}

.max-height {
    height: 90px;
}

.with-password-recovery .max-height {
    height: 110px;
}
.login-control-groups {
    height: 100px;
}
.login-control-groups.wo-login {
    height: 100px;
}

.login-control-groups.w-pwd-reset {
    height: 120px;
}
.login-control-groups.wo-login.w-pwd-reset {
    height: 120px;
}

@media only screen and (hover: none) and (pointer: coarse) {
    body {
        background: #f3f3f4;
    }

    #pageContentId {
        margin: auto;
        height: 100%;
        vertical-align: middle;
        display: flex;
        align-items: center;
    }

    .loginbox {
        box-shadow: none;
        background: inherit;
    }

    .loginbox .login-header
    .oauthContainer .login-header {
        background: inherit;
        border: none;
        font-size: 16px;
        color: #676a6c;
    }

    .login-form-wrapper {
        min-height: unset;
    }

    .control-group {
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .input-prepend .add-on {
        display: none;
    }

    input[type='text'] {
        background-color: #fff;
        background-image: none;
        border: 1px solid #e5e6e7;
        border-radius: 1px;
        color: inherit;
        display: block;
        padding: 18px 18px;
        width: 100%;
        font-size: 14px;
        transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
        box-sizing: border-box;
    }
}


.openid-connect-box {
    margin: 10px auto;
    max-width: 400px;
    border-radius: 7px;
    overflow: hidden !important;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
}

.openid-connect-box a {
    padding: 10px;
    background: #fff;
    border-radius: 7px;
}

/* Toggle input type: secret <-> text */
.js-toggle-input-type + .icon-eye-close,
.js-toggle-input-type + .icon-eye-open {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

#footer {
    height: 30px;
    color: #bdbdbd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#footer a {
    color: inherit;
    justify-content: end;
    width: 450px;
    display: flex;
}

#footer a:hover {
    color: #fff;
}
