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

}
/* Fundo da tela de login */
div.login-ui {
    background:
        linear-gradient(rgba(7, 22, 38, 0.58), rgba(7, 22, 38, 0.58)),
        url("app/ext/tema-olicenter/images/fundo.jpg") center center / cover no-repeat fixed !important;
}

/* Caixa de login */
div.login-ui .login-dialog {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.40);
}

/* Logo da Olicenter dentro da caixa de login */
div.login-ui div.login-dialog div.logo {
    display: block !important;
    width: 260px !important;
    max-width: 260px !important;
    height: 70px !important;
    margin: 10px auto !important;
    background-image: url("app/ext/tema-olicenter/images/fundo.jpg") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
}
/* Fundo da tela de conexões */
body,
div.home-view.view,
div.home-view.view div.connection-list-ui {
    background-color: #e8f1f8 !important;
}
div.login-ui .login-dialog .app-name {
    font-size: 0;
}
/* Oculta apenas o título padrão da caixa de login */
div.login-ui div.login-dialog div.version div.app-name {
    font-size: 0 !important;
}

/* Título personalizado com quebra de linha */
div.login-ui div.login-dialog div.version div.app-name::after {
    content: "OLICENTER\A ACESSO REMOTO";
    display: block;
    white-space: pre-line;
    font-size: 1.45rem;
    font-weight: bold;
    line-height: 1.25;
}
