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

}
/* Tela de login P_ASOEC — identidade UNITRI (azul #032a6b, vermelho #ef1921) */

/* O Guacamole pinta .login-ui de branco com regra mais específica */
body .login-ui,
body .login-ui.initial,
body .login-ui.continuation {
    background: #032a6b !important;
    background: linear-gradient(155deg, #021d4d 0%, #032a6b 45%, #0b3f8c 100%) !important;
}

.login-ui .login-dialog {
    max-width: 3.4in;
    padding: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.login-ui .login-dialog .login-form {
    padding: 0 1.4em 1.3em;
}

/* Logo UNITRI colorida (setas azul/vermelha, texto azul) sobre o branco do cartão */
.login-ui .login-dialog .logo {
    width: auto;
    height: 4.2em;
    margin: 0.9em 0 0;
    background: transparent url("app/ext/unitri-pasoec/images/logo-unitri.png") no-repeat center;
    background-size: auto 2.6em;
    -moz-background-size: auto 2.6em;
    -webkit-background-size: auto 2.6em;
    border: none;
}

.login-ui .login-dialog .version {
    position: relative;
    padding: 0.3em 0 0.6em;
}

.login-ui .login-dialog .version .app-name {
    color: #032a6b;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 1.2em;
}

.login-ui .login-dialog .version .version-number {
    display: none;
}

.login-ui .login-dialog .login-fields input[type="text"],
.login-ui .login-dialog .login-fields input[type="password"] {
    border-radius: 6px;
}

.login-ui .login-dialog .login-fields input:focus {
    border-color: #032a6b;
    outline: none;
    box-shadow: 0 0 0 2px rgba(3, 42, 107, 0.2);
}

.unitri-ajuda {
    margin: 0.6em 0 0;
    font-size: 0.68em;
    line-height: 1.35;
    color: #5a6475;
}

.login-ui .login-dialog .buttons {
    margin-top: 1em;
}

.login-ui .login-dialog .buttons input[type="submit"] {
    width: 100%;
    margin: 0;
    padding: 0.55em;
    border: none;
    border-radius: 6px;
    background: #ef1921;
    color: #fff;
    font-weight: bold;
    text-shadow: none;
    box-shadow: none;
}

.login-ui .login-dialog .buttons input[type="submit"]:hover {
    background: #d0121a;
}

.login-ui .login-dialog .buttons input[type="submit"]:disabled {
    background: #c7cbd3;
}

/* Rodapé "Powered by Apache Guacamole" abaixo do cartão */
.unitri-powered {
    margin-top: 1.4em;
    text-align: center;
    font-size: 0.85em;
}

.unitri-powered a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.unitri-powered a:hover {
    color: #fff;
}

.unitri-powered img {
    height: 1.4em;
    vertical-align: middle;
    margin-right: 0.3em;
}

.login-ui .login-error {
    color: #fff;
}
