/* === General Page Background === */
div.login-ui {
    background-color: #000; /* Light blue background */
    background-image: none; /* Remove gradient */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
    box-sizing: border-box;
    position: relative;
}

/* === Login Box Styling === */
.login-ui .login-dialog {
    background-color: #4fc3f7;
    width: 20em !important;
    padding: 2em;
    border-radius: 8px; /* Slightly rounded */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    z-index: 10;
    text-align: center;
}

/* === Logo Styling === */
.login-ui .login-dialog .logo {
    background-image: url('app/ext/tempnamespace/images/logo-placeholder.png');
    width: 10em;
    height: 6em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #A6E3FF;
    margin-bottom: 1.5em;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    border-radius: 15px;
}

/* === App Name Styling === */
.login-ui .app-name {
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-bottom: 1.5em;
}

/* === Username/Password Fields === */
.login-ui input[type="text"], .login-ui input[type="password"] {
    width: 50%;
    padding: 0.8em;
    margin: 1.5em 0;
    margin-bottom: 0.5em !important;
    border-radius: 10px;
    border: 5px solid #ddd;
    font-size: 1em;
    color: #000;
    background-color: #fff !important;
}
/* Add static text AFTER the username field container */
.labeled-field-username::before {
    content: "Username" !important;
    display: block !important;
    color: #fff !important;
    font-size: 0.9em !important;
    margin: 0.5em 0 !important;
    text-align: left !important;
    font-weight: normal !important;
}

/* Or add it BEFORE the password field container */
.labeled-field-password::before {
    content: "Password" !important;
    display: block !important;
    color: #fff !important;
    font-size: 0.9em !important;
    margin: 0.5em 0 !important;
    text-align: left !important;
    font-weight: normal !important;
}
/* === Login Button Styling === */
.login-ui .login-dialog .btn-login {
    width: 100%;
    padding: 1em;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-ui .login-dialog .btn-login:hover {
    background-color: #000;
}

/* === Forgot Password Link === */
.login-ui .login-dialog .forgot-password {
    font-size: 0.9em;
    color: #0f2027;
    text-decoration: none;
    margin-top: 1em;
}

.login-ui .login-dialog .forgot-password:hover {
    text-decoration: underline;
}

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

}
