/* Ammolite Technology branding for Apache Guacamole */

div.login-ui {
    background: linear-gradient(135deg, #eef7fb 0%, #d7edf4 45%, #b8dfe8 100%) !important;
}

.login-ui .login-dialog {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(17, 89, 115, 0.18) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 45px rgba(17, 89, 115, 0.18) !important;
    padding: 1.4em 1.6em 1.6em 1.6em !important;
}

/* Keep the original working image path and center the block itself */
.login-ui .login-dialog .logo {
    display: block !important;
    width: 11em !important;
    height: 7em !important;
    margin: 0.2em auto 0.9em auto !important;
    background-image: url('app/ext/ammolite-branding/images/logo.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    border: 0 !important;
}

/* Slightly nudge the surrounding header area to the middle */
.login-ui .login-dialog .logo + * {
    text-align: center !important;
}

.login-ui .login-dialog h1,
.login-ui .login-dialog .version {
    display: none !important;
}

.login-ui .login-dialog .login-fields .labeled-field.empty input,
.login-ui .login-dialog .login-fields .labeled-field input,
.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"] {
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid rgba(17, 89, 115, 0.28) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.login-ui .login-dialog .login-fields .labeled-field input:focus,
.login-ui .login-dialog input[type="text"]:focus,
.login-ui .login-dialog input[type="password"]:focus {
    border-color: #118ba7 !important;
    box-shadow: 0 0 0 3px rgba(17, 139, 167, 0.15) !important;
}

.login-ui .login-dialog .login-fields .labeled-field .icon {
    color: #0a6b85 !important;
}

.login-ui .login-dialog input[type="submit"],
.login-ui .login-dialog button,
.login-ui .login-dialog .button {
    background: linear-gradient(135deg, #118ba7 0%, #328cbe 100%) !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 24px rgba(17, 89, 115, 0.22) !important;
}

.login-ui .login-dialog input[type="submit"]:hover,
.login-ui .login-dialog button:hover,
.login-ui .login-dialog .button:hover {
    filter: brightness(0.97) !important;
}

.login-ui,
.login-ui a,
.login-ui .caption,
.login-ui .footer {
    color: #115973 !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;

}
