:root {

    --bg-color: #fff;
    --text-color: #212121;

    --left-panel-bg-color: #fff;
    --left-panel-bg-border-color: #d3e0e9;
    --left-panel-link-color: #777;
    --left-panel-icon-color: #777;

    --navbar-bg-color: #fff;
    --navbar-border-bottom: #e5e5e5;
    --navbar-text-color: #777;
    --navbar-text-hover: #22aee1;
    --navbar-link-highlight: #777;

    --panel-bg-color: #f9f9f9;
    --panel-border-color: #ccc;
    --panel-server-table-color: #e7e7e7;
    --client-title-text-color: #7b7b7b;
}
.dark-mode {
    --bg-color: #171717;
    /* #252629
     #202124 */
    --text-color: #e4e4e4;
    --left-panel-bg-color: #202124;
    --left-panel-bg-border-color: #2d2e33;
    --left-panel-link-color: #e3e3e3;
    --left-panel-icon-color: #6b6b6b;

    --navbar-bg-color: #101010;
    --navbar-link-highlight: #22aee1;
    --navbar-border-bottom: #2d2e33;
    --navbar-text-color: #efefef;
    --navbar-text-hover: #22aee1;

    --panel-bg-color: #202124;
    --panel-border-color: #2d2e33;
    --panel-server-table-color: #1b1c1e;

    --table-title-bg-color: #1c1c1c;
    --client-title-text-color: #878686;
}
* {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
}
body {
    background-color: var(--bg-color);
}
.btn-primary {
    border-radius: 0px;
}
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: none;
}
.tickets-counter {
    position: absolute !important;
    z-index: 10;
    background: #fff;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    border: 1px solid #cdcdcd;
    font-size: 10px !important;
    margin: 0px;
    min-width: auto !important;
    text-align: center;
    font-weight: 600;
    color: #000;
    top: -5px;
    right: -8px;
    line-height: 14px;
}
.panel, .panel-default>.panel-heading {
    background-color: var(--panel-bg-color);
    color: var(--text-color);
    border-color: var(--panel-border-color);
    border-radius: 0px;
}
.dropdown-menu>li>a {
    color: var(--text-color);
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
    color: var(--navbar-text-hover);
    background: none;
}
.dropdown-menu {
    background-color: var(--panel-bg-color);
}
.navbar-default {
    background-color: var(--navbar-bg-color);
    color: var(--navbar-text-color);
    border-color: var(--navbar-border-bottom);
    margin: 0px;
}
.navbar-default .navbar-brand, .navbar-default .navbar-nav>li>a, .navbar-default .navbar-text {
    color: var(--navbar-text-color);
}
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-text:hover, .navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
    color: var(--navbar-text-hover);
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    color: var(--navbar-text-hover);
    background-color: var(--navbar-bg-color);
}
.left-panel {
    background-color: var(--left-panel-bg-color);
    border-bottom: 1px solid;
    border-color: var(--left-panel-bg-border-color);
    font-size: 13px;
    margin-bottom: 20px;
    position: relative;
}
.left-panel-right {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}
.left-panel-right #theme-toggle {
    background: none;
    text-align: center;
    border: none;
    outline: none;
    height: 100%;
    display: block;
    font-size: 20px;
    opacity: 0.6;
    margin-right: 20px;
    color: var(--left-panel-link-color);
    transition: 0.3s all;
}
.left-panel-right #theme-toggle:hover {
    opacity: 1;
    color: var(--navbar-text-hover);
}
.left-panel-right #theme-toggle i {
    margin: auto;
}
.navbar-right {
    margin-right: 0px;
}
.left-panel ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
    display: flex;
    z-index: 10;
}
.left-panel ul li i {
    margin-right: 7px;
    font-size: 14px;
    min-width: 18px;
    position: relative;
    color: var(--left-panel-icon-color);
    transition: 0.3s all;
}
.left-panel ul li a {
    padding: 13px;
    display: flex;
    margin: 0px;
    font-weight: 400;
    color: var(--left-panel-link-color);
    line-height: 14px;
    transition: 0.3s all;
    text-transform: uppercase;
    position: relative;
}

.left-panel ul li a.disabled {
    user-select: none;
    pointer-events: none;
    opacity: 0.5;
}
.left-panel ul li a:hover {
    color: var(--navbar-text-hover);
    text-decoration: none;
}
.left-panel ul li a:hover i {
    color: var(--navbar-text-hover);
}
.left-panel ul li a.active i {
    color: var(--navbar-text-hover);
}
.left-panel ul li a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    border-bottom:2px solid var(--navbar-link-highlight);
}
/* ##### Server ##### */
.server_summary_details {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 10px;
}
.server-helper_small {
    font-size: 10px;
}
.server_summary_block {
    padding: 10px;
    flex: 1;
    border: 1px solid var(--panel-border-color);
}
.server_summary_title {
    font-size: 12px;
}
.server_summary_block .counter {
    font-size: 20px;
}
.server-table-body {
    padding: 0px;
}
.server-table {
    list-style: none;
    padding: 0px;
    display: flex;
    flex-direction: column;
    margin: 0px;
    max-height: 50vh;
    overflow: auto;
}
.row_hidden {
    display: none !important;
}
.server-table li {
    display: flex;
    padding: 7px 13px;
    justify-content: space-between;
}
.server-table li p {
    margin-bottom: 0px;
}
.server-table li:nth-child(2n) {
    background: var(--panel-server-table-color);
}
.server-table-actions {
    display: flex;
    padding: 7px 13px;
    justify-content: space-between;
    padding-bottom: 10px;
}
.server-table-actions p {
    margin: 0px;
}
.server-table-actions button {
    display: block;
    background: none;
    outline: none;
    border: 0px;
    color: var(--navbar-text-hover);
    font-weight: 500;
}
.server-table-body table {
    margin: 0px;
}
.server-table-actions.with-table {
    padding-left: 8px;
}
.server-table-body table td span {
    font-size: 10px;
    margin-left: 3px;
    opacity: 0.7;
}
.table>thead>tr>th {
    background: var(--table-title-bg-color);
    border-bottom: 2px solid var(--navbar-border-bottom);
    font-weight: 500;
}
.table>thead>tr>th .small {
    opacity: 0.5;
    font-size: 75%;
    margin-left: 3px;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-color: var(--panel-border-color);
    word-wrap: break-word;
    max-width: 250px;
}

