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

}
body {
    background-color: #07070d;
}

/* ===== LOGIN BACKGROUND: purple/teal glow on near-black ===== */
.login-ui {
    background:
        radial-gradient(circle at 18% 18%, rgba(107, 91, 214, 0.40), transparent 45%),
        radial-gradient(circle at 82% 82%, rgba(60, 201, 168, 0.32), transparent 45%),
        linear-gradient(135deg, #07070d 0%, #14142b 100%) !important;
    background-repeat: no-repeat;
}

.login-ui .login-dialog {
    background-color: rgba(18, 18, 34, 0.94) !important;
    border: 1px solid rgba(124, 92, 255, 0.35) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.60) !important;
    max-width: 5in;
    color: #e8e8f0;
}

/* ===== LOGIN PAGE LOGO ===== */
.login-ui .login-dialog .logo {
    display: block;
    margin: 1em auto;
    width: 250px;
    height: 84px;
    background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(app/ext/xscode/images/xscode-logo.png);
}

.login-ui .login-dialog .version .app-name {
    font-weight: 400;
    text-transform: none;
    text-align: center;
    font-size: 1.0em;
    letter-spacing: 0.5px;
    color: #c9c9de;
    font-family: Arial, Helvetica, sans-serif;
}

.login-ui label,
.login-ui .login-dialog label {
    color: #b9b9d0 !important;
}

input[name="username"],
input[name="password"],
input[name="guac-totp"],
input[ng-model="searchString"],
.login-ui input[type=text],
.login-ui input[type=password] {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(140, 140, 200, 0.40) !important;
    color: #f0f0ff !important;
    border-radius: 6px !important;
}

a.button,
button,
input[type=submit] {
    background-color: #6b5bd6 !important;
    border-color: #5a4bc0 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

a.button:hover,
button:hover,
input[type=submit]:hover {
    background-color: #5a4bc0 !important;
}

.login-ui.error p.login-error {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding: 1em;
    margin: 0.2em;
    background: #f14141;
    border: 1px solid #9d5b5b;
    border-radius: .25em;
    text-align: center;
    color: #000;
}

/* ===== TOP HEADER BAR (logged in) ===== */
.navigation {
    background: #0b0b14 !important;
    color: #ffffff !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: 64px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.50);
    padding-left: 88px;
    padding-right: 88px;
}

.navigation a {
    float: left;
    color: #e8e8f0;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    line-height: 25px;
    border-radius: 4px;
}

.navigation a:hover {
    background-color: #6b5bd6;
    color: #ffffff;
}

.hlogo {
    width: 150px;
    height: 50px;
    background: #0b0b14 url(app/ext/xscode/images/xscode-logo.png) no-repeat center/contain;
    font-size: 0;
    line-height: 0;
}

.page-tabs .page-list li a[href].current {
    background: #6b5bd6 !important;
    color: #ffffff !important;
}

.page-tabs .page-list li a[href]:hover {
    background: #5a4bc0 !important;
    color: #ffffff !important;
}

.user-menu {
    background: #14142b !important;
    color: #e8e8f0 !important;
}

.user-menu:hover {
    background: #6b5bd6 !important;
    color: #ffffff !important;
}

.list-item .name {
    color: #6b5bd6;
}
