/* ==========================================
   GLOBAL BACKDROP (Uses your brand blue & dark gradient)
   ========================================== */
.login-ui {
    /* Smooth modern dark gradient using your brand blue as a deep ambient glow */
    background: radial-gradient(circle at center, rgba(79, 181, 254, 0.15) 0%, #111622 100%) !important;
    background-color: #0d111a !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* ==========================================
   LOGIN CARD CONTAINER (Deep charcoal with brand blue border)
   ========================================== */
.login-ui .login-dialog {
    background-color: #1e2638 !important; /* Contrasting background card */
    border: 2px solid rgb(79, 181, 254) !important; /* Your brand blue accent line */
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    padding: 2.5em 2em !important;
    max-width: 420px !important;
}

/* Welcome Header Text inside the card */
.login-ui .login-dialog h2 {
    color: #ffffff !important;
    font-size: 1.4em !important;
    font-weight: 600 !important;
}

/* External App Text and Copyright lines */
.login-ui .login-dialog .app-name,
.login-ui .version,
.login-ui .copyright {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

/* ==========================================
   BRAND LOGO ADJUSTMENTS
   ========================================== */
.login-ui .login-dialog .logo {
    background-image: url('app/ext/custom-theme/images/custom-logo.png') !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 70px !important;
    margin-bottom: 2em !important;
}

/* ==========================================
   FORM CONTROLS & PLACEHOLDER COLOR OVERRIDE
   ========================================== */
/* Username and Password row label headers above fields */
.login-ui .login-dialog th {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* TARGET HOOK: Forces Guacamole's unique floating placeholder text to be solid white */
.login-ui .login-dialog .guac-input .placeholder,
.login-ui .login-dialog .labeled-field .field-header {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

/* ==========================================
   BUTTON ACTIONS (Uses your brand green)
   ========================================== */
.login-ui .login-dialog .buttons input[type="submit"], 
.login-ui .login-dialog .buttons button {
    background-color: rgb(119, 209, 58) !important; /* Your brand green */
    background-image: none !important;
    border: none !important;
    border-radius: 6px !important;
    color: #0b1604 !important; /* Dark text for high-contrast visibility over green */
    font-weight: 700 !important;
    font-size: 1em !important;
    text-transform: uppercase !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(119, 209, 58, 0.2) !important;
}

/* Button Hover State */
.login-ui .login-dialog .buttons input[type="submit"]:hover,
.login-ui .login-dialog .buttons button:hover {
    background-color: #61b827 !important; /* Deepened green */
    box-shadow: 0 6px 16px rgba(119, 209, 58, 0.35) !important;
    transform: translateY(-1px) !important;
}
/*
 * 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;

}