.client_active, .success_icon {
    color: #3c9827 !important;
}
.client_disabled, .has-errors, .error_icon {
    color: #982727 !important;
}
input, textarea {
    background: var(--panel-bg-color);
    border: 1px solid;
    border-color: var(--panel-border-color);
    color: var(--text-color);
}
textarea.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.4;
    user-select: none;
}
.lightspeed-summary textarea {
    min-width: 100%;
    max-width: 100%;
}
.client_searchfield {
    padding: 6px 13px;
    min-width: 275px;
}
input:focus-visible, textarea:focus-visible {
    outline: none;
    border-color: var(--navbar-link-highlight);
}
.table-actions {
    display: flex;
    justify-content: end;
}
/* ##### Client ##### */
.lightspeed-summary {
    padding: 15px;
}
.lightspeed-subtitle {
    border-bottom: 1px solid;
    padding-bottom: 5px;
    font-weight: 600;
    border-color: var(--navbar-link-highlight);
}
.client-accordions h5 {
    font-size: 16px;
}
.lightspeed-summary ul  {
    padding: 0px;
    margin: 0px;
    list-style: none;
}
.lightspeed-summary ul li {
    color: var(--client-title-text-color);
    font-weight: 500;
    justify-content: space-between;
    display: flex;
}
.lightspeed-summary ul li span {
    font-weight: 400;
    color: var(--text-color);
}
.lightspeed-summary h4 span {
    font-size: 12px;
    font-weight: 500;
    color: var(--client-title-text-color);
}
.lightspeed-summary h4 {
    margin-bottom: 3px;
    margin-top: 0px;
    font-size: 20px;
}
.lightspeed-summary .client-hash {
    color: var(--text-color);
    margin-bottom:0px;
}
.lightspeed-summary .client-domain {
    margin-bottom: 12px;
}
.lightspeed-summary .client-hash span {
    color: var(--client-title-text-color);
}
.panel-heading.collapse-button-list {
    gap: 0;
    display: flex;
    flex-direction: row;
}
.panel-heading.collapse-button-list .btn-primary {
    font-size: 12px;
}
.panel-heading.collapse-button-list .btn-primary:not(:last-child) {
    border-right: 1px solid #216c97;
}
.justify-content-center {
    justify-content: center;
    margin: 0px;
    display: flex;
}
.table-cell-expandable {
    opacity: 0.6;
    transition: 0.2s all;
    line-height: 18px;
    max-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    display: block;
    cursor: pointer;
}
.table-cell-expandable:hover {
    opacity: 1;
}
.table-cell-expandable.expanded {
    opacity: 1;
    max-height: none;
    cursor: default;
}
.pagination>li>a, .pagination>li>span {
    background-color: var(--table-title-bg-color);
    border-color: var(--panel-border-color);
}
.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover {
    background-color: var(--table-title-bg-color);
    border-color: var(--panel-border-color);
    opacity: 0.6;
}
.server-table-actions.with-table {
    justify-content:center;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    background-color: #22AEE1FF;
    border-color: #22AEE1FF;
    color: #fff;
}
.server-console-status {
    border-left: 2px solid;
}
.server-console-status.status-busy {
    border-color: orange;
    background: rgba(255, 153, 0, 0.1);
}
.server-console-status.status-success {
    border-color: green;
}
.server-console-status.status-failed {
    border-color: red;
    background: rgba(255, 0, 0, 0.1);
}
.server-console-status a {
    color: inherit;
}
.server-console-status a:hover {
    color: var(--navbar-link-highlight);
    text-decoration: none;
}
.client-link-helper {
    margin-right: 3px;
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.4;
}
.searchable a {
    margin-right: 3px;
}
.graph_container > div {
    width: 100%;
    height: 400px;
}
.lightspeed-panel:after, .lightspeed-panel:before {
    content: " ";
    display: table;
}
.lightspeed-panel {
    padding: 15px;
}
/* ##### Logs ##### */
.lightspeed-logs-block {
    overflow: auto;
    max-height: 60vh;
    padding-top: 10px;
}
a.btn.btn-primary.btn-small {
    font-size: 12px;
    padding: 4px 10px;
}
.lightspeed-logs-block p {
    margin-bottom: 0px;
    white-space: nowrap;
}
.log-date {
    margin-right: 50px;
}
p.lightspeed-log-error {
    color: #fb6166;
}
p.lightspeed-log-info {
    color: #438753;
}
p.lightspeed-log-debug {
    color: #7d7d7d;
}
::-webkit-scrollbar {
    background: none;
}
::-webkit-scrollbar-thumb {
    background: rgba(90, 90, 90);
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: none;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-corner {
        background-color: var(--navbar-link-highlight) ;
}
