/* Cornelcaba Workspace — hacker-green branding */

/* --- Hide default "APACHE GUACAMOLE" title + version (actual selectors: .version / .app-name) --- */
.login-ui .login-dialog h1,
.login-ui .login-dialog h2,
.login-ui .login-dialog h3,
.login-ui .login-dialog .version,
.login-ui .login-dialog .app-name,
.login-ui .login-dialog .version-number,
.login-ui .login-dialog .welcome,
.login-ui .login-dialog .title {
    display: none !important;
}

/* --- Logo: square, centered, no wordmark --- */
.login-ui .login-dialog .logo {
    background-image: url('app/ext/cornelcaba-branding/images/logo.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    width: 7em !important;
    height: 7em !important;
    margin: 0.5em auto 1.25em auto !important;
    filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.45));
}

/* --- Header-logo (post-login) uses same icon --- */
.header .header-logo,
.header-logo,
.application .main .header .header-logo {
    background-image: url('app/ext/cornelcaba-branding/images/logo-icon.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
}

/* --- Dialog glow — subtle green matrix vibe --- */
.login-ui .login-dialog {
    border-radius: 6px !important;
    border: 1px solid rgba(0, 255, 65, 0.25) !important;
    box-shadow:
        0 0 40px rgba(0, 255, 65, 0.20),
        0 20px 60px rgba(0, 0, 0, 0.45) !important;
}

/* --- Input focus ring in green --- */
.login-ui .login-dialog .login-fields input[type="text"],
.login-ui .login-dialog .login-fields input[type="password"] {
    border-radius: 4px !important;
}
.login-ui .login-dialog .login-fields input[type="text"]:focus,
.login-ui .login-dialog .login-fields input[type="password"]:focus {
    outline: none !important;
    border-color: #00FF41 !important;
    box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.25) !important;
}

/* --- Login button: dark terminal with green glow --- */
.login-ui .login-dialog button[type="submit"],
.login-ui .login-dialog input[type="submit"] {
    border-radius: 4px !important;
    background: linear-gradient(135deg, #0d1f12 0%, #0a4d2e 50%, #00FF41 120%) !important;
    border: 1px solid #00FF41 !important;
    color: #E8FFE8 !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.55) !important;
    box-shadow: 0 0 16px rgba(0, 255, 65, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}
.login-ui .login-dialog button[type="submit"]:hover,
.login-ui .login-dialog input[type="submit"]:hover {
    box-shadow: 0 0 24px rgba(0, 255, 65, 0.55) !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;

}
