/* ==========================================================
   WR-Connect - Branding Guacamole
   Logo: WR-Connect | Subtitulo: Acesso Inteligente
   ========================================================== */

.login-ui {
    background:
        radial-gradient(circle at 20% 35%, rgba(14,165,233,.20), transparent 28%),
        radial-gradient(circle at 85% 30%, rgba(139,92,246,.18), transparent 30%),
        linear-gradient(135deg, #020617 0%, #071426 45%, #030712 100%) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Cartão central */
.login-ui .login-dialog {
    background: rgba(0, 0, 0, 0.88) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 26px !important;
    box-shadow: 0 25px 70px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.03) !important;
    padding: 38px 36px 34px 36px !important;
    width: 330px !important;
    max-width: 330px !important;
    backdrop-filter: blur(16px) !important;
}

/* Remove logo/nome padrão */
.login-ui .login-dialog .logo,
.login-ui .login-dialog .version,
.login-ui .login-dialog h1,
.login-ui .login-dialog .header {
    display: none !important;
}

/* Logo */
.login-ui .login-dialog::before {
    content: "" !important;
    display: block !important;
    width: 240px !important;
    height: 140px !important;
    margin: 0 auto 24px auto !important;
    background-image: url("/branding/wrs-login-logo.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
}

/* Campos usuário e senha - claros */
.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"],
.login-ui .login-dialog .login-fields input {
    background: rgba(255,255,255,0.92) !important;
    background-color: rgba(255,255,255,0.92) !important;
    border: 1px solid rgba(255,255,255,0.95) !important;
    border-radius: 13px !important;
    color: #111827 !important;
    height: 48px !important;
    font-size: 16px !important;
    padding: 0 16px !important;
    box-shadow: inset 0 1px 8px rgba(0,0,0,.08) !important;
}

.login-ui .login-dialog input::placeholder {
    color: rgba(0,0,0,0.45) !important;
    opacity: 1 !important;
}

.login-ui .login-dialog input:focus {
    border-color: rgba(56,189,248,.85) !important;
    box-shadow: 0 0 0 3px rgba(56,189,248,.16) !important;
    outline: none !important;
}

/* Botão Entrar */
.login-ui .login-dialog button,
.login-ui .login-dialog input[type="submit"] {
    background: linear-gradient(135deg, #06b6d4 0%, #2563eb 52%, #8b5cf6 100%) !important;
    border: none !important;
    border-radius: 13px !important;
    color: #ffffff !important;
    height: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .32) !important;
    transition: all .18s ease-in-out !important;
}

.login-ui .login-dialog button:hover,
.login-ui .login-dialog input[type="submit"]:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.08) !important;
    box-shadow: 0 18px 34px rgba(37, 99, 235, .42) !important;
}

/* Rodapé único */
.login-ui::after {
    content: "WR-Connect © 2026 • Acesso Inteligente" !important;
    position: fixed !important;
    bottom: 24px !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    color: rgba(226,232,240,.72) !important;
    font-size: 13px !important;
    letter-spacing: .3px !important;
    pointer-events: none !important;
}

/* Remove qualquer outro rodapé */
body::after,
.login-ui .footer,
.login-ui .login-footer,
.login-ui div[class*="footer"] {
    display: none !important;
}
/* =========================================
   WR-CONNECT - SOMENTE CORES
========================================= */

/* Fundo geral */
.client-view,
.home-view,
.main,
body {
    background: #353535 !important;
}

/* Barras pretas */
.header,
.header-main,
.page-tabs,
.navigation-tabs,
.recent-connections .header,
.all-connections .header {
    background: #000000 !important;
    border-color: #333 !important;
}

/* Área principal */
.home-view,
.recent-connections,
.all-connections,
.connection-list {
    background: #353535 !important;
    color: #ffffff !important;
}

/* Textos */
h1,
h2,
h3,
.connection-name,
.connection-group-name,
.connection,
.list-item,
.home-view .empty,
.recent-connections .empty {
    color: #ffffff !important;
}

/* Hover das conexões */
.connection:hover,
.connection-group:hover,
.list-item:hover {
    background: #2b2b2b !important;
}

/* Menu usuário */
.menu,
.user-menu,
.dropdown-menu {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Textos menu usuário */
.menu *,
.user-menu *,
.dropdown-menu * {
    color: #000000 !important;
}

/* Barra topo usuário */
.header .user,
.header .username,
.header .user-menu {
    background: #000000 !important;
    color: #ffffff !important;
}

/* Bordas */
.connection,
.connection-group,
.list-item,
.recent-connections,
.all-connections {
    border-color: #333 !important;
}
/* Corrigir usuário canto superior direito */
.header .user,
.header .username,
.header .user-menu,
.header .user-menu *,
.user-menu-title,
.user-menu-title *,
.user-menu .caption,
.user-menu .caption * {
    background: #000000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Ícone e seta do usuário */
.header .user img,
.header .user .icon,
.header .user-menu .icon,
.header .user-menu::after {
    color: #ffffff !important;
    filter: brightness(0) invert(1) !important;
}
/* Texto digitado no filtro */
input,
input[type="text"],
.connection-search,
.filter input {
    color: #ffffff !important;
    caret-color: #ffffff !important;
}

/* Placeholder */
input::placeholder {
    color: #bfbfbf !important;
}
/* Usuário topo direito - estilo discreto */
.header .user,
.header .username,
.header .user-menu {
    background: #4a4a4a !important;
    color: #ffffff !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    transition: all .18s ease !important;
}

/* Hover suave */
.header .user:hover,
.header .username:hover,
.header .user-menu:hover {
    background: #6a6a6a !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;

}
