.login-ui {
    background: radial-gradient(ellipse at top, #163d61 0%, #081321 75%);
    color: #e2e8f0;
    font-family: Arial, sans-serif;
}
.login-ui .login-dialog {
    background: #102035;
    border: 1px solid #29435f;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
    padding: 32px;
    max-width: 390px;
    box-sizing: border-box;
}
.login-ui .login-dialog .logo {
    background-image: url('app/ext/esquematicos/images/diodo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 80px;
    margin: 0 auto 20px;
}
.login-ui .login-dialog .version {
    color: #f8fafc;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}
.login-ui .login-dialog .version::after {
    content: "Accede a tu escritorio y continúa trabajando";
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    color: #a9bfd3;
    margin: 12px 0 24px;
}
.login-ui .login-dialog input {
    box-sizing: border-box;
    max-width: 100%;
    border-radius: 8px;
}
.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"] {
    background: #091727;
    color: #f8fafc;
    border: 1px solid #3b526b;
    padding: 12px;
}
.login-ui .login-dialog input:focus {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}
.login-ui .login-dialog input[type="submit"],
.login-ui .login-dialog button {
    background: #38bdf8;
    color: #071321;
    border: 0;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
}

/* Contraste de etiquetas y textos de los campos */
.login-ui .login-dialog .login-fields,
.login-ui .login-dialog .login-fields label,
.login-ui .login-dialog .login-fields .name,
.login-ui .login-dialog .login-fields .placeholder {
    color: #dbeafe !important;
}

.login-ui .login-dialog input::placeholder {
    color: #c5d5e8 !important;
    opacity: 1 !important;
}

.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"] {
    color: #ffffff !important;
}

.login-ui .login-dialog .login-fields .placeholder {
    color: #e2e8f0 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Contraste del formulario de acceso */
.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"] {
    background: #091727 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    border: 1px solid #65819e !important;
    opacity: 1 !important;
}

.login-ui .login-dialog input::placeholder {
    color: #dbeafe !important;
    -webkit-text-fill-color: #dbeafe !important;
    opacity: 1 !important;
}

.login-ui .login-dialog .login-fields .placeholder,
.login-ui .login-dialog .login-fields label,
.login-ui .login-dialog .login-fields .name {
    color: #dbeafe !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

/* Autocompletado de Chrome y Edge */
.login-ui .login-dialog input:-webkit-autofill,
.login-ui .login-dialog input:-webkit-autofill:hover,
.login-ui .login-dialog input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #091727 inset !important;
    box-shadow: 0 0 0 1000px #091727 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
}

/* Mostrar los nombres encima de los campos */
.login-ui .login-dialog .login-fields .field-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    margin: 14px 0 7px !important;
    color: #e2e8f0 !important;
    font-size: 14px !important;
    text-align: left !important;
}

.login-ui .login-dialog .login-fields .field-header .name {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #e2e8f0 !important;
}
.login-ui .login-dialog .esq-whatsapp-box {
    margin: 16px 24px 24px;
}

.login-ui .login-dialog .esq-whatsapp {
    display: block;
    box-sizing: border-box;
    padding: 13px 16px;
    border-radius: 8px;
    background: #22c55e;
    color: #052e16;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.login-ui .login-dialog .esq-whatsapp:hover {
    background: #4ade80;
}

.login-ui .login-dialog .esq-whatsapp:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}
/*
 * 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;

}
