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

}
.login-ui .login-dialog .logo {
  /* imagem */
  background-image: url('app/ext/tempnamespace/images/logo-placeholder.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* responsivo: nunca passa do card */
  width: 100%;
  max-width: 320px;      /* ajuste fino (ex.: 280/300/340) */
  height: 90px;          /* altura padrão */
  max-height: 110px;

  /* centraliza */
  margin: 0 auto 10px auto;

  /* garante que o elemento exista */
  display: block;
}

/* Em telas menores, reduz a altura pra caber melhor */
@media (max-width: 420px) {
  .login-ui .login-dialog .logo {
    max-width: 260px;
    height: 70px;
  }
}

/* remove duplicações internas (se houver) */
.login-ui .login-dialog .logo img,
.login-ui .login-dialog .logo .logo-image,
.login-ui .login-dialog .logo .logo-text {
  display: none !important;
}
