/*
 * 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.
 */

.login-ui .sso-providers {

    padding: 0.25em 0.5em;
    position: absolute;
    bottom: 0;
    left: 0;

}

.sso-providers ul {
    list-style: none;
}

.sso-providers ul, .sso-providers li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.sso-providers li::before {
    content: ' / ';
}

.sso-providers li:first-child::before {
    display: none;
}
/*
 * 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;

}
/*
 * vdlaken look for Apache Guacamole (branding extension "vdlaken-branding").
 * Same family as home.vdlaken.eu and StreamMonitor: near-black #080c15 with soft sky/violet glows, one violet accent,
 * slate text, translucent panels, gradient wordmark. System fonts only.
 * Guacamole loads this after its own stylesheet, so a rule here wins from the stock rule with the same selector.
 * The remote session is not touched: body.client stays black and nothing here styles the display.
 */

/* ---- 1. base ------------------------------------------------------------------------------------------------- */
:root {
    --bg: #080c15; --solid: #0f1524; --toast: #111827;
    --panel: rgb(255 255 255 / .035); --panel-2: rgb(255 255 255 / .06); --hover: rgb(255 255 255 / .08);
    --line: rgb(255 255 255 / .08); --line-strong: rgb(255 255 255 / .14);
    --text: #f1f5f9; --muted: #94a3b8; --faint: #64748b;
    --accent: 167 139 250; --sky: 56 189 248; --live: 52 211 153; --bad: 251 113 133; --rec: 239 68 68;
    --field: rgb(0 0 0 / .25); --radius: .7rem; --r-ctl: .55rem;
    --glow: radial-gradient(60rem 34rem at 8% -6%, rgb(56 189 248 / .12), transparent 60%),
            radial-gradient(52rem 30rem at 96% 4%, rgb(167 139 250 / .12), transparent 60%),
            radial-gradient(60rem 36rem at 50% 108%, rgb(52 211 153 / .08), transparent 60%);
    --font: Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
html { color-scheme: dark; }
body { background: var(--glow), var(--bg); background-attachment: fixed; color: var(--text); font-family: var(--font); accent-color: rgb(var(--accent)); }
::selection { background: rgb(var(--accent) / .45); color: #fff; }
a { color: rgb(var(--accent)); }
h1 { font-weight: 700; }
h2 { font-size: 13px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; color: rgb(var(--accent)); }
.placeholder { color: var(--muted); text-shadow: none; font-size: 1.05em; font-weight: 400; opacity: 1; padding: 1em; }
.loading:before { filter: invert(1); opacity: .5; }
:focus-visible { outline: 2px solid rgb(var(--accent) / .8); outline-offset: 2px; }

/* ---- 2. login (normally Keycloak signs in; this shows only for a local login or after logout) ---------------- */
div.login-ui, .redirect-field-container { background: transparent; }
.login-ui .login-dialog {
    max-width: 400px; padding: 34px 34px 30px; font-size: 1em; color: var(--text);
    background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius);
    box-shadow: 0 1.5rem 4rem -1rem rgb(0 0 0 / .9);
}
.login-ui .login-dialog .logo {
    width: 64px; height: 64px; margin: 0 auto 18px;
    background: url(app/ext/vdlaken-branding/images/mark.svg) center / contain no-repeat;
    filter: drop-shadow(0 0 .8rem rgb(var(--accent) / .45));
}
.login-ui .login-dialog .version { padding: 0 0 22px; text-align: center; }
.login-ui .login-dialog .version .app-name {
    font-size: 26px; font-weight: 700; text-transform: none; letter-spacing: .01em;
    background: linear-gradient(90deg, #38bdf8, #a78bfa 60%, #fb7185); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-ui .login-dialog .vdl-tagline { margin-top: 6px; font-size: 14px; color: var(--muted); }
.login-ui .login-dialog .version .version-number {
    right: 40px; bottom: 28px; margin: 0; padding: 0; border-radius: 0; background: none; color: var(--faint); font-size: 13px;
}
.login-ui .login-dialog .version .version-number:before { content: "Apache Guacamole "; }
.login-ui .vdl-footer { position: fixed; left: 40px; bottom: 28px; font-size: 13px; color: var(--faint); letter-spacing: .04em; }
.login-ui .login-dialog th { text-shadow: none; }
/* Guacamole shows the field name behind an empty, see-through field: the field needs an opaque fill once it has text */
.login-ui .login-fields .labeled-field { margin: 0 0 12px; background: var(--solid); border-radius: var(--r-ctl); }
.login-ui .login-fields .labeled-field .field-header { margin: 12px 14px; font-size: 15px; color: var(--faint); opacity: 1; }
.login-ui .login-dialog .login-fields input {
    margin: 0; padding: 11px 13px; font-size: 15px; font-family: var(--font); color: var(--text);
    background: var(--solid); border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
}
.login-ui .login-fields .labeled-field.empty input { background: transparent; }
.login-ui .login-fields .labeled-field input:focus { background: var(--solid); border-color: rgb(var(--accent) / .7); box-shadow: 0 0 0 3px rgb(var(--accent) / .15); }
.login-ui .login-dialog .login-fields input:-webkit-autofill { -webkit-text-fill-color: var(--text); caret-color: var(--text); box-shadow: 0 0 0 100px var(--solid) inset; }
.login-ui .login-dialog .buttons { margin: 20px 0 0; }
.login-ui .login-dialog .buttons input[type=submit] { padding: 11px; font-size: 15px; }
.login-ui.error p.login-error {
    left: 50%; right: auto; top: 24px; transform: translateX(-50%); margin: 0; padding: 12px 22px;
    background: var(--toast); border: 1px solid rgb(var(--rec) / .6); border-radius: var(--r-ctl); color: #fecaca;
}
.login-ui.continuation .login-dialog { border: 1px solid var(--line-strong); box-shadow: 0 1.5rem 4rem -1rem rgb(0 0 0 / .9); }

/* ---- 3. page frame and the top bar (html/brand-bar.html) ------------------------------------------------------- */
#content > .view:not(.connectionHistoryPlayer) { position: relative; max-width: 1700px; margin: 0 auto; padding: 18px 28px 64px; }
#content > .view.loading { max-width: none; }
.vdl-brand { display: flex; align-items: center; gap: 14px; padding: 6px 0 18px; margin: 0 0 6px; }
.vdl-brand-logo { flex: none; display: block; width: 40px; height: 40px; background: url(app/ext/vdlaken-branding/images/mark.svg) center / contain no-repeat; filter: drop-shadow(0 0 .6rem rgb(var(--accent) / .45)); }
.vdl-brand h1 {
    margin: 0; padding: 0; font-size: 26px; line-height: 1.15; text-align: left; letter-spacing: .01em; font-weight: 700;
    background: linear-gradient(90deg, #38bdf8, #a78bfa 60%, #fb7185); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vdl-brand p { margin: 2px 0 0; font-size: 13px; color: var(--faint); letter-spacing: .04em; }
/* the user menu moves from the section header up into the top bar */
#content > .view > .header .user-menu,
#content > .view > .connection-list-ui > .header .user-menu { position: absolute; top: 26px; right: 28px; z-index: 6; }
@media (max-width: 720px) {
    #content > .view:not(.connectionHistoryPlayer) { padding: 12px 16px 56px; }
    .vdl-brand-logo { width: 32px; height: 32px; } .vdl-brand h1 { font-size: 20px; } .vdl-brand p { display: none; }
    #content > .view > .header .user-menu,
    #content > .view > .connection-list-ui > .header .user-menu { top: 16px; right: 16px; }
    .login-ui .vdl-footer { display: none; } .login-ui .login-dialog .version .version-number { right: 16px; bottom: 12px; }
}

/* ---- 4. section headers (home.vdlaken.eu style: glowing dot, caps label, fading rule), menus -------------------- */
.header { background: none; border-bottom: none; box-shadow: none; align-items: center; margin-top: 12px; }
.header:not(.ng-hide) ~ * .header, .header:not(.ng-hide) ~ .header { border-top: none; }
.header h2 { display: flex; align-items: center; gap: .6rem; padding: 10px 0; flex: 1; }
.header h2:before { content: ""; flex: none; width: .55rem; height: .55rem; border-radius: 999px; background: rgb(var(--accent)); box-shadow: 0 0 .8rem rgb(var(--accent) / .9); }
.header h2:after { content: ""; flex: 1; height: 1px; margin-right: 16px; background: linear-gradient(90deg, rgb(var(--accent) / .55), transparent); }
.header .filter { padding: 0; width: 300px; max-width: 50%; }
.header .filter input, .filter .search-string {
    padding: 8px 10px 8px 34px; font-size: 14px; color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
    background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") 9px center / 17px no-repeat;
}
.menu-dropdown { background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); }
.menu-dropdown:hover { background: var(--hover); }
.menu-dropdown.open, .menu-dropdown.open:hover { background: rgb(0 0 0 / .3); }
.menu-dropdown .menu-indicator { filter: invert(1); opacity: .7; }
.menu-dropdown .menu-contents {
    margin-top: 4px; background: var(--solid); border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
    box-shadow: 0 1rem 2.5rem -.8rem rgb(0 0 0 / .9); font-weight: 400; overflow: hidden;
}
.menu-dropdown .menu-contents li a { color: var(--text); }
.menu-dropdown .menu-contents li a:hover { background-color: rgb(var(--accent) / .18); }
.menu-dropdown .menu-contents li a.current, .menu-dropdown .menu-contents li a.current:hover { opacity: .4; }
.menu-dropdown .menu-contents li a.danger { background-color: rgb(var(--rec) / .25); }
.menu-dropdown .menu-contents li a.danger:hover { background-color: rgb(var(--rec) / .4); }
.user-menu .menu-dropdown .menu-title { font-weight: 600; background-image: url(images/user-icons/guac-user-white.svg); }
/* the stock menu icons are black: drawn as their own piece here so they can be turned white */
.user-menu .menu-dropdown .menu-contents li a { background-image: none; padding-left: 14px; }
.user-menu .menu-dropdown .menu-contents li a:before {
    content: ""; display: inline-block; width: 1em; height: 1em; margin-right: 10px; vertical-align: -.12em; opacity: .8;
    background: url(images/protocol-icons/guac-monitor.svg) center / contain no-repeat; filter: invert(1);
}
.user-menu .menu-dropdown .menu-contents li a[href="#/"]:before { background-image: url(images/action-icons/guac-home-dark.svg); }
.user-menu .menu-dropdown .menu-contents li a[href="#/settings/connections"]:before,
.user-menu .menu-dropdown .menu-contents li a[href="#/settings/preferences"]:before,
.user-menu .menu-dropdown .menu-contents li a[href="#/settings/sessions"]:before,
.user-menu .menu-dropdown .menu-contents li a[href="#/settings/users"]:before { background-image: url(images/action-icons/guac-config-dark.svg); }
.user-menu .menu-dropdown .menu-contents li a.logout:before { background-image: url(images/action-icons/guac-logout-dark.svg); }
.client .user-menu .menu-contents li a.disconnect { background-image: none; padding-left: 14px; }
.client .user-menu .menu-contents li a.disconnect:before { background-image: url(images/x-black.svg); }
.user-menu .menu-dropdown .menu-contents .profile { border-bottom-color: var(--line); }
.user-menu .menu-dropdown .menu-contents .profile a { color: var(--text); }

/* ---- 5. home: recent connections (tiles like home.vdlaken.eu) and the connection list ----------------------------- */
div.all-connections, div.clipboardDiv, div.recent-connections, div.settings { margin: 0; }
div.recent-connections { text-align: left; margin: 0 -6px; }
div.recent-connections div.connection {
    margin: 6px; padding: 14px 14px 10px; border-radius: var(--radius);
    background: linear-gradient(135deg, rgb(var(--accent) / .13), rgb(255 255 255 / .035) 60%);
    border: 1px solid rgb(var(--accent) / .16); border-left: 3px solid rgb(var(--accent) / .9);
    box-shadow: 0 .4rem 1.4rem -.8rem rgb(0 0 0 / .8); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.recent-connections .connection:hover {
    transform: translateY(-2px); border-color: rgb(var(--accent) / .6);
    box-shadow: 0 0 0 1px rgb(var(--accent) / .3), 0 .8rem 2rem -.8rem rgb(var(--accent) / .55);
}
.recent-connections .connection .thumbnail { margin: 0 0 10px; }
.recent-connections .connection .thumbnail > * { max-width: 100%; border: 1px solid var(--line-strong); border-radius: .4rem; box-shadow: 0 6px 18px rgb(0 0 0 / .5); }
.recent-connections .connection .caption .name { font-weight: 600; }
.recent-connections .connection .remove-recent:after { filter: invert(1); }
div.all-connections {
    padding: 8px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 .6rem 2rem -1rem rgb(0 0 0 / .8);
}
.all-connections .list-item .caption { padding: 7px 8px; font-size: 16px; border-radius: .45rem; }
.all-connections .group-list-page > .list-item + .list-item { border-top: 1px solid var(--line); }

/* ---- 6. lists, icons, pager ------------------------------------------------------------------------------------ */
.connection-group a, .connection-group a:hover, .connection-group a:visited, .connection a, .connection a:hover, .connection a:visited,
.user-group a, .user-group a:hover, .user-group a:visited, .user a, .user a:hover, .user a:visited { color: var(--text); }
.list-item .name { color: var(--text); }
.connection-group > .caption .name { font-weight: 600; }
.list-item .usage { color: var(--muted); }
.list-item.selected { background: rgb(var(--accent) / .14); }
.list-item:not(.selected) .caption:hover { background: rgb(255 255 255 / .04); }
.caption .activeUserCount { color: rgb(var(--live)); font-style: normal; font-size: .85em; }
.connection .icon, .connection-group .icon, .sharing-profile .icon, .icon.user, .icon.user-group, .icon.connection,
.expandable > .caption .icon.expand, .pager .icon, .file-browser .icon, .form-field .password-field .icon.toggle-password,
table.sorted th.sort-primary:after { filter: invert(1); opacity: .85; }
.expandable.expanded > .children > .list-item:before { border-left-color: var(--line-strong); }
.expandable.expanded > .children > .list-item:after { border-bottom-color: var(--line-strong); }
.pager .set-page { color: var(--text); border-radius: .4rem; }
.pager .set-page.current { background: rgb(var(--accent) / .25); border-color: rgb(var(--accent) / .55); }

/* ---- 7. buttons and fields (StreamMonitor .btn / .field) -------------------------------------------------------- */
a.button, button, input[type=submit] {
    padding: .5em 1em; font-family: var(--font); font-weight: 500; color: #e9e2ff; text-shadow: none;
    background-color: rgb(var(--accent) / .18); border: 1px solid rgb(var(--accent) / .55); border-radius: var(--r-ctl); box-shadow: none;
    transition: background .12s, border-color .12s;
}
a.button:hover, button:hover, input[type=submit]:hover { background-color: rgb(var(--accent) / .3); }
a.button:active, button:active, input[type=submit]:active { background-color: rgb(var(--accent) / .4); box-shadow: none; }
a.button.danger, button.danger { background: rgb(var(--rec) / .18); border-color: rgb(var(--rec) / .55); color: #fecaca; }
a.button.danger:hover, button.danger:hover { background: rgb(var(--rec) / .32); }
a.button.danger:active, button.danger:active { background: rgb(var(--rec) / .42); }
button.danger:disabled, button:disabled, input[type=submit]:disabled { background-color: var(--panel-2); border-color: var(--line-strong); color: var(--muted); opacity: .6; }
div.location, input[type=email], input[type=number], input[type=password], input[type=text], input[type=date], input[type=time],
textarea, select {
    font-family: var(--font); color: var(--text); background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
}
div.location, input[type=email], input[type=number], input[type=password], input[type=text], textarea { padding: .45em .6em; font-size: .9em; }
select { padding: .35em .45em; } select option { background: var(--solid); color: var(--text); }
input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=text]:focus, textarea:focus, select:focus {
    outline: none; border-color: rgb(var(--accent) / .7); box-shadow: 0 0 0 3px rgb(var(--accent) / .15);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
/* Guacamole's off-screen clipboard helper is a textarea that has the focus during a session: it must stay exactly
   as small as it was, or an edge of it shows on screen */
textarea.clipboard-service-target, textarea.clipboard-service-target:focus { padding: 0; border: 0; box-shadow: none; outline: none; }
input[type=range]::-webkit-slider-runnable-track, input[type=range]:focus::-webkit-slider-runnable-track { background: rgb(var(--accent) / .35); }
input[type=range]::-moz-range-track { background: rgb(var(--accent) / .35); }

/* ---- 8. settings and management pages -------------------------------------------------------------------------- */
.page-tabs .page-list ul, .section-tabs ul { background: none; border-bottom: 1px solid var(--line); }
.page-tabs .page-list li a[href], .page-tabs .page-list li a[href]:visited, .section-tabs li a {
    color: var(--muted); padding: 10px 16px; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.page-tabs .page-list li a[href]:hover, .section-tabs li a:hover { background-color: rgb(255 255 255 / .04); color: var(--text); }
.page-tabs .page-list li a[href].current, .page-tabs .page-list li a[href].current:hover,
.section-tabs li a.current, .section-tabs li a.current:hover { background: none; color: var(--text); border-bottom-color: rgb(var(--accent)); }
.manage-user .page-tabs .page-list li a[href]:before, .manage-user-group .page-tabs .page-list li a[href]:before { filter: invert(1); }
.settings.section, .settings .section { padding: 4px 0 8px; }
h2.header { margin-top: 26px; padding: 10px 0; border-bottom: 1px solid var(--line); }
table.sorted { border-radius: var(--radius); overflow: hidden; }
table.sorted th { background: rgb(0 0 0 / .25); color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
table.sorted td, table.sorted th { border: none; border-bottom: 1px solid var(--line); }
.settings table.session-list tr.session:hover, table.sorted tbody tr:hover { background: rgb(255 255 255 / .03); }
.settings.user-groups table.user-group-list tr.user-group.disabled, .settings.user-groups table.user-group-list tr.user-group.disabled td.user-group-name a[href],
.settings.users table.user-list tr.user.disabled, .settings.users table.user-list tr.user.disabled td.username a[href] { color: var(--faint); }
.settings.connectionHistory a.history-session-recording { color: rgb(var(--accent)); }
.settings.connectionHistory a.history-session-recording:after { filter: invert(1); }
.attributes .form h3 {
    padding: 10px 0; font-size: 11px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; color: rgb(var(--accent));
    background: none; border-top: none; border-bottom: 1px solid var(--line); box-shadow: none;
}
.connection-parameters .form .fields, .preferences .form .fields { border-left: 3px solid rgb(var(--accent) / .6); }
.location-chooser .dropdown { background: var(--solid); border-color: var(--line-strong); border-radius: var(--r-ctl); }
.manage-user .notice.read-only, .manage-user-group .notice.read-only { background: rgb(251 191 36 / .1); border-color: rgb(251 191 36 / .4); }
.related-objects .abbreviated-related-objects ul li { background: var(--panel-2); border-color: var(--line); border-radius: .4rem; }
.related-objects .all-related-objects { border-top-color: var(--line); }
.terminal-color-scheme-field .custom-color-scheme { background: var(--field); border-color: var(--line); }
.terminal-color-scheme-field .custom-color-scheme-hide-details, .terminal-color-scheme-field .custom-color-scheme-show-details { color: rgb(var(--accent)); }
.file-upload-container { border-color: var(--line); box-shadow: none; background: var(--panel); border-radius: var(--radius); }
.file-upload-container .drop-target { background: var(--field); border: 1px dashed var(--line-strong); }
.file-upload-container .drop-target.file-present { background: var(--panel-2); }
.file-upload-container .drop-target.drop-pending { background: rgb(var(--accent) / .25); }
.file-upload-container .import-config .help:after { filter: invert(1); }
.file-upload-container .file-error, .import .errors .error-message { color: rgb(var(--bad)); }
.import.help pre { background-color: rgb(0 0 0 / .3); border-radius: var(--r-ctl); }
.import.help .footnotes { border-top-color: var(--line); }
.choice .figure img, .preferences .figure img { filter: invert(1) hue-rotate(180deg); opacity: .9; }

/* ---- 9. dialogs and notifications ------------------------------------------------------------------------------ */
.notification {
    color: var(--text); background: var(--solid); border: 1px solid var(--line-strong); border-radius: var(--radius);
    box-shadow: 0 1.5rem 4rem -1rem rgb(0 0 0 / .9); overflow: hidden;
}
.notification.error { border-color: rgb(var(--rec) / .6); }
.notification .title-bar {
    padding: 14px 18px; margin-bottom: 0; font-size: 12px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; color: rgb(var(--accent));
    background: none; border-bottom: 1px solid var(--line); box-shadow: none;
}
.notification.error .title-bar { color: #fecaca; }
.notification .progress { background-color: var(--panel-2); border-radius: 999px; }
.notification .progress .bar { background: linear-gradient(90deg, #38bdf8, #a78bfa); box-shadow: none; border-radius: 999px; }
.global-status-modal guac-modal { background: rgb(8 12 21 / .75); }
.logged-out-modal guac-modal, .automatic-login-rejected-modal guac-modal { background: var(--glow), var(--bg); }
.fatal-page-error h1:before { filter: invert(1); }

/* ---- 10. inside a session: the Ctrl+Alt+Shift menu, status messages, file transfer ----------------------------- */
.menu { color: var(--text); background: var(--solid); border-right: 1px solid var(--line-strong); box-shadow: 12px 0 40px rgb(0 0 0 / .6); }
.menu .header { margin-top: 0; padding: 6px 10px 6px 16px; border-bottom: 1px solid var(--line); }
.menu .header h2 { color: var(--text); font-size: 16px; letter-spacing: 0; text-transform: none; }
.menu .header h2:before, .menu .header h2:after { display: none; }
.menu .header .menu-dropdown { margin-left: 8px; }
.menu-section h3 { font-size: 11px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; color: rgb(var(--accent)); }
.menu-section .description, .menu-section .caption { color: var(--muted); }
.connection-select-menu .menu-dropdown { background: none; }
.connection-select-menu .menu-dropdown .menu-contents .filter input { border-bottom: 1px solid var(--line); }
.clipboard { background: var(--field); border-color: var(--line-strong); color: var(--text); border-radius: var(--r-ctl); }
.clipboard-editor .clipboard-contents-hidden-hint .clipboard-contents-hidden-hint-text { background: var(--panel-2); color: var(--muted); }
#guac-menu #devices .device, #guac-menu #share-links { background-color: var(--panel-2); border-color: var(--line); color: var(--text); border-radius: var(--r-ctl); }
#guac-menu #devices .device .icon { filter: invert(1); }
#guac-menu #share-links a[href] { color: rgb(var(--accent)); }
.share-menu .menu-dropdown .menu-title { background-image: none; padding-left: .75em; }
.client-zoom .client-zoom-in, .client-zoom .client-zoom-out { filter: invert(1); }
.client-zoom .client-zoom-in:hover, .client-zoom .client-zoom-out:hover { background: rgb(0 0 0 / .3); }
.client-zoom .client-zoom-state input { color: var(--text); border-color: var(--line); }
#filesystem-menu .header.breadcrumbs { background: var(--field); border-bottom-color: var(--line); padding: 0; }
#filesystem-menu .header.breadcrumbs .breadcrumb:hover { background-color: rgb(var(--accent) / .2); }
#filesystem-menu .header.breadcrumbs .breadcrumb.root { filter: invert(1); }
.file-browser .list-item.focused .caption { background: rgb(var(--accent) / .14); border-color: rgb(var(--accent) / .5); }
.client-status-modal { background: rgb(8 12 21 / .65); }
.client-status-modal .notification { background: rgb(15 21 36 / .94); border: 1px solid var(--line-strong); }
.client-status-modal .notification.error { border-color: rgb(var(--rec) / .6); }
.client-status-modal .notification .title-bar { border-bottom: none; padding-bottom: 4px; }
.client-status-modal .notification .button { border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--text); }
.tiled-client-grid .client-tile .client-tile-header { background: var(--solid); }
.tiled-client-grid .client-tile.focused .client-tile-header, .client .drop-pending .display { background-color: rgb(var(--accent) / .35); }
#connection-warning { color: #222; }
.transfer-manager { background: var(--solid); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.transfer.in-progress .progress { background-color: var(--panel-2); }
.transfer .progress .bar { background: linear-gradient(90deg, #38bdf8, #a78bfa); }
.transfer.savable .filename { color: rgb(var(--accent)); }
.transfer.error { background: rgb(var(--rec) / .18); }
#other-connections .client-panel { border-color: var(--line-strong); background: rgb(15 21 36 / .9); }
