/*
 * 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 APENAS NA TELA DE LOGIN -- */
body.login-ui {
    background-color: #1a368a !important;
    background-image: url('/app/ext/tema-plp/images/fundo.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* -- CAIXA CENTRALIZADA (ESCOPADA PARA O LOGIN) -- */
.login-ui .login-dialog {
    background-color: #1a368a !important;
    border: 2px solid #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0px 15px 40px rgba(0,0,0,0.8) !important;
    width: 320px !important;
    padding: 30px 40px 40px 40px !important;
    padding-top: 200px !important;
    background-image: url('/app/ext/tema-plp/images/logo.png') !important;
    background-size: 135px auto !important;
    background-repeat: no-repeat !important;
    background-position: center 30px !important;
    max-width: 90% !important;
    margin: 10% auto !important;
    position: relative !important;
}

/* -- TITULO INJETADO (ESCOPADO PARA O LOGIN) -- */
.login-ui .login-dialog::before {
    content: "CONEXÃO TOTVS DATASUL";
    display: block;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: bold !important;
    text-align: center !important;
    position: absolute !important;
    top: 155px !important;
    left: 0 !important;
    width: 100% !important;
    letter-spacing: 0.5px !important;
}

/* -- CAMPOS DE DIGITAÇÃO (ESCOPADOS PARA O LOGIN) -- */
.login-ui input[type="text"], .login-ui input[type="password"] {
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
}

/* -- TEXTOS DE USUÁRIO/SENHA (ESCOPADOS PARA O LOGIN) -- */
.login-ui input[type="text"]::placeholder, .login-ui input[type="password"]::placeholder { color: #555555 !important; opacity: 1 !important; }
.login-ui input[type="text"]::-webkit-input-placeholder, .login-ui input[type="password"]::-webkit-input-placeholder { color: #555555 !important; }
.login-ui input[type="text"]::-moz-placeholder, .login-ui input[type="password"]::-moz-placeholder { color: #555555 !important; opacity: 1 !important; }

/* -- BOTÕES (ESCOPADOS PARA O LOGIN) -- */
.login-ui .button, .login-ui input[type="button"], .login-ui input[type="submit"] {
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #1a368a !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    margin-top: 5px !important;
    cursor: pointer !important;
}

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

/* -- LIMPEZA -- */
.login-ui .logo, .login-ui .version, .login-ui .login-ui-header { display: none !important; }
