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

}
div.login-ui {
    background: url('app/ext/shb-branding/images/login_bg.jpg') no-repeat center center;
    background-size: cover;
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    box-sizing: border-box;
}

.login-ui .login-dialog-middle {
    display: block;
}

.login-ui .login-dialog {
    background: rgba(255,255,255,0.55);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 16px;
    padding: 36px;
    width: 380px;
    max-width: 380px;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.login-ui .login-dialog .logo {
    background-image: url('app/ext/shb-branding/images/logo-coral.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 60%;
    height: 74px;
    margin: 0 auto 10px auto;
}

.login-ui .login-dialog .version {
    text-align: center;
    margin-bottom: 24px;
}

.login-ui .login-dialog .version .app-name {
    color: #1a3a2a;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
}

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

.login-ui .login-fields .labeled-field .field-header {
    color: #1a3a2a;
    font-weight: 600;
    font-size: 14px;
    opacity: 1;
}

.login-ui .login-fields .labeled-field:not(.empty) .field-header {
    display: none;
}

.login-ui .login-fields input {
    width: 100%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 10px;
    padding: 12px 16px;
    color: #1a3a2a;
    font-size: 14px;
    box-sizing: border-box;
}

.login-ui .login-fields input::placeholder {
    color: #6b8f71;
}

.login-ui .login-fields input:focus {
    background: rgba(255,255,255,0.90);
    border-color: #b8963e;
    box-shadow: 0 0 0 3px rgba(184,150,62,0.25);
    outline: none;
}

.login-ui .buttons {
    margin-top: 18px;
}

.login-ui .buttons input.login,
.login-ui .buttons input.continue-login {
    width: 100%;
    background: #1a3a2a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.login-ui .buttons input.login:hover,
.login-ui .buttons input.continue-login:hover {
    background: #2d6a4f;
}

.login-ui p.login-error {
    background: rgba(229,62,62,0.15);
    border: 1px solid rgba(229,62,62,0.4);
    border-radius: 8px;
    color: #b03030;
    font-size: 13px;
}
