/* ===========================================================================
 * EITT Lab — branding overlay
 * =========================================================================== */

/* ---- Background gradient za całą stronę logowania ---- */
body.login-ui,
.login-ui {
    background: linear-gradient(135deg, #0f1c2e 0%, #1f4068 100%) !important;
}

/* ---- Tytuł TYLKO na stronie logowania ---- */
body.login-ui::before {
    content: "EITT Lab" !important;
    display: block !important;
    position: fixed !important;
    top: 10% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    font-size: 2.5em !important;
    font-weight: 600 !important;
    color: white !important;
    z-index: 9999 !important;
    letter-spacing: 0.02em !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* ---- DEFENSIVE: usuń tytuł poza login page ---- */
body:not(.login-ui)::before {
    content: none !important;
    display: none !important;
}

/* ---- Ukryj wbudowane logo Guacamole ---- */
.login-ui .logo,
.login-ui img[src*="guac-tricolor"],
.login-ui img[src*="logo"] {
    display: none !important;
}

/* ---- Login form box: nice rounded, drop shadow ---- */
.login-ui .login-fields {
    background: rgba(255, 255, 255, 0.97) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    /* Use Guacamole's default padding, do NOT alter layout */
}

/* ---- Inputs ---- */
.login-ui input[type="text"],
.login-ui input[type="password"],
.login-ui input[type="email"],
.login-ui select {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
}

.login-ui input[type="text"]:focus,
.login-ui input[type="password"]:focus {
    border-color: #1f4068 !important;
    outline: 2px solid rgba(31, 64, 104, 0.2) !important;
}

/* ---- Submit button ---- */
.login-ui input[type="submit"],
.login-ui button[type="submit"],
.login-ui .login-fields ~ * input[type="submit"],
.login-ui button.login {
    background: #1f4068 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0.7em 1.5em !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.login-ui input[type="submit"]:hover,
.login-ui button[type="submit"]:hover,
.login-ui button.login:hover {
    background: #162d4d !important;
}

/* ---- Ukryj wersję wszędzie ---- */
.app-version,
.version,
.guac-version,
.about-version,
[ng-bind*="APP.VERSION"],
[ng-bind*="version"]:not([ng-bind*="username"]),
.about-dialog .version-info,
.about-dialog .version,
.menu .version-info,
.client-attached .header .menu .version {
    display: none !important;
    visibility: hidden !important;
}

/* ---- Hide "Powered by Apache Guacamole" ---- */
[ng-bind*="powered"],
.poweredBy,
.powered-by,
.attribution,
a[href*="guacamole.apache"],
a[href*="apache.org"] {
    display: none !important;
}

/* ---- Stopka logowania (jeśli istnieje) ---- */
.login-ui .footer,
.login-ui footer {
    display: none !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;

}
