/* GasparServ Remote Access */

/* Fundo normal depois do login */
body {
    background: #ffffff !important;
}

/* Fundo GasparServ apenas no ecrã de login */
body:has(.login-ui) {
    background:
        radial-gradient(circle at 50% 30%, #172536 0%, #0b1119 45%, #05080c 100%)
        !important;
}

/* Caixa de login */
.login-ui .login-dialog {
    background: rgba(12, 20, 30, 0.96) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55) !important;
    padding: 32px !important;
}

/* Esconder logótipo original */
.login-ui .login-dialog .logo {
    background-image: none !important;
    width: auto !important;
    height: auto !important;
}

/* Título personalizado */
.login-ui .login-dialog .logo::after {
    content: "GASPAR SERV";
    display: block;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
    padding-top: 10px;
}

/* Subtítulo */
.login-ui .login-dialog::before {
    content: "REMOTE ACCESS\A Private Server Network";
    white-space: pre;
    display: block;
    color: #8fa5b8;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Campos */
.login-ui input[type="text"],
.login-ui input[type="password"] {
    background: #111b26 !important;
    color: #ffffff !important;
    border: 1px solid #34485c !important;
    border-radius: 6px !important;
}

/* Botão */
.login-ui input[type="submit"],
.login-ui button {
    background: #263d52 !important;
    color: white !important;
    border: 1px solid #49657e !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

/* Rodapé */
.login-ui .login-dialog::after {
    content: "SECURE REMOTE GATEWAY  •  GASPARServ";
    display: block;
    text-align: center;
    color: #64798b;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 25px;
}
/* Remover completamente o branding original do Guacamole */
.login-ui .login-dialog .logo + h2,
.login-ui .login-dialog h2 {
    display: none !important;
}
/* Esconder apenas o nome/logotipo original do Guacamole */
.login-ui .login-dialog .logo {
    display: none !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;

}
