/*
 * 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}body {
    background: #2c3340 !important;
    font-family: sans-serif;
}

.login-ui {
    background: #2c3340 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-dialog {
    background: #363d4a !important;
    border: 0.5px solid rgba(255,255,255,0.1) !important;
    border-radius: 14px !important;
    padding: 2.5rem 2rem !important;
    box-shadow: none !important;
    width: 320px !important;
}

.login-dialog .logo {
    display: none !important;
}

.login-dialog .version {
    text-align: center !important;
    margin-bottom: 1.75rem !important;
}

.login-dialog .version .app-name {
    color: #e2e6ed !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    text-align: center !important;
}

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

.login-dialog label {
    color: #8a92a0 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.login-dialog input[type="text"],
.login-dialog input[type="password"] {
    background: #2c3340 !important;
    border: 0.5px solid rgba(255,255,255,0.12) !important;
    border-radius: 8px !important;
    color: #e2e6ed !important;
    font-size: 14px !important;
    padding: 9px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.login-dialog input[type="submit"] {
    background: #4a6fa5 !important;
    color: #e2e6ed !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px !important;
    width: 100% !important;
    cursor: pointer !important;
}

.login-dialog::after {
    content: "Unauthorised access is prohibited";
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 11px;
    color: #555d6b;
}

.login-dialog .registered-totp,
.login-dialog .totp-key,
.login-dialog p,
.login-dialog span,
.login-dialog .notification {
    color: #e2e6ed !important;
}

/* Post-login text */
#content,
.connection-list,
.connection,
.connection .name,
.section-header,
.connection-group,
.connection-group .name,
.menu,
.menu-item,
.user-menu {
    color: #e2e6ed !important;
}

/* Hover highlights */
.connection:hover,
.connection-group:hover,
.menu-item:hover,
.action:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #e2e6ed !important;
}

.connection.active,
.connection-group.expanded {
    background: rgba(74,111,165,0.2) !important;
}

/* Settings menu */
.settings-menu,
.settings-menu a,
.settings-menu li,
.tab,
.tab a,
.settings .section-header,
.settings label,
.settings h2,
.settings h3,
.field-header,
.field-content,
.type-field,
.identity-provider,
.settings .container,
.settings .object-list,
.settings .list-item,
.settings .list-item .name {
    color: #e2e6ed !important;
}

.settings-menu a:hover,
.tab a:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #e2e6ed !important;
}

.settings-menu a.active,
.tab a.active {
    background: rgba(74,111,165,0.3) !important;
    color: #e2e6ed !important;
}
