/*
 * 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}:root {
    --li64-bg-top: #eef1f3;
    --li64-bg-bottom: #cfd5d9;
    --li64-panel: rgba(255, 255, 255, 0.96);
    --li64-border: #b7c0c6;
    --li64-text: #2f363b;
    --li64-muted: #69757d;
    --li64-accent: #287ea3;
    --li64-accent-hover: #1f6989;
}

div.login-ui {
    background: linear-gradient(145deg, var(--li64-bg-top), var(--li64-bg-bottom));
    color: var(--li64-text);
}

.login-ui .login-dialog {
    box-sizing: border-box;
    width: calc(100% - 1.5rem);
    max-width: 27rem;
    padding: 1.5rem 2rem;
    border: 1px solid var(--li64-border);
    border-radius: 0.75rem;
    background: var(--li64-panel);
    box-shadow: 0 1rem 2.5rem rgba(32, 42, 48, 0.18);
}

.login-ui.initial .login-dialog .logo {
    width: 15rem;
    height: 11.25rem;
    margin: 0 auto 0.75rem;
    background-image: url("/branding/logo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.login-ui .login-dialog .version {
    padding: 0 0 0.65rem;
}

.login-ui .login-dialog .version .app-name {
    color: var(--li64-text);
    line-height: 1.3;
    text-transform: none;
    text-align: center;
}

.login-ui .login-dialog .version .app-name .li64-title {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
}

.login-ui .login-dialog .version .app-name .li64-subtitle {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    font-weight: 400;
}

.login-ui.initial .login-dialog .version::after {
    content: none;
}

.login-ui.initial .login-dialog::after {
    content: "ГАПОУ СО «Саратовский областной образовательный комплекс – Политехнический колледж – Лицей-интернат 64»";
    display: block;
    margin-top: 1.25rem;
    color: var(--li64-muted);
    font-size: 0.64rem;
    line-height: 1.35;
    text-align: center;
}

.login-ui input[type="submit"].login,
.login-ui input[type="submit"].continue-login {
    border-color: var(--li64-accent);
    background: var(--li64-accent);
    color: #fff;
}

.login-ui input[type="submit"].login:hover,
.login-ui input[type="submit"].continue-login:hover {
    border-color: var(--li64-accent-hover);
    background: var(--li64-accent-hover);
}

.login-ui .login-dialog .version .version-number {
    display: none;
}

@media (max-width: 34rem) {
    .login-ui .login-dialog {
        max-width: calc(100vw - 1.5rem);
        padding: 1rem 1.25rem;
    }

    .login-ui.initial .login-dialog .logo {
        width: 10rem;
        height: 7.5rem;
    }
}

@media (max-height: 48rem) and (min-width: 34.01rem) {
    .login-ui .login-dialog {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .login-ui.initial .login-dialog .logo {
        width: 10rem;
        height: 7.5rem;
    }
}
