@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap');

.login-ui,
.login-ui * {
    font-family: 'Montserrat', sans-serif !important;
}

.login-ui .login-dialog .logo {
    background-image: url('app/ext/tempnamespace/images/logo-dome.png');
    width: 9em;
    -webkit-background-size: 9em auto;
    background-repeat: no-repeat;
}

div.login-ui {
    background-image: url(app/ext/tempnamespace/images/bg-01.jpg);
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

div.login-ui::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.6);
}

.login-ui .login-dialog {
    width: 400px !important;
    height: 560px;
    max-width: inherit !important;
    border-radius: 10px;
    overflow: hidden;
    padding: 44px 55px 34px 55px !important;
    background: #265180;
    box-shadow: 0 10px 26px rgba(15, 35, 58, 0.24);
}

.login-ui .login-dialog .version .app-name {
    color: #fff;
    margin-bottom: 122px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.login-ui .login-dialog .version .version-number {
    position: fixed !important;
    right: 8px !important;
    bottom: 8px !important;
    margin: 0 !important;
    z-index: 2;
}

.login-ui .login-fields {
    position: relative;
    margin-top: 40px;
}

.login-ui .login-fields::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 18%;
    width: 64%;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.login-ui .login-fields::after {
    content: "Or";
    position: absolute;
    top: -31px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    background: #265180;
    padding: 0 10px;
    font-size: 13px;
}

.login-ui .login-fields .labeled-field .field-header {
    opacity: 0.9;
    color: #fff !important;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.01em;
}

.login-ui .login-fields .labeled-field {
    margin-bottom: 15px;
}

.login-ui .login-fields .labeled-field .text-field,
.login-ui .login-fields .labeled-field .password-field {
    border-bottom: 2px solid rgba(255, 255, 255, 0.24);
}

.login-ui .login-dialog .login-fields input {
    background-color: none !important;
    border: none !important;
    margin-bottom: 0 !important;
}

.login-ui .login-dialog .buttons {
    margin-top: 14px;
    text-align: center;
}

.login-ui .login-dialog .buttons .login {
    font-size: 17px;
    color: #1f446d;
    line-height: 1.2;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    min-width: 250px;
    height: 50px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: #ffffff;
    position: relative;
    z-index: 1;
    text-shadow: none;
    text-transform: none;
    font-weight: 500;
    width: 250px !important;
    margin: 0 auto !important;
    box-shadow: 0 10px 22px rgba(18, 48, 80, 0.24);
}

.login-ui .login-dialog .buttons .login::before {
    content: none;
}

.login-ui .login-dialog .buttons .login span,
.login-ui .login-dialog .buttons .login .caption,
.login-ui .login-dialog .buttons .login .text,
.login-ui .login-dialog .buttons .login .label {
    display: inline;
}

.login-ui .login-dialog-middle {
    width: 100% !important;
    display: block !important;
    text-align: center;
}

.login-ui .sso-providers {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -84px) !important;
    z-index: 3;
    width: 400px;
    max-width: calc(100vw - 30px);
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    font-size: 0;
}

.login-ui .sso-providers > :first-child {
    display: none;
}

.login-ui .sso-providers ul,
.login-ui .sso-providers li {
    display: inline-flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.login-ui .sso-providers li::before {
    content: none;
}

.login-ui .sso-providers .sso-provider-list {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 18px;
}

.login-ui .sso-providers .sso-provider a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    max-width: 100%;
    height: 50px;
    padding: 0 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: #ffffff;
    color: #1f446d;
    text-decoration: none;
    text-transform: none;
    font-size: 0;
    font-weight: 700;
    text-shadow: none;
    box-shadow: 0 10px 22px rgba(18, 48, 80, 0.24);
    position: relative;
    padding-left: 44px;
}

.login-ui .sso-providers .sso-provider a::before {
    content: "Sign in with Microsoft";
    font-size: 17px;
    line-height: 1;
}

.login-ui .sso-providers .sso-provider a::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 17px;
    width: 7px;
    height: 7px;
    background: #f25022;
    box-shadow: 8px 0 0 0 #7fba00, 0 8px 0 0 #00a4ef, 8px 8px 0 0 #ffb900;
}

.login-ui .sso-providers .sso-provider a:hover,
.login-ui .sso-providers .sso-provider a:focus,
.login-ui .login-dialog .buttons .login:hover,
.login-ui .login-dialog .buttons .login:focus {
    background: #f7fbff;
    color: #173655;
}

@media (max-width: 520px) {
    .login-ui .login-dialog {
        width: calc(100vw - 30px) !important;
        max-width: calc(100vw - 30px) !important;
        height: 540px;
        padding: 42px 24px 28px 24px !important;
    }

    .login-ui .sso-providers {
        width: calc(100vw - 30px);
        transform: translate(-50%, -94px) !important;
    }

    .login-ui .sso-providers .sso-provider a {
        width: calc(100vw - 78px);
        min-width: 0;
        height: 48px;
    }

    .login-ui .login-dialog .buttons .login {
        width: calc(100vw - 78px) !important;
        min-width: 0;
        height: 48px;
        font-size: 15px;
    }

    .login-ui .sso-providers .sso-provider a::before {
        font-size: 15px;
    }
}
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Label/tag denoting the user that shared a connection */
.jdbc-share-tag {

    background: #0095ff;
    padding: 0.25em;

    -moz-border-radius:    0.25em;
    -webkit-border-radius: 0.25em;
    -khtml-border-radius:  0.25em;
    border-radius:         0.25em;

    color: white;
    font-size: 0.75em;
    font-weight: bold;

}
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

.login-ui .sso-providers {

    padding: 0.25em 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;

}

.sso-providers ul {
    list-style: none;
}

.sso-providers ul, .sso-providers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sso-providers li::before {
    content: ' / ';
}

.sso-providers li:first-child::before {
    display: none;
}
