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

}
/* ── Page Background ── */
.login-ui {
    background-color: #0d1f35 !important;
}

/* ── Login Box ── */
.login-dialog {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 32px !important;
}

/* ── Logo Box ── */
.login-dialog .logo {
    background-image: url("app/ext/tally-branding/images/tally_logo.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-color: #1a3a5c !important;
    width: 100% !important;
    height: 90px !important;
    display: block !important;
    text-indent: -9999px !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
}

.login-dialog .logo::after {
    content: "" !important;
}

/* ── Sign In Button ── */
.login-dialog input[type="submit"],
.login-dialog button[type="submit"] {
    background-color: #1a3a5c !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    padding: 12px !important;
    width: 100% !important;
    cursor: pointer !important;
}

.login-dialog input[type="submit"]:hover,
.login-dialog button[type="submit"]:hover {
    background-color: #e8a020 !important;
    color: #1a3a5c !important;
}

/* ── Hide Apache footer ── */
.login-ui .version,
.login-ui footer,
.login-ui .caption {
    display: none !important;
}

/* ── Top nav bar ── */
.header {
    background-color: #1a3a5c !important;
}

.menu-logo {
    background-image: url("app/ext/tally-branding/images/tally_logo.png") !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;
    width: 140px !important;
    height: 48px !important;
    text-indent: -9999px !important;
    display: inline-block !important;
}

.menu-logo::after {
    content: "" !important;
}
