:root{--cr-bg:#0d1117;--cr-panel:#161b22;--cr-panel2:#1c2330;--cr-border:#2a3140;--cr-text:#e6edf3;--cr-muted:#8b949e;--cr-accent:#3b82f6;--cr-accent-h:#2563eb;--cr-danger:#ef4444;}
html,body{background:var(--cr-bg)!important;color:var(--cr-text)!important;}
a,a:visited{color:#7aa7ff;}
h1,h2,h3,h4,label,p,span,li,.name{color:inherit;}
.login-ui{background:radial-gradient(ellipse at top,#1a2333 0%,#0d1117 65%)!important;}
.login-ui .login-dialog{background:var(--cr-panel)!important;border:1px solid var(--cr-border)!important;border-radius:14px!important;box-shadow:0 20px 60px rgba(0,0,0,.55)!important;color:var(--cr-text)!important;}
.login-ui .login-dialog .logo{background-image:url('app/ext/centexremote/images/cat.svg')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;width:96px!important;height:96px!important;margin:0 auto .5em!important;}
.login-ui .login-dialog .version .app-name{color:var(--cr-text)!important;text-transform:none!important;letter-spacing:.03em;font-size:1.5em!important;}
.login-ui .version-number,.version-number{display:none!important;}
input[type=text],input[type=password],input[type=email],input[type=number],input[type=search],input[type=date],input[type=time],input[type=url],select,textarea{background:var(--cr-panel2)!important;color:var(--cr-text)!important;border:1px solid var(--cr-border)!important;border-radius:8px!important;}
input:focus,select:focus,textarea:focus{outline:2px solid var(--cr-accent)!important;outline-offset:1px;}
input::placeholder,textarea::placeholder{color:var(--cr-muted)!important;}
button,input[type=submit],input[type=button],a.button,.button{background:var(--cr-accent)!important;color:#fff!important;border:none!important;border-radius:8px!important;font-weight:600;cursor:pointer;}
button:hover,input[type=submit]:hover,input[type=button]:hover,a.button:hover,.button:hover{background:var(--cr-accent-h)!important;}
button.danger,input.danger,.button.danger,a.button.danger{background:var(--cr-danger)!important;}
.header{background:var(--cr-panel)!important;border-bottom:1px solid var(--cr-border)!important;color:var(--cr-text)!important;}
.menu-dropdown,.menu-dropdown .menu-title{color:var(--cr-text)!important;background:transparent!important;}
.menu-dropdown .menu-contents{background:var(--cr-panel2)!important;border:1px solid var(--cr-border)!important;border-radius:10px!important;box-shadow:0 10px 30px rgba(0,0,0,.5)!important;color:var(--cr-text)!important;}
.menu-dropdown .menu-contents li a,.menu-dropdown .menu-contents li{color:var(--cr-text)!important;}
.menu-dropdown .menu-contents li a:hover{background:var(--cr-panel)!important;}
.list-item{color:var(--cr-text)!important;}
.list-item:hover,.list-item.selected{background:var(--cr-panel2)!important;}
.home .list-item,.group-list .list-item{padding:.55em .8em!important;border-radius:8px;font-size:1.08em;}
.recent-connections .connection{background:var(--cr-panel)!important;border:1px solid var(--cr-border)!important;border-radius:12px!important;box-shadow:0 6px 18px rgba(0,0,0,.35)!important;transition:transform .12s,border-color .12s;}
.recent-connections .connection:hover{transform:translateY(-2px);border-color:var(--cr-accent)!important;}
.page-tabs .page-list li a{color:var(--cr-muted)!important;background:transparent!important;}
.page-tabs .page-list li a.current,.page-tabs .page-list li a:hover{color:var(--cr-text)!important;background:var(--cr-panel2)!important;}
table,th,td{background:transparent!important;color:var(--cr-text)!important;border-color:var(--cr-border)!important;}
th{background:var(--cr-panel)!important;}
.notification,.dialog,.modal .dialog,.section,.settings section{background:var(--cr-panel)!important;color:var(--cr-text)!important;border-color:var(--cr-border)!important;}
.notification .title-bar,.dialog .header,.notification .title{background:var(--cr-panel2)!important;color:var(--cr-text)!important;}
#guac-menu .menu-content,.menu .menu-content,.menu .menu-body{background:var(--cr-panel)!important;color:var(--cr-text)!important;}
#guac-menu h2,#guac-menu h3,#guac-menu .menu-section{color:var(--cr-text)!important;border-color:var(--cr-border)!important;}
.cr-menu-btn{position:fixed!important;top:10px;left:50%;transform:translateX(-50%);z-index:20;background:rgba(22,27,34,.88)!important;color:#fff!important;border:1px solid var(--cr-border)!important;border-radius:999px!important;padding:.35em 1.1em!important;font-size:.9em;opacity:.6;transition:opacity .15s;}
.cr-menu-btn:hover{opacity:1;}
*::-webkit-scrollbar{width:10px;height:10px;}*::-webkit-scrollbar-thumb{background:#2a3140;border-radius:8px;}*::-webkit-scrollbar-track{background:transparent;}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #1c2330 inset!important;-webkit-text-fill-color:#e6edf3!important;caret-color:#e6edf3;transition:background-color 9999s;}
body *{color:var(--cr-text)!important;}
a,a *{color:#7aa7ff!important;}
.list-item a,.list-item a *,.connection a,.connection a *,.home a,.home a *,.menu-dropdown a,.menu-dropdown a *,.page-tabs a,.page-tabs a *{color:var(--cr-text)!important;}
.page-tabs .page-list li a:not(.current){color:var(--cr-muted)!important;}
.error,.error *,.warning,.warning *{color:#ff7b72!important;}
button,button *,input[type=submit],input[type=button],.button,.button *{color:#fff!important;}
.icon,.list-item .icon,.connection .icon,.protocol .icon{filter:invert(1) brightness(1.1)!important;}
.cr-quick-add{margin:1em 1.25em;}
.cr-qa-toggle{background:var(--cr-panel2)!important;border:1px dashed var(--cr-accent)!important;color:#cfe0ff!important;padding:.55em 1.1em!important;}
.cr-qa-toggle:hover{background:var(--cr-accent)!important;color:#fff!important;}
.cr-qa-form{display:flex;flex-wrap:wrap;gap:.6em;align-items:center;margin-top:.8em;padding:1em;background:var(--cr-panel);border:1px solid var(--cr-border);border-radius:12px;}
.cr-qa-form input,.cr-qa-form select{flex:1 1 170px;min-width:0;padding:.55em .7em!important;margin:0!important;}
.cr-qa-form .cr-qa-port{flex:0 1 90px;}
.cr-qa-form button[type=submit]{padding:.55em 1.4em!important;}
.cr-qa-note{flex-basis:100%;font-size:.85em;color:var(--cr-muted)!important;}
.cr-qa-err{flex-basis:100%;color:#ff7b72!important;}
.cr-qa-ok{flex-basis:100%;color:#7ee787!important;}
.cr-home{position:fixed!important;top:8px;left:10px;z-index:30;display:flex!important;align-items:center;gap:.45em;background:rgba(22,27,34,.9)!important;border:1px solid var(--cr-border)!important;border-radius:999px!important;padding:.3em .9em .3em .55em!important;color:#fff!important;font-weight:700;font-size:.9em;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.4);}
.cr-home.ng-hide{display:none!important;}
.cr-home img{width:20px;height:20px;display:block;}
.cr-home:hover{background:var(--cr-panel2)!important;border-color:var(--cr-accent)!important;}
.cr-home.cr-inline{position:static!important;margin:0 .9em 0 .5em!important;box-shadow:none!important;flex:0 0 auto;align-self:center;}
.cr-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-left:.6em;vertical-align:middle;background:#4b5563;box-shadow:0 0 0 2px rgba(75,85,99,.25);}
.cr-dot.cr-on{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.22);}
.cr-am-result{flex-direction:column;align-items:stretch!important;}
.cr-am-actions{display:flex;gap:.6em;flex-wrap:wrap;}
.cr-am-actions .cr-am-done{background:var(--cr-panel2)!important;border:1px solid var(--cr-border)!important;}
.cr-am-ovpn{width:100%;min-height:220px;font-family:ui-monospace,Consolas,monospace!important;font-size:.78em!important;white-space:pre;}
.cr-am-steps{margin:.2em 0 0 1.2em;color:var(--cr-muted)!important;font-size:.9em;line-height:1.6;}
.cr-am-steps code{background:var(--cr-panel2);padding:.1em .35em;border-radius:4px;}
cr-quick-add,cr-add-machine{display:block;}
.cr-actions{display:flex;flex-wrap:wrap;gap:.75em;align-items:flex-start;margin:1em 1.25em;}
.cr-actions .cr-quick-add{margin:0!important;}
.cr-actions > :has(form),.cr-actions > :has(.cr-am-result){flex-basis:100%;}
.all-connections .list-item{position:relative;}
.cr-del{position:absolute!important;right:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;padding:0!important;line-height:1;font-size:14px;background:transparent!important;border:1px solid transparent!important;border-radius:8px!important;color:var(--cr-muted)!important;opacity:.65;cursor:pointer;}
.cr-del:hover{opacity:1;color:#ff7b72!important;background:rgba(239,68,68,.14)!important;border-color:rgba(239,68,68,.35)!important;}
.cr-modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;}
.cr-modal-box{background:var(--cr-panel);border:1px solid var(--cr-border);border-radius:14px;padding:1.4em 1.6em;max-width:460px;width:calc(100% - 32px);box-shadow:0 20px 60px rgba(0,0,0,.6);text-align:left;}
.cr-modal-box h3{margin:0 0 .6em;font-size:1.15em;}
.cr-modal-box p{color:var(--cr-muted)!important;line-height:1.5;margin:0 0 1em;}
.cr-modal-box p b{color:var(--cr-text)!important;}
.cr-modal-actions{display:flex;gap:.6em;flex-wrap:wrap;justify-content:flex-end;}
.list-item:not(.selected) .caption:hover,.list-item .caption:hover,.list-item.selected .caption,.recent-connections .connection:hover{background:var(--cr-panel2)!important;border-radius:8px;}
.cr-keys{padding-bottom:.5em;}
.cr-key-grid{display:flex;flex-wrap:wrap;gap:.45em;padding:.3em 0 .4em;}
.cr-key-grid button{flex:1 1 calc(50% - .45em);padding:.5em .6em!important;font-size:.9em;background:var(--cr-panel2)!important;border:1px solid var(--cr-border)!important;}
.cr-key-grid button:hover{background:var(--cr-accent)!important;border-color:var(--cr-accent)!important;}
.cr-ft{margin:1em 0;}
.cr-ft-label{display:flex;align-items:center;gap:.6em;padding:.6em 1em;cursor:pointer;}
.cr-ft-label input{width:18px;height:18px;accent-color:var(--cr-accent);}
.cr-ft .cr-qa-note{padding:0 1em;}
.cr-top-bar{position:fixed;top:10px;left:50%;transform:translateX(-50%);z-index:20;display:flex;gap:.5em;align-items:center;}.cr-top-bar .cr-menu-btn{position:static!important;transform:none!important;}
.cr-session-bar{position:fixed;top:8px;left:50%;transform:translateX(-50%);z-index:2147483000;display:flex;gap:6px;opacity:.55;transition:opacity .15s;}.cr-session-bar:hover{opacity:1;}.cr-sb-btn{background:rgba(22,27,34,.92)!important;color:#fff!important;border:1px solid #3d4a5c!important;border-radius:999px!important;padding:5px 14px!important;font-size:13px!important;cursor:pointer;margin:0!important;min-width:0!important;box-shadow:0 2px 8px rgba(0,0,0,.4);}.cr-sb-btn:hover{background:#2f6feb!important;}
.cr-session-bar.cr-pos-left{top:50%;left:8px;right:auto;transform:translateY(-50%);flex-direction:column;}.cr-session-bar.cr-pos-right{top:50%;left:auto;right:8px;transform:translateY(-50%);flex-direction:column;}
/*
 * 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}