/* =========================================================
   COOPERATIVA AGROPECUARIA DE MALABRIGO LTDA.
   APACHE GUACAMOLE - VERDE ESMERALDA / DORADO
   CAMPOS BLANCOS Y TEXTO NEGRO PERMANENTES
   ========================================================= */

/* LOGO: conservar el namespace y nombre declarados en guac-manifest.json */
.login-ui .login-dialog .logo {
    background-image: url('app/ext/tempnamespace/images/logo-placeholder.png');
    width: 235px;
    height: 235px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

/* FONDO GENERAL */
div.login-ui {
    background: #101a16;
    background: radial-gradient(circle at center, #183c2c 0%, #10271e 48%, #101414 100%);
    color: #ffffff;
}

/* PANEL PRINCIPAL */
.login-ui .login-dialog {
    background: linear-gradient(180deg, #163b2b 0%, #0d241b 100%);
    border: 1px solid #b99a2d;
    border-radius: 9px;
    padding: 25px 28px 28px;
    box-shadow: 0 15px 40px rgba(0,0,0,.65), 0 0 18px rgba(218,178,48,.13);
}

/* TITULO ACCESO REMOTO */
.login-ui .login-dialog h1,
.login-ui .login-dialog .app-name {
    color: #f0df9c;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,.7);
}

/* USUARIO Y CONTRASEÑA: BLANCO Y NEGRO EN TODOS LOS ESTADOS */
.login-ui .login-dialog input[type="text"],
.login-ui .login-dialog input[type="password"],
.login-ui .login-dialog input[type="text"]:hover,
.login-ui .login-dialog input[type="password"]:hover,
.login-ui .login-dialog input[type="text"]:active,
.login-ui .login-dialog input[type="password"]:active {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    caret-color: #000000 !important;
    color-scheme: light !important;
    opacity: 1 !important;
    border: 1px solid #cccccc !important;
    border-radius: 4px;
    padding: 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/* TEXTO DE AYUDA ANTES DE ESCRIBIR */
.login-ui .login-dialog input[type="text"]::placeholder,
.login-ui .login-dialog input[type="password"]::placeholder {
    color: #555555 !important;
    -webkit-text-fill-color: #555555 !important;
    opacity: 1 !important;
}

/* FOCO: MANTIENE BLANCO/NEGRO, RESALTA BORDE DORADO */
.login-ui .login-dialog input[type="text"]:focus,
.login-ui .login-dialog input[type="password"]:focus {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    caret-color: #000000 !important;
    border: 1px solid #e1c14c !important;
    outline: none !important;
    box-shadow: 0 0 8px rgba(225,193,76,.45) !important;
}

/* CHROME / EDGE: CREDENCIALES GUARDADAS */
.login-ui .login-dialog input:-webkit-autofill,
.login-ui .login-dialog input:-webkit-autofill:hover,
.login-ui .login-dialog input:-webkit-autofill:focus,
.login-ui .login-dialog input:-webkit-autofill:active,
.login-ui .login-dialog input:autofill,
.login-ui .login-dialog input:autofill:hover,
.login-ui .login-dialog input:autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #000000 !important;
    color: #000000 !important;
    caret-color: #000000 !important;
    color-scheme: light !important;
    transition: background-color 9999s ease-out 0s;
}

/* AUTOCOMPLETADO CON FOCO: BORDE DORADO */
.login-ui .login-dialog input:-webkit-autofill:focus,
.login-ui .login-dialog input:autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset, 0 0 8px rgba(225,193,76,.45) !important;
    box-shadow: 0 0 0 1000px #ffffff inset, 0 0 8px rgba(225,193,76,.45) !important;
    -webkit-text-fill-color: #000000 !important;
    border: 1px solid #e1c14c !important;
}

/* BOTON DORADO METALICO */
.login-ui .button,
.login-ui input[type="submit"] {
    background: #c9a42e;
    background: linear-gradient(180deg, #f4d95f 0%, #d6b337 48%, #a98217 100%);
    color: #10251b;
    border: 1px solid #f2d35a;
    border-radius: 4px;
    font-weight: bold;
    padding: 10px;
    text-shadow: 0 1px 0 rgba(255,255,255,.22);
    box-shadow: 0 3px 7px rgba(0,0,0,.35);
    transition: all .2s ease;
}
.login-ui .button:hover,
.login-ui input[type="submit"]:hover {
    background: linear-gradient(180deg, #ffe77d 0%, #e5c54b 50%, #b9941c 100%);
    color: #10251b;
    border-color: #ffe77d;
    box-shadow: 0 0 13px rgba(230,195,65,.42);
}
.login-ui .button:active,
.login-ui input[type="submit"]:active {
    background: #ad891e;
    color: #10251b;
    box-shadow: inset 0 2px 5px rgba(0,0,0,.4);
}

/* MENSAJES Y VERSION */
.login-ui .login-dialog .version { color: #b9c7bc; }
/*
 * 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;

}
.totp-enroll p,.totp-details{font-size:.8em}.totp-qr-code{text-align:center}.totp-qr-code img{margin:1em;border:1px solid rgba(0,0,0,0.25);box-shadow:1px 1px 2px rgba(0,0,0,0.25);cursor:pointer}h3.totp-details-header{font-size:.8em}h3.totp-details-header::before{content:'▸ '}.totp-details-visible h3.totp-details-header::before{content:'▾ '}.totp-details,.totp-hide-details{display:none}.totp-details-visible .totp-details{display:table}.totp-details-visible .totp-hide-details{display:inline}.totp-details-visible .totp-show-details{display:none}.totp-hide-details,.totp-show-details{color:blue;text-decoration:underline;cursor:pointer;margin:0 .25em;font-weight:normal}.totp-details{margin:0 auto}.totp-details th{padding-right:.25em;text-align:left}.totp-details td{font-family:monospace}.totp-detail{display:inline-block;margin:0 .25em}