/* Guacamole Dark Theme */
:root {
  --bg: #1b1b1f;
  --surface: #26262b;
  --surface2: #303036;
  --border: #3a3a42;
  --text: #e3e3e6;
  --muted: #a3a3ad;
  --accent: #6ea8fe;
  --accent-dark: #3d7de0;
}

html, body,
.view, #content,
.login-ui {
  background: var(--bg) !important;
  color: var(--text) !important;
}

a, a:visited { color: var(--accent) !important; }
h1, h2, h3, h4, p, label, .section-header, dt, dd, td, th { color: var(--text) !important; }
.text-secondary, .caption, .description, small { color: var(--muted) !important; }

/* Header / tabs */
.header, #header, .page-tabs, .header-logo {
  background: #151518 !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
.page-tabs .page-tab { color: var(--muted) !important; }
.page-tabs .page-tab.current,
.page-tabs .page-tab:hover { color: var(--text) !important; }

/* Login dialog */
.login-dialog {
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,.6) !important;
}
.login-dialog .login-field,
.login-dialog .login-fields { background: transparent !important; }
.login-dialog .version { color: var(--muted) !important; }

/* Cards / sections / connection list */
.settings, .section, .connection-list, .all-connections,
.recent-connections, .home-content, .connection, .connection-group,
.guac-group-list, .sorted-list, .object-list {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
.connection:hover, .connection-group:hover,
.guac-group-list .child:hover, .list-item:hover {
  background: var(--surface2) !important;
}

/* Tables */
table { background: var(--surface) !important; color: var(--text) !important; }
th { background: #2c2c33 !important; color: var(--text) !important; border-color: var(--border) !important; }
td { border-color: var(--border) !important; }
tr:nth-child(even) td { background: rgba(255,255,255,.02) !important; }

/* Inputs */
input, select, textarea {
  background: #1f1f24 !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}
input::placeholder, textarea::placeholder { color: var(--muted) !important; }
input:focus, select:focus, textarea:focus { border-color: var(--accent) !important; outline: none !important; }

/* Buttons */
button, .button, input[type=submit], input[type=button] {
  background: var(--surface2) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}
button:hover, .button:hover { background: #3a3a42 !important; }
button.primary, .button.primary, input[type=submit] {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #fff !important;
}
button.primary:hover, input[type=submit]:hover { background: var(--accent) !important; }
button.danger, .button.danger { background: #b3403a !important; border-color: #b3403a !important; color: #fff !important; }

/* Menus / dropdowns / user menu */
.menu, .user-menu, .menu-dropdown, .dropdown, .menu-body, .options {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
.menu .menu-item:hover, .user-menu .menu-item:hover { background: var(--surface2) !important; }

/* Notifications / modals */
.notification, .guac-modal, .status, .dialog {
  background: var(--surface) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
.notification.error { border-left: 4px solid #b3403a !important; }

/* Scrollbars */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }
/*
 * 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;

}
