/* Frentauto - Lavoro Agile: grafica della pagina di accesso (Guacamole 1.6.0) */
.login-ui,
body:has(.login-ui) {
    background: #141414 radial-gradient(ellipse at top, #2b2b2b 0%, #141414 70%) !important;
    background-attachment: fixed !important;
}
.login-ui .login-dialog {
    background: #1e1e1e;
    color: #e8e8e8;
    border: 1px solid #333;
    border-top: 4px solid #b82028;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 24em !important;
    max-width: 92vw !important;
}
.login-ui .login-dialog .logo {
    background-image: url('app/ext/frentauto-branding/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-width: 20em;
    height: 4.5em;
    margin: 1em auto 0.75em auto;
}
.login-ui .login-dialog .version .app-name {
    font-size: 0 !important;
    text-transform: none !important;
}
.login-ui .login-dialog .version .app-name::after {
    content: "- D E S K -";
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: 0.03em;
}
.login-ui .login-dialog .version .version-number {
    display: none;
}
.login-ui .login-dialog input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.login-ui .login-dialog input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus {
    background: #2a2a2a !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    border: 1px solid #444 !important;
    border-radius: 4px;
}
.login-ui .login-dialog input:not([type="submit"]):focus {
    border-color: #b82028 !important;
    outline: none !important;
    box-shadow: none !important;
}
.login-ui .login-dialog input::placeholder {
    color: #9a9a9a !important;
    -webkit-text-fill-color: #9a9a9a !important;
}
/* Compilazione automatica del browser (Edge/Chrome la colorano di bianco) */
.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 #2a2a2a inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 9999s ease-in-out 0s;
}
.login-ui .buttons input[type="submit"],
.login-ui .buttons button {
    background: #b82028;
    border: 1px solid #b82028;
    color: #ffffff;
    border-radius: 4px;
}
.login-ui .buttons input[type="submit"]:hover,
.login-ui .buttons button:hover {
    background: #d02a33;
    border-color: #d02a33;
}
.login-ui a {
    color: #e2646b;
}
.login-ui .login-dialog::after {
    content: "Per l\2019 assistenza rivolgersi ai soliti canali ufficiali.";
    display: block;
    margin: 1em 0 0.25em 0;
    font-size: 0.85em;
    color: #9a9a9a;
    text-align: center;
}
.login-ui::after {
    content: "";
    position: fixed;
    left: 50%;
    bottom: 1.5em;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 52em;
    height: 4em;
    background: url('app/ext/frentauto-branding/images/marchi.png') center / contain no-repeat;
    pointer-events: none;
}
.login-ui .login-dialog form::after {
    content: "\26A0  Accesso riservato al personale autorizzato.\A Ogni accesso viene registrato con data, ora, utente e indirizzo IP.";
    white-space: pre-line;
    display: block;
    margin: 1.2em 0 0 0;
    padding: 0.6em 0.8em;
    border-left: 3px solid #b82028;
    background: rgba(184, 32, 40, 0.12);
    color: #e8e8e8;
    font-size: 0.85em;
    line-height: 1.4;
    text-align: left;
}
/*
 * 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}