/*
 * 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 {
    color-scheme: light;
    --portal-accent: #245a72;
    --portal-accent-hover: #17445a;
    --portal-surface: #ffffff;
    --portal-border: #d8e1e6;
    --portal-text: #1c2b33;
    --portal-muted: #52636c;
}

body {
    background: #edf2f5;
    color: var(--portal-text);
    font-family: "Segoe UI", Arial, sans-serif;
}

.login-ui .login-dialog {
    background: var(--portal-surface);
    border: 1px solid var(--portal-border);
    border-radius: 0.75rem;
    box-shadow: 0 1rem 3rem rgba(26, 48, 60, 0.14);
}

.login-ui .login-dialog .logo {
    display: none;
}

.login-ui input[type="submit"],
.login-ui button,
.login-ui a.button {
    background: var(--portal-accent);
    border-color: var(--portal-accent);
}

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

.remote-portal-notice {
    box-sizing: border-box;
    color: var(--portal-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 1rem auto 0;
    max-width: 22rem;
    padding: 0 0.5rem;
    text-align: center;
}

.remote-portal-notice p {
    margin: 0 0 0.65rem;
}

.remote-portal-notice nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    justify-content: center;
}

.remote-portal-notice a {
    color: var(--portal-accent);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.remote-portal-notice a:focus-visible {
    outline: 2px solid var(--portal-accent);
    outline-offset: 0.2rem;
}
