/* Marca ANAKIN (toperform) para la pantalla de inicio de sesión de Guacamole. */

body .login-ui,
body .login-ui.initial,
body .login-ui.continuation {
    background-color: #040406 !important;
    background-image:
        radial-gradient(55rem 38rem at 12% 8%, rgba(82, 37, 185, 0.22), transparent 62%),
        radial-gradient(45rem 32rem at 92% 96%, rgba(82, 37, 185, 0.12), transparent 60%),
        linear-gradient(160deg, #050508 0%, #08070D 100%) !important;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.login-ui .login-dialog {
    background: rgba(12, 11, 18, 0.86);
    border: 1px solid rgba(167, 139, 250, 0.12);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 2.5rem 2rem 2rem;
    width: 22rem;
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
    color: #E5E7EB;
}

.login-ui .login-dialog .logo {
    background-image: url('app/ext/anakin-marca/images/toperform.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 10rem;
    height: 2rem;
    margin: 0 auto 1.5rem;
}

.login-ui .login-dialog .version {
    text-align: center;
    margin-bottom: 1.75rem;
    padding: 0;
}

.login-ui .login-dialog .version .app-name {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: #F4F4F5;
    margin-right: -0.36em;
}

.login-ui .login-dialog .version .version-number {
    position: static;
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    font-weight: 400;
    font-style: normal;
    color: #8B8A99;
    background: none;
    padding: 0;
    opacity: 1;
}

.login-ui .login-fields .labeled-field {
    margin: 0 0 0.85rem;
    position: relative;
}

.login-ui .login-fields .labeled-field .field-header {
    color: #6B6A78;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
}

.login-ui .login-fields input[type="text"],
.login-ui .login-fields input[type="password"],
.login-ui .login-fields input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    background: rgba(5, 5, 8, 0.9);
    border: 1px solid rgba(161, 161, 170, 0.16);
    border-radius: 12px;
    color: #F4F4F5;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.login-ui .login-fields input:focus {
    outline: none;
    border-color: #7C4DEB;
    box-shadow: 0 0 0 3px rgba(124, 77, 235, 0.28);
}

.login-ui .login-dialog .buttons {
    padding: 0;
    margin-top: 1.25rem;
}

.login-ui .login-dialog .buttons input[type="submit"] {
    width: 100%;
    margin: 0;
    background: linear-gradient(180deg, #6A35E0, #5225B9);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 26px rgba(82, 37, 185, 0.4);
    cursor: pointer;
    text-shadow: none;
}

.login-ui .login-dialog .buttons input[type="submit"]:hover {
    background: linear-gradient(180deg, #7C4DEB, #6A35E0);
}

.login-ui.error p.login-error {
    color: #FCA5A5;
    background: rgba(127, 29, 29, 0.35);
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
}

/* Pantalla del código TOTP (misma interfaz de login). */
.login-ui .totp-enroll img,
.login-ui .totp-enroll .totp-qr-code img {
    background: #fff;
    border-radius: 12px;
    padding: 0.5rem;
}

.login-ui .totp-enroll p,
.login-ui .totp-details,
.login-ui .totp-details * {
    color: #C4C4CC;
}
/*
 * 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}