/*
 * 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;

}
.totp-enroll p,.totp-details{font-size:.8em}.totp-qr-code{text-align:center}.totp-qr-code img{margin:1em;border:1px solid rgba(0,0,0,0.25);box-shadow:1px 1px 2px rgba(0,0,0,0.25);cursor:pointer}h3.totp-details-header{font-size:.8em}h3.totp-details-header::before{content:'▸ '}.totp-details-visible h3.totp-details-header::before{content:'▾ '}.totp-details,.totp-hide-details{display:none}.totp-details-visible .totp-details{display:table}.totp-details-visible .totp-hide-details{display:inline}.totp-details-visible .totp-show-details{display:none}.totp-hide-details,.totp-show-details{color:blue;text-decoration:underline;cursor:pointer;margin:0 .25em;font-weight:normal}.totp-details{margin:0 auto}.totp-details th{padding-right:.25em;text-align:left}.totp-details td{font-family:monospace}.totp-detail{display:inline-block;margin:0 .25em}/* 悦鸣远成 1.0.0：仅改变品牌外观，不隐藏或重排认证控件。 */
.login-ui {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #f4f7fb;
}

.login-ui .login-dialog {
    box-sizing: border-box;
    max-width: calc(100vw - 2.5em);
    padding: 2.15em 2.25em;
    border: 1px solid #e0e7f0;
    border-radius: 1em;
    background: #ffffff;
    box-shadow: 0 1em 3em rgba(25, 47, 84, 0.08);
}

.login-ui .login-dialog .logo {
    width: 4.5em;
    height: 4.5em;
    margin: 0 auto 1em;
    background-image: url("app/ext/yueming-branding/resources/logo.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.login-ui .login-dialog .version .app-name {
    color: #1b3356;
    font-size: 1.65em;
    font-weight: 650;
    letter-spacing: 0.13em;
}

.login-ui .yueming-brand-footer {
    max-width: 24em;
    margin: 1.35em auto 0;
    color: #69778b;
    font-size: 0.85em;
    text-align: center;
    line-height: 1.7;
}

.login-ui .yueming-brand-footer p {
    margin: 0 0 0.35em;
}

.login-ui .yueming-brand-footer a {
    color: #496b91;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
