/* Reset */

* {
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey: #9b9da0;
    --color-gold: #c19140;
    --color-dark-2: #111111;
    --color-border: #1a1a1a;
    --app-bg: #f5f6fa;
    --app-surface: #ffffff;
    --app-surface-muted: #f8f9fa;
    --app-text: #212529;
    --app-text-muted: #6c757d;
    --app-border: #dee2e6;
    --app-table-hover: #9b9da0;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    background: var(--app-bg);
    color: var(--app-text);
}

html[data-argus-theme="dark"] {
    --app-bg: #101217;
    --app-surface: #181b22;
    --app-surface-muted: #20242d;
    --app-text: #e6e8ee;
    --app-text-muted: #a5adba;
    --app-border: #343a46;
    --app-table-hover: #2a2f3a;
    --color-black: #05070b;
    --color-dark-2: #151922;
    --color-border: #2b303b;
}

/* Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 240px;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    transition: width 0.3s;
    z-index: 1000;
}

.sidebar.sidebar-test-database {
    background: #14532d;
}

.sidebar-test-database .sidebar-top {
    border-bottom-color: #397855;
}

.sidebar-test-database .menu-item:hover,
.sidebar-test-database .menu-item.active,
.sidebar-test-database .user-toggle:hover,
.sidebar-test-database .sidebar-notification-toggle:hover,
.sidebar-test-database .sidebar-notification-toggle:focus-visible {
    background: #0f3f24;
}

.sidebar-test-database .sidebar-user {
    background: #123f27;
    border-top-color: #397855;
}

.sidebar-test-database .user-menu {
    background: #0f3f24;
}

.sidebar-test-database .user-menu a:hover {
    background: #0b321c;
}

.sidebar-test-database .sidebar-footer {
    border-top-color: #397855;
    color: #c9e8d5;
}

.sidebar-test-database .sidebar-notification-badge {
    border-color: #14532d;
}

.sidebar.collapsed {
    width: 70px;
}

html.sidebar-collapsed .sidebar {
    width: 70px;
}

/* Sidebar top */
.sidebar-top {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.sidebar-test-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    color: #ffe08a;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    transform: rotate(-30deg);
    transform-origin: center;
    white-space: nowrap;
}

/* Toggle button */
.toggle-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 20px;
    cursor: pointer;
}

.sidebar-notification-toggle {
    position: relative;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--color-white);
    font-size: 17px;
    cursor: pointer;
}

.sidebar-notification-toggle:hover,
.sidebar-notification-toggle:focus-visible {
    background: var(--color-dark-2);
    color: var(--color-gold);
}

.sidebar-notification-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 2px solid var(--color-black);
    border-radius: 9px;
    background: #dc3545;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
}

.sidebar.collapsed .sidebar-top,
html.sidebar-collapsed .sidebar-top {
    padding-right: 8px;
    padding-left: 8px;
    gap: 0;
}

.sidebar.collapsed .toggle-btn,
html.sidebar-collapsed .toggle-btn,
.sidebar.collapsed .sidebar-notification-toggle,
html.sidebar-collapsed .sidebar-notification-toggle {
    width: 26px;
}

.sidebar.collapsed .sidebar-test-indicator,
html.sidebar-collapsed .sidebar .sidebar-test-indicator {
    min-width: 0;
    width: 14px;
    font-size: 8px;
}

.sidebar.collapsed.sidebar-test-database .sidebar-top,
html.sidebar-collapsed .sidebar.sidebar-test-database .sidebar-top {
    padding-right: 2px;
    padding-left: 2px;
}

.worker-notifications-panel {
    width: min(430px, 100vw) !important;
    background: var(--app-surface);
    color: var(--app-text);
}

.worker-notifications-panel .offcanvas-header {
    border-bottom: 1px solid var(--app-border);
}

.worker-notifications-subtitle {
    margin-top: 2px;
    color: var(--app-text-muted);
    font-size: 11px;
}

.worker-notifications-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--app-border);
}

.worker-notifications-state {
    padding: 28px 16px;
    color: var(--app-text-muted);
    text-align: center;
}

.worker-notification-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid var(--app-border);
    background: var(--app-surface);
    color: var(--app-text);
    text-align: left;
}

.worker-notification-item:hover {
    background: var(--app-surface-muted);
}

.worker-notification-item.is-unread {
    border-left: 3px solid var(--color-gold);
    padding-left: 13px;
    background: color-mix(in srgb, var(--color-gold) 9%, var(--app-surface));
}

.worker-notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--app-surface-muted);
}

.worker-notification-icon.status-success { color: #198754; }
.worker-notification-icon.status-failed { color: #dc3545; }
.worker-notification-icon.status-retry,
.worker-notification-icon.status-unknown { color: #fd7e14; }
.worker-notification-icon.status-active { color: #0d6efd; }

.worker-notification-title {
    display: block;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 600;
}

.worker-notification-summary {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 3px;
    color: var(--app-text-muted);
    font-size: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.worker-notification-meta {
    display: block;
    margin-top: 5px;
    color: var(--app-text-muted);
    font-size: 10px;
}

.worker-notification-status {
    white-space: nowrap;
    font-size: 10px;
}

html[data-argus-theme="dark"] .worker-notification-item.is-unread {
    background: color-mix(in srgb, var(--color-gold) 14%, var(--app-surface));
}

/* Sidebar menu */
.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding-top: 20px;
}

/* Menu item */
.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 12px 20px;
    color: var(--color-grey);
    background: transparent;
    border: 0;
    text-decoration: none;
    text-align: left;
}

.menu-item:hover {
    background: var(--color-dark-2);
    color: var(--color-white);
}

.menu-item.active {
    background: var(--color-dark-2);
    border-left: 4px solid var(--color-gold);
    color: var(--color-white);
}

.menu-item.active i {
    color: var(--color-gold);
}

.menu-text {
    white-space: nowrap;
}

.sidebar-section {
    display: flex;
    flex-direction: column;
}

.sidebar-section-toggle {
    cursor: pointer;
}

.sidebar-section-toggle.active {
    border-left: 0;
}

.sidebar-section-items {
    display: none;
    padding: 2px 0 6px;
    background: rgba(255, 255, 255, 0.02);
}

.sidebar-section.open .sidebar-section-items {
    display: flex;
    flex-direction: column;
}

.sidebar-subitem {
    padding-top: 9px;
    padding-bottom: 9px;
    padding-left: 34px;
    font-size: 14px;
}

.sidebar-subitem i {
    width: 16px;
    font-size: 13px;
    text-align: center;
}

.sidebar-online-vhp-invoicing .menu-text {
    line-height: 1.3;
    white-space: normal;
}

.sidebar-online-vhp-invoicing > i {
    flex-shrink: 0;
}

.sidebar-section-chevron {
    margin-left: auto;
    font-size: 11px;
    transition: transform 0.2s;
}

.sidebar-section.open .sidebar-section-chevron {
    transform: rotate(180deg);
}

/* Collapse behaviour */
.sidebar.collapsed .menu-text {
    display: none;
}

html.sidebar-collapsed .sidebar .menu-text {
    display: none;
}

.sidebar.collapsed .sidebar-section-items,
html.sidebar-collapsed .sidebar .sidebar-section-items {
    display: none;
}

.sidebar.collapsed .sidebar-section-chevron,
html.sidebar-collapsed .sidebar .sidebar-section-chevron {
    display: none;
}

.sidebar.collapsed .menu-item,
html.sidebar-collapsed .sidebar .menu-item {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

/* Sidebar user (bottom) */
.sidebar-user {
    flex-shrink: 0;
    border-top: 1px solid var(--color-border);
    background: #000000;
}

/* User toggle */
.user-toggle {
    width: 100%;
    max-width: 100%;
    background: none;
    border: none;
    color: var(--color-grey);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    overflow: hidden;
}

.user-toggle .menu-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
}

.sidebar.collapsed .user-toggle .menu-text {
    display: none;
}

html.sidebar-collapsed .sidebar .user-toggle .menu-text {
    display: none;
}

.user-toggle:hover {
    background: var(--color-dark-2);
    color: var(--color-white);
}

/* Chevron */
.chevron {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s;
}

/* User menu */
.user-menu {
    display: none;
    flex-direction: column;
    background: var(--color-dark-2);
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--color-grey);
    text-decoration: none;
    font-size: 14px;
}

.user-menu a:hover {
    background: #1a1a1a;
    color: var(--color-white);
}

.user-menu .logout {
    color: #ffb3b3;
}

/* Open state */
.sidebar-user.open .user-menu {
    display: flex;
}

.sidebar-user.open .chevron {
    transform: rotate(180deg);
}

/* Collapsed sidebar */
.sidebar.collapsed .chevron {
    display: none;
}

html.sidebar-collapsed .sidebar .chevron {
    display: none;
}

.sidebar.collapsed .user-menu a {
    justify-content: center;
}

html.sidebar-collapsed .sidebar .user-menu a {
    justify-content: center;
}

.sidebar-impersonation-email {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Main content */
.main-content {
    margin-left: 240px;
    flex-grow: 1;
    padding: 30px;
    min-height: 100vh;
    transition: margin-left 0.3s;
}

/* Main when collapsed */
.sidebar.collapsed ~ .main-content {
    margin-left: 70px;
}

html.sidebar-collapsed .main-content {
    margin-left: 70px;
}

/* Datatable hover */
table.dataTable tbody tr:hover td {
    background-color: var(--app-table-hover) !important;
}

.table {
    --bs-table-bg: var(--app-surface);
    --bs-table-color: var(--app-text);
    --bs-table-border-color: var(--app-border);
    --bs-table-striped-bg: var(--app-surface-muted);
    --bs-table-striped-color: var(--app-text);
    --bs-table-hover-bg: var(--app-table-hover);
    --bs-table-hover-color: var(--app-text);
}

.modal-content,
.dropdown-menu,
.card {
    background: var(--app-surface);
    border-color: var(--app-border);
    color: var(--app-text);
}

.modal-header,
.modal-footer {
    border-color: var(--app-border);
}

.form-control,
.form-select {
    background-color: var(--app-surface);
    border-color: var(--app-border);
    color: var(--app-text);
    font-size: 14px;
}

.form-label,
.form-check-label,
.form-text,
.input-group-text {
    font-size: 14px;
}

.form-control-sm,
.form-select-sm {
    font-size: 10px;
}

.form-control:focus,
.form-select:focus {
    background-color: var(--app-surface);
    color: var(--app-text);
}

.form-control::placeholder {
    color: var(--app-text-muted);
    font-size: inherit;
}

/* Searchable selects (enabled automatically for more than 10 choices). */
.select2-container {
    color: var(--app-text);
    font-size: 14px;
    max-width: 100%;
}

.input-group > .select2-container {
    flex: 1 1 auto;
    min-width: 0;
    width: 1% !important;
}

.input-group > .select2-container .select2-selection {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    background-color: var(--app-surface);
    border-color: var(--app-border);
    border-radius: 0.375rem;
    color: var(--app-text);
    min-height: 38px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--app-text);
    line-height: 36px;
    padding-left: 12px;
    padding-right: 28px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.form-select-sm + .select2-container {
    font-size: 10px;
}

.form-select-sm + .select2-container .select2-selection--single,
.form-select-sm + .select2-container .select2-selection--multiple {
    min-height: 28px;
}

.form-select-sm + .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
    padding-left: 8px;
}

.form-select-sm + .select2-container .select2-selection--single .select2-selection__arrow {
    height: 26px;
}

.select2-dropdown,
.select2-container--default .select2-search--dropdown .select2-search__field {
    background: var(--app-surface);
    border-color: var(--app-border);
    color: var(--app-text);
}

.select2-results__option {
    color: var(--app-text);
}

.select2-container--default .select2-results__option--selected {
    background: var(--app-surface-muted);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: var(--color-gold);
    color: #111;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 0.2rem rgba(193, 145, 64, 0.2);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--app-surface-muted);
    border-color: var(--app-border);
    color: var(--app-text);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-color: var(--app-border);
    color: var(--app-text-muted);
}

.select2-container--default .select2-selection--multiple .select2-search__field {
    color: var(--app-text);
}

.select2-container--default.select2-container--disabled .select2-selection {
    background: var(--app-surface-muted);
    color: var(--app-text-muted);
    opacity: 0.75;
}

.form-select.is-invalid + .select2-container .select2-selection {
    border-color: #dc3545;
}

.select2-container--open {
    z-index: 2000;
}

.text-muted {
    color: var(--app-text-muted) !important;
}

.breadcrumb,
.breadcrumb-item.active,
.dt-info,
.dt-length,
.dt-search,
.dataTables_info,
.dataTables_length,
.dataTables_filter {
    color: var(--app-text-muted);
}

.page-link {
    background-color: var(--app-surface);
    border-color: var(--app-border);
}

div.dt-container div.dt-layout-row {
    align-items: center;
    margin: 0.35rem 0;
}

div.dt-container {
    position: relative;
}

div.dt-container.argus-dt-loading::before {
    background: rgba(255, 255, 255, 0.45);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 20;
}

html[data-argus-theme="dark"] div.dt-container.argus-dt-loading::before {
    background: rgba(16, 18, 23, 0.58);
}

div.dt-container.argus-dt-loading::after {
    animation: argus-dt-spin 0.7s linear infinite;
    border: 4px solid rgba(193, 145, 64, 0.25);
    border-radius: 50%;
    border-top-color: var(--color-gold);
    content: "";
    height: 42px;
    left: 50%;
    margin: -21px 0 0 -21px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    width: 42px;
    z-index: 21;
}

@keyframes argus-dt-spin {
    to {
        transform: rotate(360deg);
    }
}

div.dt-container div.dt-buttons {
    gap: 0.25rem;
    margin-left: 0.5rem;
}

div.dt-container div.dt-buttons .btn {
    border-radius: 4px;
    font-size: 10px;
    padding: 0.2rem 0.45rem;
}

div.dt-container div.dt-buttons .buttons-reset-state {
    background: var(--app-surface-muted);
    border-color: var(--app-border);
    color: var(--app-text);
}

div.dt-container div.dt-buttons .buttons-reset-state:hover {
    background: var(--app-table-hover);
    border-color: var(--app-border);
    color: var(--app-text);
}

div.dt-button-collection .dropdown-item {
    font-size: 10px;
    padding: 0.25rem 0.75rem;
}

body.dtcr-dragging {
    cursor: move;
}

.machine-customer-control {
    border-bottom: 1px solid var(--app-border);
    padding-bottom: 0.75rem;
}

.machine-license-restart-note {
    font-size: 10px;
    font-weight: 400;
}

.terminal-update-jenkins-panel {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 6px;
    padding: 0.8rem;
}

.terminal-update-modal {
    max-width: min(1600px, calc(100vw - 2rem));
}

.terminal-update-checkbox-grid {
    display: grid;
    gap: 0.35rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 1.9rem;
}

.terminal-update-checkbox-grid .form-check {
    margin-bottom: 0;
}

.terminal-update-checkbox-grid .form-text {
    display: block;
    line-height: 1.2;
    margin-left: 1.45rem;
    margin-top: 0.1rem;
}

.terminal-update-url-preview {
    display: block;
    margin-top: 0.35rem;
    max-height: 7rem;
    overflow: auto;
    white-space: normal;
    word-break: break-all;
}

.chain-editor-layout { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1fr); gap: 1rem; }
.chain-library { min-width: 0; border-right: 1px solid var(--app-border); padding-right: 1rem; }
.chain-library .list-group { max-height: 32rem; overflow-y: auto; }
.chain-library .list-group-item { padding: .45rem .5rem; overflow-wrap: anywhere; }
.chain-definition { min-width: 0; }
.chain-step-table th:first-child { width: 2.5rem; }
.chain-step-table td:last-child { white-space: nowrap; width: 1%; }
.chain-step-table td { overflow-wrap: anywhere; }
.chain-step-actions { display: flex; justify-content: end; gap: .2rem; }
.chain-step-actions .btn { width: 26px; height: 26px; padding: 0; flex: 0 0 26px; }
#terminalUpdateChainSummary { max-height: 16rem; overflow-y: auto; padding-left: 1.5rem; }
#terminalUpdateChainSummary li { padding: .2rem 0; }
.chain-step-preview { display: inline-flex; align-items: baseline; gap: .4rem; max-width: 100%; padding: 0; text-align: left; font-size: inherit; }
.chain-step-preview span { overflow-wrap: anywhere; }
#chainStepModal .form-check-label { overflow-wrap: anywhere; }
#chainStepModal .modal-content { background: var(--app-surface); }
#chainStepForm { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
@media (max-width: 767.98px) {
    .chain-editor-layout { grid-template-columns: minmax(0, 1fr); }
    .chain-library { border-right: 0; padding-right: 0; }
    .chain-library .list-group { max-height: 9rem; }
    .chain-step-table { min-width: 510px; }
}

@media (max-width: 767.98px) {
    .terminal-update-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

/* ultra compact datatable */
.table.table-sm td,
.table.table-sm th {
    padding: 0.2rem 0.35rem;
    font-size: 11px;
    vertical-align: middle;
}

/* zmenšení tlačítek v tabulce */
.table .btn-sm {
    padding: 0.15rem 0.35rem;
    font-size: 10px;
}


/* Disabled link */
.disabled-link {
    color: #adb5bd;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.menu-item i {
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

tr.row-disabled {
    opacity: 0.45;
    background-color: var(--app-surface-muted) !important;
}

tr.row-disabled td {
    text-decoration: line-through;
}

tr.row-disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.sidebar-footer {
    padding: 10px 15px;
    font-size: 10px;
    color: #8f94c1;
    border-top: 1px solid #2e2e42;
}

.theme-switcher {
    background: #101010;
    border: 1px solid #2e2e42;
    border-radius: 6px;
    display: grid;
    gap: 2px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0.55rem;
    padding: 2px;
}

.theme-option {
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: var(--color-grey);
    font-size: 10px;
    line-height: 1.2;
    padding: 0.28rem 0.2rem;
}

.theme-option:hover {
    color: var(--color-white);
}

.theme-option.active {
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
}

.settings-theme-switcher {
    max-width: 260px;
}

.settings-form {
    max-width: 960px;
}

.settings-token-state {
    padding-bottom: 0.45rem;
}

.settings-token-input::placeholder {
    font-size: 11px;
}

.app-meta {
    text-align: center;
    line-height: 1.4;
}

.app-version {
    font-weight: 500;
}

.app-version-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.app-version-link:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.sidebar.collapsed .sidebar-footer {
    display: none;
}

html.sidebar-collapsed .sidebar .sidebar-footer {
    display: none;
}

#appVersionLink {
    cursor: pointer;
}

.changelog-panel {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 8px;
    padding: 1rem;
}

.changelog-panel pre {
    color: var(--app-text);
    font-family: var(--bs-font-monospace);
    font-size: 12px;
    margin: 0;
    white-space: pre-wrap;
}

.sidebar-version {
    cursor: pointer;
}

.sidebar-version:hover {
    color: var(--color-gold);
}

.sidebar-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}

.sidebar-logo img {
    max-width: 140px;
    transition: 0.2s ease;
}

.logo-collapsed {
    display: none;
}

.sidebar.collapsed .logo-expanded {
    display: none;
}

html.sidebar-collapsed .sidebar .logo-expanded {
    display: none;
}

.sidebar.collapsed .logo-collapsed {
    display: block;
    max-width: 40px;
}

html.sidebar-collapsed .sidebar .logo-collapsed {
    display: block;
    max-width: 40px;
}

/* THEAD override */
table.dataTable thead th {
    background: var(--color-black);
    color: var(--color-gold);
    border-bottom: 1px solid var(--color-border);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* BUTTON override */
.btn-primary {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: #000;
}

.btn-primary:hover {
    background-color: #a87c36;
}

/* Bootstrap pagination */
.page-link {
    color: var(--app-text-muted);
}

.page-link:hover {
    color: #a87c36;
}

.page-item.active .page-link {
    background-color: #c19140;
}

.page-item.disabled .page-link {
    color: var(--app-text-muted);
}

/* filter coloring */
table.dataTable tfoot th {
    font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
    font-size: 10px;
}

table.dataTable tfoot input.form-control,
table.dataTable tfoot select.form-select {
    font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
    font-size: 10px;
}

table.dataTable tfoot input::placeholder {
    font-size: 10px;
}

#dataTableHelpModal {
    z-index: 1090;
}

.shared-views-table th,
.shared-views-table td {
    vertical-align: middle;
}

.shared-view-name-cell {
    display: block;
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shared-view-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    white-space: nowrap;
}

.shared-view-actions .btn {
    align-items: center;
    display: inline-flex;
    height: 1.75rem;
    justify-content: center;
    padding: 0;
    width: 1.75rem;
}

table.dataTable tfoot input.active-filter {
    background-color: #fff3cd;
    border-color: #ffc107;
}

html[data-argus-theme="dark"] table.dataTable tfoot input.active-filter {
    background-color: #3d3216;
    border-color: #c19140;
    color: #f8e7bf;
}

table.dataTable tfoot .range-empty-active .form-check-label {
    color: #8a6500;
    font-weight: 600;
}

html[data-argus-theme="dark"] table.dataTable tfoot .range-empty-active .form-check-label {
    color: #f2c879;
}

table.dataTable thead th.active-filter-col {
    background-color: #fff3cd !important;
}

html[data-argus-theme="dark"] table.dataTable thead th.active-filter-col {
    background-color: #3d3216 !important;
    color: #f2c879;
}

.date-range-filter {
    min-width: 105px;
}

.date-range-filter .form-control-sm {
    font-size: 10px;
    padding: 0.15rem 0.25rem;
}

.date-range-filter[data-range-filter="status"] {
    min-width: 170px;
}

.date-range-filter .range-now {
    font-size: 10px;
    padding: 0.15rem 0.3rem;
}

.request-detail-section {
    border-top: 1px solid var(--app-border);
    padding-top: 0.75rem;
}

.request-detail-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.request-detail-section h6 {
    color: var(--app-text);
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.request-detail-table {
    margin-bottom: 0.85rem;
}

.request-detail-table th {
    color: var(--app-text-muted);
    font-size: 10px;
    font-weight: 600;
    width: 180px;
}

.request-detail-table td {
    font-size: 10px;
    white-space: normal;
}

.request-detail-pre {
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 4px;
    color: var(--app-text);
    font-size: 10px;
    margin: 0;
    max-height: 360px;
    overflow: auto;
    padding: 0.55rem 0.65rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.audit-details-json {
    background: #0f172a;
    border-radius: 6px;
    color: #e5e7eb;
    font-size: 10px;
    margin: 0;
    min-height: 180px;
    overflow: auto;
    padding: 0.75rem;
    white-space: pre-wrap;
    word-break: break-word;
}


.config-item {
    display: flex; /* 🔥 důležité */
    justify-content: space-between;
    align-items: center;

    padding: 4px 6px;
    margin: 2px 0;
    border-radius: 4px;
    background: #2d3748;
    color: white;
    cursor: pointer;

    font-size: 12px;
    white-space: nowrap; /* ❗ zákaz zalamování */
}

#jsonViewer {
    overflow: auto;
    background: #1e1e1e;
    padding: 10px;
    border-radius: 8px;
    font-family: monospace;
}

#machineModal .modal-dialog {
    height: calc(100vh - 2rem);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

#machineModal .modal-content {
    height: 100%;
}

#machineModal .modal-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.machine-statistics-modal .modal-content {
    background: #eef4f7;
    border-color: #9aadb8;
    box-shadow: 0 0.75rem 2rem rgba(22, 38, 48, 0.24);
}

.machine-statistics-modal .table {
    --bs-table-bg: #eef4f7;
    --bs-table-striped-bg: #e3edf2;
}

html[data-argus-theme="dark"] .machine-statistics-modal .modal-content {
    background: #202832;
    border-color: #526273;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.5);
}

html[data-argus-theme="dark"] .machine-statistics-modal .table {
    --bs-table-bg: #202832;
    --bs-table-striped-bg: #27323e;
}

#machineModal .tab-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

#machineModal .tab-pane.active {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.config-browser {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.config-col {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-height: 0;
    width: 180px;
}

.config-title {
    color: var(--app-text-muted);
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 4px;
}

.config-list {
    flex: 1 1 auto;
    font-size: 12px;
    min-height: 0;
    overflow-y: auto;
}

.json-container {
    min-height: 0;
    overflow: auto;
}

.invoice-test-output {
    font-size: 11px;
    max-width: 100%;
}

.invoice-test-output .table {
    font-size: 11px;
    table-layout: auto;
    width: 100%;
}

.invoice-test-output .table > thead > tr:first-child > th {
    background: var(--color-black);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: sticky;
    text-align: left;
    text-transform: uppercase;
    top: 0;
    z-index: 10;
}

.invoice-test-output th,
.invoice-test-output td {
    vertical-align: top;
}

.invoice-test-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.invoice-test-section-souhrn_pozadavku .invoice-test-table,
.invoice-test-section-netto_podle_multigame .invoice-test-table {
    table-layout: fixed;
}

.invoice-test-section-netto_podle_multigame .invoice-test-table {
    min-width: 900px;
}

.invoice-test-section-souhrn_pozadavku .invoice-test-table th:nth-child(1),
.invoice-test-section-souhrn_pozadavku .invoice-test-table td:nth-child(1) {
    width: 34%;
}

.invoice-test-section-souhrn_pozadavku .invoice-test-table th:nth-child(2),
.invoice-test-section-souhrn_pozadavku .invoice-test-table td:nth-child(2) {
    width: 12%;
}

.invoice-test-section-souhrn_pozadavku .invoice-test-table th:nth-child(3),
.invoice-test-section-souhrn_pozadavku .invoice-test-table td:nth-child(3) {
    width: 54%;
}

.invoice-test-section-netto_podle_multigame .invoice-test-table th,
.invoice-test-section-netto_podle_multigame .invoice-test-table td,
.invoice-test-section-souhrn_pozadavku .invoice-test-table th,
.invoice-test-section-souhrn_pozadavku .invoice-test-table td {
    overflow-wrap: anywhere;
    white-space: normal;
}

.invoice-test-section-detail_terminaly_nevyuctovane .invoice-test-table th,
.invoice-test-section-detail_terminaly_nevyuctovane .invoice-test-table td {
    white-space: nowrap;
}

.invoice-test-section-detail_terminaly_nevyuctovane .invoice-test-table {
    min-width: max-content;
}

.invoice-test-output .invoice-test-sortable {
    cursor: pointer;
    padding-right: 24px;
    position: relative;
    user-select: none;
}

.invoice-test-output .invoice-test-sortable.text-end {
    padding-left: 8px;
    padding-right: 34px;
}

.invoice-test-output .invoice-test-sortable::before,
.invoice-test-output .invoice-test-sortable::after {
    color: rgba(193, 145, 64, 0.55);
    display: block;
    font-size: 8px;
    line-height: 1;
    opacity: 0.25;
    position: absolute;
    right: 6px;
}

.invoice-test-output .invoice-test-sortable.text-end::before,
.invoice-test-output .invoice-test-sortable.text-end::after {
    right: 8px;
}

.invoice-test-output .invoice-test-sortable::before {
    bottom: 50%;
    content: "▲";
    margin-bottom: -1px;
}

.invoice-test-output .invoice-test-sortable::after {
    content: "▼";
    margin-top: -1px;
    top: 50%;
}

.invoice-test-output .invoice-test-sortable.sorting_asc::before {
    color: var(--color-gold);
    opacity: 0.9;
}

.invoice-test-output .invoice-test-sortable.sorting_desc::after {
    color: var(--color-gold);
    opacity: 0.9;
}

.invoice-test-output .table-striped > tbody > tr.invoice-test-row-alt > * {
    --bs-table-accent-bg: rgba(0, 0, 0, 0.035);
}

html[data-argus-theme="dark"] .invoice-test-output .table-striped > tbody > tr.invoice-test-row-alt > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.045);
}

.invoice-test-output .invoice-test-filter-row th {
    padding-top: 2px;
}

.invoice-test-output .invoice-test-filter-input {
    font-size: 10px;
    min-width: 72px;
    padding: 2px 5px;
}

.invoice-test-output .invoice-test-toolbar .btn {
    font-size: 10px;
    padding: 2px 8px;
}

.config-item:hover {
    background: #4a5568;
}

.config-item.active {
    background: #c19140;
}

.config-item span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

button.config-item {
    border: 0;
    text-align: left;
    width: 100%;
}

.machine-log-file-item {
    align-items: stretch;
    flex-direction: column;
}

.machine-log-file-item .btn-link {
    color: #fff;
    font-size: 12px;
    max-width: 120px;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.machine-log-file-item .btn-link:hover {
    color: #f8e7bf;
    text-decoration: underline;
}

.machine-log-content code {
    color: #000;
    white-space: pre;
}

.machine-log-content {
    background: #fff;
    color: #000;
}

html[data-argus-theme="dark"] .machine-log-content {
    background: #111827;
    color: #f8f9fa;
}

html[data-argus-theme="dark"] .machine-log-content code {
    color: #f8f9fa;
}

.badge-small {
    flex-shrink: 0; /* 🔥 zabrání zalomení */
    margin-left: 6px;
    font-size: 10px;
}

.modal-xl {
    max-width: 95%;
}

html[data-argus-theme="dark"] .btn-outline-secondary {
    border-color: #596170;
    color: #c4cad4;
}

html[data-argus-theme="dark"] .btn-outline-secondary:hover {
    background: #2a303a;
    color: #fff;
}



#machinesTable tbody tr {
    cursor: pointer;
}

#machinesTable th.machine-selection-col,
#machinesTable td.machine-selection-col {
    text-align: center;
    width: 32px;
}

/* dblclick highlight */
.table-active-row > td {
    background-color: #c19140 !important;
    color: #000 !important;
}

.dashboard-table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 10px;
    table-layout: auto;
    width: max-content;
}

.dashboard-country-grid {
    align-items: flex-start;
    display: flex;
    gap: 4rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.dashboard-country-block {
    flex: 0 0 auto;
}

.dashboard-country-title {
    background: #f1f5f9;
    border-left: 4px solid #28313f;
    color: #111827;
    font-size: 10px;
    font-weight: 800;
    margin: 0 0 0.35rem;
    padding: 0.35rem 0.55rem;
}

.dashboard-table th,
.dashboard-table td {
    font-size: 10px;
    line-height: 1.15;
}

.dashboard-table thead th {
    background: #28313f;
    border-bottom: 2px solid #111827;
    color: #fff;
    font-weight: 700;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    position: sticky;
    top: 0;
    vertical-align: middle;
    white-space: nowrap;
    z-index: 1;
}

.dashboard-table tbody td {
    border-bottom: 1px solid #e5e7eb;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    white-space: nowrap;
}

.dashboard-table tbody tr:hover td {
    filter: brightness(0.98);
}

.dashboard-table tbody tr.dashboard-customer-highlight > td:not(.dashboard-count-col):not(.dashboard-total-col) {
    background: #eef2ff;
}

.dashboard-table tbody tr.dashboard-customer-highlight .dashboard-customer-col {
    border-left: 4px solid #6366f1;
    border-left-color: #6366f1;
}

.dashboard-table tbody tr.dashboard-summary-row > td {
    background: #111827 !important;
    border-bottom: 0;
    border-top: 2px solid #020617;
    color: #fff !important;
    font-weight: 800;
}

.dashboard-table tbody tr.dashboard-summary-row .dashboard-total-col {
    background: #020617 !important;
}

.dashboard-table .dashboard-customer-col {
    font-weight: 700;
    width: 1%;
}

.dashboard-table .dashboard-mode-col {
    font-weight: 700;
    width: 1%;
}

.dashboard-table .dashboard-count-col,
.dashboard-table .dashboard-status-col,
.dashboard-table .dashboard-total-col {
    width: 1%;
}

.dashboard-table .dashboard-platform-separator {
    border-left: 4px solid #111827 !important;
}

.dashboard-table .dashboard-total-col {
    background: #f1f5f9;
    color: #111827;
    font-weight: 800;
}

.dashboard-table thead .dashboard-total-col {
    background: #111827;
    color: #fff;
}

.dashboard-table thead .dashboard-mg-gp {
    background: #15803d;
}

.dashboard-table tbody .dashboard-mg-gp {
    background: #dcfce7;
    color: #14532d;
}

.dashboard-table thead .dashboard-mg-gp-k2 {
    background: #15803d;
}

.dashboard-table tbody .dashboard-mg-gp-k2 {
    background: #dcfce7;
    color: #14532d;
}

.dashboard-table thead .dashboard-mg-gp-k7 {
    background: #16a34a;
}

.dashboard-table tbody .dashboard-mg-gp-k7 {
    background: #bbf7d0;
    color: #14532d;
}

.dashboard-table thead .dashboard-mg-od {
    background: #ea580c;
}

.dashboard-table tbody .dashboard-mg-od {
    background: #ffedd5;
    color: #7c2d12;
}

.dashboard-table thead .dashboard-mg-rp {
    background: #b91c1c;
}

.dashboard-table tbody .dashboard-mg-rp {
    background: #fee2e2;
    color: #7f1d1d;
}

.dashboard-table thead .dashboard-mg-rp-k2 {
    background: #b91c1c;
}

.dashboard-table tbody .dashboard-mg-rp-k2 {
    background: #fee2e2;
    color: #7f1d1d;
}

.dashboard-table thead .dashboard-mg-rp-k7 {
    background: #dc2626;
}

.dashboard-table tbody .dashboard-mg-rp-k7 {
    background: #fecaca;
    color: #7f1d1d;
}

.dashboard-table thead .dashboard-mg-yp {
    background: #ca8a04;
    color: #111827;
}

.dashboard-table tbody .dashboard-mg-yp {
    background: #fef9c3;
    color: #713f12;
}

.dashboard-table thead .dashboard-mg-bp {
    background: #2563eb;
}

.dashboard-table tbody .dashboard-mg-bp {
    background: #dbeafe;
    color: #1e3a8a;
}

.dashboard-table thead .dashboard-mg-bl {
    background: #111827;
}

.dashboard-table tbody .dashboard-mg-bl {
    background: #e5e7eb;
    color: #111827;
}

.dashboard-table thead .dashboard-mg-pp {
    background: #7e22ce;
}

.dashboard-table tbody .dashboard-mg-pp {
    background: #f3e8ff;
    color: #581c87;
}

.dashboard-table thead .dashboard-mg-default {
    background: #f8fafc;
    color: #111827;
}

.dashboard-table tbody .dashboard-mg-default {
    background: #fff;
    color: #111827;
}

.dashboard-charts {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, max-content));
    align-items: start;
}

.dashboard-chart-stack {
    display: grid;
    gap: 0.75rem;
}

.dashboard-chart {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.8rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: max-content;
}

.dashboard-chart:hover {
    border-color: #94a3b8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.dashboard-chart h6 {
    color: #374151;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.dashboard-chart-compact {
    padding: 0.65rem;
}

.dashboard-chart-compact h6 {
    font-size: 10px;
    margin-bottom: 0.5rem;
}

.dashboard-pie-wrap {
    align-items: flex-start;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 150px minmax(0, 260px);
}

.dashboard-chart-compact .dashboard-pie-wrap {
    gap: 0.65rem;
    grid-template-columns: 105px minmax(0, 210px);
}

.dashboard-pie {
    display: block;
    height: 150px;
    overflow: visible;
    width: 150px;
}

.dashboard-chart-compact .dashboard-pie {
    height: 105px;
    width: 105px;
}

.dashboard-chart-compact .dashboard-pie-bg,
.dashboard-chart-compact .dashboard-pie-segment {
    stroke-width: 24;
}

.dashboard-chart-compact .dashboard-pie-segment:hover,
.dashboard-chart-compact .dashboard-pie-segment.dashboard-chart-active {
    stroke-width: 28;
}

.dashboard-chart-compact .dashboard-pie-total {
    font-size: 10px;
}

.dashboard-pie-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 30;
}

.dashboard-pie-segment {
    cursor: pointer;
    fill: none;
    stroke-linecap: butt;
    stroke-width: 30;
    transform: rotate(-90deg);
    transform-origin: 60px 60px;
    transition: filter 0.12s ease, stroke-width 0.12s ease;
}

.dashboard-pie-segment:hover {
    filter: brightness(0.92);
    stroke-width: 34;
}

.dashboard-pie-segment.dashboard-chart-active {
    filter: brightness(0.9);
    stroke-width: 34;
}

.dashboard-pie-hole {
    fill: #fff;
    stroke: rgba(17, 24, 39, 0.08);
    stroke-width: 1;
}

.dashboard-pie-total {
    color: #111827;
    dominant-baseline: middle;
    fill: #111827;
    font-size: 10px;
    font-weight: 800;
    pointer-events: none;
    text-anchor: middle;
}

.dashboard-pie-legend {
    display: grid;
    gap: 0.25rem;
    max-height: 220px;
    overflow: auto;
}

.dashboard-chart-compact .dashboard-pie-legend {
    max-height: 115px;
}

.dashboard-chart-compact .dashboard-pie-legend-row {
    font-size: 10px;
    grid-template-columns: 10px minmax(0, 1fr) 34px 46px;
}

.dashboard-pie-legend-row {
    align-items: center;
    border-radius: 4px;
    display: grid;
    font-size: 10px;
    gap: 0.35rem;
    grid-template-columns: 10px minmax(0, 1fr) 44px 52px;
    line-height: 1.2;
    padding: 0.12rem 0.2rem;
    transition: background-color 0.12s ease, color 0.12s ease;
    white-space: nowrap;
}

.dashboard-pie-legend-row:hover {
    background: #f1f5f9;
}

.dashboard-pie-legend-row.dashboard-chart-active {
    background: #e2e8f0;
}

.dashboard-pie-legend-row:hover .dashboard-pie-label,
.dashboard-pie-legend-row:hover .dashboard-pie-value,
.dashboard-pie-legend-row:hover .dashboard-pie-percent,
.dashboard-pie-legend-row.dashboard-chart-active .dashboard-pie-label,
.dashboard-pie-legend-row.dashboard-chart-active .dashboard-pie-value,
.dashboard-pie-legend-row.dashboard-chart-active .dashboard-pie-percent {
    color: #020617;
    font-weight: 700;
}

.dashboard-pie-color {
    border-radius: 2px;
    display: inline-block;
    height: 10px;
    width: 10px;
}

.dashboard-pie-label {
    color: #111827;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-pie-value,
.dashboard-pie-percent {
    color: #374151;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Statistics in external shared views */
.shared-view-statistics-dialog {
    background: #f1f5f3;
    border: 1px solid #b9c7bf;
    border-radius: 6px;
    color: #17211b;
    font-size: 11px;
    max-height: 85vh;
    padding: 1rem;
    width: min(760px, calc(100% - 2rem));
}

.shared-view-statistics-dialog::backdrop {
    background: rgba(0, 0, 0, 0.45);
}

.shared-view-statistics-dialog h5 {
    font-size: 14px;
}

.shared-view-statistics-body {
    max-height: 65vh;
    overflow: auto;
    padding-bottom: 1rem;
}

/* Dashboard report layout */
.dashboard-jump-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.9rem;
}

.dashboard-jump-nav .btn {
    align-items: center;
    display: inline-flex;
    font-size: 10px;
    justify-content: center;
    line-height: 1.2;
    min-height: 1.75rem;
    padding: 0.12rem 0.55rem;
}

.dashboard-jump-nav [hidden] {
    display: none !important;
}

.dashboard-scroll-top-btn {
    align-items: center;
    display: inline-flex;
    font-size: 10px;
    justify-content: center;
    line-height: 1.2;
    min-height: 1.75rem;
    padding: 0.12rem 0.4rem;
}

.dashboard-section-group {
    scroll-margin-top: 1rem;
}

.dashboard-section-refreshing {
    opacity: 0.72;
    transition: opacity 120ms ease;
}

.dashboard-section {
    margin-bottom: 2.4rem;
}

.dashboard-section-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
}

.dashboard-section-header h5 {
    color: var(--app-text);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0;
}

.dashboard-section-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.dashboard-filter-select,
.dashboard-refresh-select {
    font-size: 10px;
    min-height: 1.75rem;
    padding-bottom: 0.12rem;
    padding-top: 0.12rem;
    width: auto;
}

.dashboard-refresh-select {
    min-width: 4.2rem;
}

.dashboard-refresh-control {
    display: inline-flex;
    position: relative;
}

.dashboard-refresh-toggle {
    align-items: center;
    display: inline-flex;
    font-size: 10px;
    gap: 0.25rem;
    min-height: 1.75rem;
    padding: 0.12rem 0.4rem;
}

.dashboard-refresh-current {
    font-variant-numeric: tabular-nums;
    min-width: 1.4rem;
    text-align: left;
}

.dashboard-refresh-enabled .dashboard-refresh-toggle {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.dashboard-refresh-disabled .dashboard-refresh-toggle {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

html[data-argus-theme="dark"] .dashboard-refresh-enabled .dashboard-refresh-toggle {
    background: #123d26;
    border-color: #166534;
    color: #bbf7d0;
}

html[data-argus-theme="dark"] .dashboard-refresh-disabled .dashboard-refresh-toggle {
    background: #4c1515;
    border-color: #7f1d1d;
    color: #fecaca;
}

.dashboard-refresh-menu {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 4px;
    box-shadow: 0 0.35rem 0.9rem rgba(0, 0, 0, 0.12);
    display: none;
    min-width: 5.8rem;
    padding: 0.2rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.2rem);
    z-index: 30;
}

.dashboard-refresh-control.open .dashboard-refresh-menu {
    display: grid;
    gap: 0.12rem;
}

.dashboard-refresh-menu button {
    background: transparent;
    border: 0;
    border-radius: 3px;
    color: var(--app-text);
    font-size: 10px;
    padding: 0.22rem 0.45rem;
    text-align: left;
    white-space: nowrap;
}

.dashboard-refresh-menu button:hover,
.dashboard-refresh-menu button.active {
    background: var(--app-surface-muted);
    color: var(--app-text);
}

.dashboard-table-shell {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 6px;
    max-width: 100%;
    overflow: hidden;
    width: fit-content;
}

.dashboard-table-scroll {
    max-width: 100%;
    overflow: auto;
    width: fit-content;
}

.dashboard-table {
    --dashboard-header-bg: #202938;
    --dashboard-header-border: #111827;
    --dashboard-total-bg: #eef2f7;
    --dashboard-total-head-bg: #111827;
    --dashboard-sticky-bg: var(--app-surface);
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    min-width: max-content;
    width: max-content;
}

html[data-argus-theme="dark"] .dashboard-table {
    --dashboard-header-bg: #111722;
    --dashboard-header-border: #05070b;
    --dashboard-total-bg: #242b36;
    --dashboard-total-head-bg: #080b11;
    --dashboard-sticky-bg: var(--app-surface);
}

.dashboard-table th,
.dashboard-table td {
    border-color: var(--app-border);
    font-size: 10px;
    line-height: 1.15;
    padding: 0.28rem 0.42rem;
}

.dashboard-table thead th {
    background: var(--dashboard-header-bg);
    border-bottom: 2px solid var(--dashboard-header-border);
    color: #f8fafc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    position: sticky;
    text-transform: uppercase;
    top: 0;
    z-index: 3;
}

.dashboard-table tbody td {
    border-bottom: 1px solid var(--app-border);
    white-space: nowrap;
}

.dashboard-table .dashboard-customer-col {
    left: 0;
    max-width: 230px;
    min-width: 150px;
    position: sticky;
    white-space: nowrap;
    z-index: 2;
}

.dashboard-table thead .dashboard-customer-col {
    background: var(--dashboard-total-head-bg);
    z-index: 4;
}

.dashboard-table tbody .dashboard-customer-col {
    background: var(--dashboard-sticky-bg);
    box-shadow: 1px 0 0 var(--app-border);
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-table .dashboard-mode-col {
    font-weight: 800;
}

.dashboard-table .dashboard-country-col {
    min-width: 46px;
    width: 1%;
}

.dashboard-table .dashboard-server-ip-col {
    font-variant-numeric: tabular-nums;
    min-width: 96px;
    width: 1%;
}

.dashboard-sort-button {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    display: inline-flex;
    font: inherit;
    font-weight: inherit;
    gap: 0.25rem;
    padding: 0;
    white-space: nowrap;
}

.dashboard-sort-button:hover,
.dashboard-sort-button.active {
    color: var(--color-gold);
}

.dashboard-sort-icon {
    font-size: 9px;
}

.dashboard-table .dashboard-version-col {
    min-width: 72px;
}

.dashboard-version-status {
    color: var(--app-text-muted);
    font-size: 9px;
    line-height: 1.15;
    margin-top: 1px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-table tbody .dashboard-service-stopped {
    background: #fee2e2 !important;
    color: #7f1d1d;
}

.dashboard-table tbody .dashboard-service-running {
    background: #dcfce7 !important;
    color: #14532d;
}

.dashboard-table .dashboard-timestamp-col {
    font-variant-numeric: tabular-nums;
    min-width: 118px;
    white-space: nowrap;
    width: 1%;
}

.dashboard-table .dashboard-count-col,
.dashboard-table .dashboard-status-col,
.dashboard-table .dashboard-total-col {
    font-variant-numeric: tabular-nums;
    min-width: 42px;
    width: 1%;
}

.dashboard-table .dashboard-zero-col {
    color: color-mix(in srgb, var(--app-text-muted) 70%, transparent);
}

.dashboard-table .dashboard-online-col {
    color: #15803d;
    font-weight: 800;
}

.dashboard-table .dashboard-offline-col {
    color: #b91c1c;
    font-weight: 800;
}

html[data-argus-theme="dark"] .dashboard-table .dashboard-online-col {
    color: #4ade80;
}

html[data-argus-theme="dark"] .dashboard-table .dashboard-offline-col {
    color: #f87171;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-service-stopped {
    background: #4a1f24 !important;
    color: #fecaca;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-service-running {
    background: #173523 !important;
    color: #bbf7d0;
}

.dashboard-table .dashboard-total-col {
    background: var(--dashboard-total-bg);
    color: var(--app-text);
    font-weight: 900;
}

.dashboard-table thead .dashboard-total-col {
    background: var(--dashboard-total-head-bg);
    color: #fff;
}

.dashboard-table tbody tr.dashboard-customer-highlight > td:not(.dashboard-count-col):not(.dashboard-total-col) {
    background: #eef2ff;
}

html[data-argus-theme="dark"] .dashboard-table tbody tr.dashboard-customer-highlight > td:not(.dashboard-count-col):not(.dashboard-total-col) {
    background: #20273a;
}

.dashboard-table tbody tr:hover > td {
    filter: brightness(0.98);
    outline: 1px solid rgba(193, 145, 64, 0.18);
    outline-offset: -1px;
}

.dashboard-table tbody tr:hover > .dashboard-customer-col,
.dashboard-table tbody tr.dashboard-customer-highlight:hover > td:not(.dashboard-count-col):not(.dashboard-total-col) {
    background: var(--app-table-hover);
}

html[data-argus-theme="dark"] .dashboard-table tbody tr:hover > td {
    filter: brightness(1.14);
}

html[data-argus-theme="dark"] .dashboard-table tbody tr:hover > .dashboard-customer-col,
html[data-argus-theme="dark"] .dashboard-table tbody tr.dashboard-customer-highlight:hover > td:not(.dashboard-count-col):not(.dashboard-total-col) {
    background: var(--app-table-hover);
}

.dashboard-table tbody tr.dashboard-summary-row > td,
.dashboard-table tbody tr.dashboard-summary-row .dashboard-customer-col {
    background: #0f172a !important;
    border-top: 2px solid #020617;
    color: #fff !important;
    font-weight: 900;
}

.dashboard-table tbody tr.dashboard-summary-row .dashboard-total-col {
    background: #020617 !important;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-gp,
html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-gp-k2 {
    background: #123d26;
    color: #bbf7d0;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-gp-k7 {
    background: #14532d;
    color: #dcfce7;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-od {
    background: #4a260d;
    color: #fed7aa;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-rp,
html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-rp-k2 {
    background: #4c1515;
    color: #fecaca;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-rp-k7 {
    background: #5f1717;
    color: #fee2e2;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-yp {
    background: #43310a;
    color: #fef3c7;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-bp {
    background: #172f63;
    color: #bfdbfe;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-bl {
    background: #0b0f17;
    color: #d1d5db;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-pp {
    background: #3d1664;
    color: #e9d5ff;
}

html[data-argus-theme="dark"] .dashboard-table tbody .dashboard-mg-default {
    background: #1f2530;
    color: var(--app-text);
}

.dashboard-country-grid {
    gap: 3rem;
    padding-bottom: 0.6rem;
}

.dashboard-country-block {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 6px;
    overflow: hidden;
}

.dashboard-country-block .dashboard-table-shell {
    border: 0;
    border-radius: 0;
}

.dashboard-country-title {
    align-items: center;
    background: var(--app-surface-muted);
    border: 0;
    border-bottom: 1px solid var(--app-border);
    color: var(--app-text);
    display: flex;
    font-size: 10px;
    justify-content: space-between;
    margin: 0;
    padding: 0.45rem 0.65rem;
}

html[data-argus-theme="dark"] .dashboard-chart {
    background: var(--app-surface);
    border-color: var(--app-border);
}

html[data-argus-theme="dark"] .dashboard-chart h6,
html[data-argus-theme="dark"] .dashboard-pie-label {
    color: var(--app-text);
}

html[data-argus-theme="dark"] .dashboard-pie-bg {
    stroke: #2c3441;
}

html[data-argus-theme="dark"] .dashboard-pie-hole {
    fill: var(--app-surface);
    stroke: var(--app-border);
}

html[data-argus-theme="dark"] .dashboard-pie-total {
    fill: var(--app-text);
}

html[data-argus-theme="dark"] .dashboard-pie-value,
html[data-argus-theme="dark"] .dashboard-pie-percent {
    color: var(--app-text-muted);
}

html[data-argus-theme="dark"] .dashboard-pie-legend-row:hover,
html[data-argus-theme="dark"] .dashboard-pie-legend-row.dashboard-chart-active {
    background: #252c38;
}

html[data-argus-theme="dark"] .dashboard-pie-legend-row:hover .dashboard-pie-label,
html[data-argus-theme="dark"] .dashboard-pie-legend-row:hover .dashboard-pie-value,
html[data-argus-theme="dark"] .dashboard-pie-legend-row:hover .dashboard-pie-percent,
html[data-argus-theme="dark"] .dashboard-pie-legend-row.dashboard-chart-active .dashboard-pie-label,
html[data-argus-theme="dark"] .dashboard-pie-legend-row.dashboard-chart-active .dashboard-pie-value,
html[data-argus-theme="dark"] .dashboard-pie-legend-row.dashboard-chart-active .dashboard-pie-percent {
    color: #fff;
}

.shared-view-public-page {
    background: #f5f6fa;
    color: #111827;
}

.shared-view-public,
.shared-view-password {
    font-size: 10px;
    margin: 0 auto;
    max-width: 1500px;
    padding: 2rem;
}

.shared-view-public-header {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.shared-view-public-header h1,
.shared-view-password h1 {
    font-size: 10px;
    font-weight: 800;
    margin: 0;
}

.shared-view-public-header p {
    color: #6b7280;
    margin: 0.25rem 0 0;
}

.shared-view-public-meta {
    align-items: center;
    display: flex;
    gap: 0.35rem;
}

.shared-view-public-meta > span,
.shared-view-autorefresh,
.shared-view-language-switcher {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #374151;
    font-size: 10px;
    padding: 0.25rem 0.45rem;
}

.shared-view-public-search {
    margin-bottom: 0.6rem;
}

.shared-view-public-search input {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #111827;
    font-size: 10px;
    max-width: 340px;
    padding: 0.35rem 0.55rem;
    width: 100%;
}

.shared-view-public-search input:focus {
    border-color: #c19140;
    box-shadow: 0 0 0 0.12rem rgba(193, 145, 64, 0.18);
    outline: 0;
}

.shared-view-autorefresh {
    align-items: center;
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.2rem 0.25rem 0.2rem 0.45rem;
}

.shared-view-language-switcher {
    align-items: center;
    display: inline-flex;
    gap: 0.15rem;
    padding: 0.15rem;
}

.shared-view-autorefresh span {
    color: #6b7280;
    font-weight: 700;
    margin-right: 0.15rem;
}

.shared-view-autorefresh button {
    background: transparent;
    border: 0;
    border-radius: 3px;
    color: #374151;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 0.25rem 0.35rem;
}

.shared-view-language-switcher button {
    background: transparent;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
    padding: 0.2rem 0.28rem;
}

.shared-view-autorefresh button:hover,
.shared-view-autorefresh button.active,
.shared-view-language-switcher button:hover,
.shared-view-language-switcher button.active {
    background: #111827;
    color: #c19140;
}

.shared-view-public-table-wrap {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: auto;
}

.shared-view-public-table {
    font-size: 10px;
    margin: 0;
    min-width: max-content;
}

.shared-view-public-table thead th {
    background: #111827;
    color: #c19140;
    font-size: 10px;
    position: sticky;
    top: 0;
}

.shared-view-status-badge {
    border-radius: 12px;
    color: #fff;
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    min-width: 36px;
    padding: 2px 6px;
    text-align: center;
}

.shared-view-status-on {
    background: #28a745;
}

.shared-view-status-warn {
    background: #fd7e14;
}

.shared-view-status-off {
    background: #dc3545;
}

.argus-ip-status {
    border-radius: 4px;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    padding: 1px 5px;
}

.argus-ip-online {
    --bs-table-bg: #d1e7dd;
    --bs-table-color: #0f5132;
    background: #d1e7dd;
    color: #0f5132;
}

.argus-ip-offline {
    --bs-table-bg: #f8d7da;
    --bs-table-color: #842029;
    background: #f8d7da;
    color: #842029;
}

html[data-argus-theme="dark"] .argus-ip-online {
    --bs-table-bg: #0f5132;
    --bs-table-color: #d1e7dd;
    background: #0f5132;
    color: #d1e7dd;
}

html[data-argus-theme="dark"] .argus-ip-offline {
    --bs-table-bg: #842029;
    --bs-table-color: #f8d7da;
    background: #842029;
    color: #f8d7da;
}

.shared-view-update-badge {
    border-radius: 12px;
    color: #fff;
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    max-width: 120px;
    min-width: 54px;
    overflow: hidden;
    padding: 2px 6px;
    text-align: center;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.shared-view-update-empty,
.shared-view-update-neutral {
    background: #6c757d;
}

.shared-view-update-success {
    background: #28a745;
}

.shared-view-update-failed {
    background: #dc3545;
}

.shared-view-update-running {
    background: #0d6efd;
}

.shared-view-update-warning {
    background: #ffc107;
    color: #111827;
}

.shared-view-public-table th[data-sort-column] {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.shared-view-public-table th.shared-view-sort-asc::after,
.shared-view-public-table th.shared-view-sort-desc::after {
    color: #c19140;
    font-size: 10px;
    margin-left: 4px;
}

.shared-view-public-table th.shared-view-sort-asc::after {
    content: "^";
}

.shared-view-public-table th.shared-view-sort-desc::after {
    content: "v";
}

.shared-view-password {
    align-items: center;
    display: flex;
    min-height: 100vh;
    justify-content: center;
}

.qr-license-tiles {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.qr-license-tile {
    align-items: flex-start;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-left: 4px solid var(--color-gold);
    border-radius: 6px;
    color: var(--app-text);
    display: flex;
    flex-direction: column;
    min-height: 96px;
    padding: 14px;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qr-license-tile:hover,
.qr-license-tile:focus {
    border-color: var(--color-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    outline: none;
}

.qr-license-tile-icon {
    color: var(--color-gold);
    font-size: 18px;
    margin-bottom: 8px;
}

.qr-license-tile-name {
    font-weight: 700;
    line-height: 1.25;
}

.qr-license-tile-country {
    color: var(--app-text-muted);
    font-size: 12px;
    margin-top: 4px;
}

.online-vhp-invoicing-heading h1 {
    min-width: 0;
    overflow-wrap: anywhere;
}

.online-vhp-invoicing-tiles {
    grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
}

.online-vhp-invoicing-tiles .qr-license-tile {
    min-width: 0;
    overflow-wrap: anywhere;
}

.online-vhp-invoicing-tiles .qr-license-tile {
    color: var(--app-text);
    text-decoration: none;
}

.online-vhp-periods {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    border-bottom: 1px solid var(--app-border);
    gap: 4px;
    padding-bottom: 4px;
}

.online-vhp-period {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--app-text-muted);
    padding: 10px 12px;
    font-size: 12px;
    text-align: left;
}

.online-vhp-period small {
    font-size: 11px;
}

.online-vhp-period.active {
    color: var(--app-text);
    border-bottom-color: var(--color-gold);
    background: var(--app-surface-muted);
    font-weight: 600;
}

.online-vhp-period:hover, .online-vhp-period:focus-visible {
    color: var(--app-text);
    background: var(--app-surface-muted);
}

#onlineVhpReport, #onlineVhpPanel, .online-vhp-table {
    min-width: 0;
    max-width: 100%;
}

.main-content:has(#onlineVhpReport) {
    min-width: 0;
}

.online-vhp-table .dt-layout-row {
    flex-wrap: wrap;
    gap: 8px;
}

.online-vhp-table .buttons-table-help,
.online-vhp-table .buttons-table-refresh {
    flex: 0 0 32px;
    width: 32px;
}

.online-vhp-table input[data-column-filter] {
    min-width: 75px;
}

.online-vhp-table .dt-scroll-body {
    padding-bottom: 1rem;
}

#onlineVhpReport .vhp-netto {
    background-color: color-mix(in srgb, var(--color-gold) 12%, var(--app-surface));
    font-weight: 600;
}

.online-vhp-summaries {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    border-top: 1px solid var(--app-border);
    padding-top: 18px;
}

.online-vhp-summaries[hidden] {
    display: none;
}

.online-vhp-summaries section {
    min-width: 0;
}

.online-vhp-summary {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
    .online-vhp-summaries {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card-customer-country + .card-customer-country {
    margin-top: 24px;
}

.card-customer-tiles {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
}

.card-customer-tile {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-left: 3px solid var(--color-gold);
    border-radius: 5px;
    color: var(--app-text);
    min-height: 58px;
    padding: 8px 10px;
    text-align: left;
}

.card-customer-tile:hover,
.card-customer-tile:focus {
    border-color: var(--color-gold);
    outline: none;
}

.card-customer-tile-name,
.card-customer-tile-count {
    display: block;
}

.card-customer-tile-name {
    font-size: 11px;
    font-weight: 700;
}

.card-customer-tile-count {
    color: var(--app-text-muted);
    font-size: 10px;
    margin-top: 3px;
}

.card-management-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    white-space: normal;
}

.card-role {
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 4px;
    display: inline-block;
    padding: 2px 5px;
}

.card-role-48 {
    background: #d1e7dd;
    border-color: #75b798;
    color: #0a3622;
}

.card-role-192 {
    background: #cfe2ff;
    border-color: #6ea8fe;
    color: #052c65;
}

.card-role-768 {
    background: #f8d7da;
    border-color: #ea868f;
    color: #58151c;
}

[data-argus-theme="dark"] .card-role-48 {
    background: #123b2b;
    border-color: #2d7656;
    color: #b7e4cf;
}

[data-argus-theme="dark"] .card-role-192 {
    background: #122f57;
    border-color: #3268a8;
    color: #c6dcff;
}

[data-argus-theme="dark"] .card-role-768 {
    background: #4b1f24;
    border-color: #91414a;
    color: #f3c2c7;
}

.card-management-add-panel {
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 6px;
    padding: 12px;
}

.card-management-summary {
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 5px;
    height: 100%;
    padding: 8px 10px;
}

.card-management-summary-global {
    border-left: 3px solid #198754;
}

.card-management-summary-partial {
    border-left: 3px solid #fd7e14;
}

.card-management-summary-list {
    line-height: 24px;
    overflow: hidden;
}

.card-management-summary-list.is-collapsed {
    max-height: 48px;
}

.card-management-summary-toggle {
    flex: 0 0 auto;
    font-size: 10px;
    padding: 1px 6px;
}

.vpn-server-chart {
    border: 1px solid var(--app-border);
    border-radius: 6px;
    height: 340px;
    min-height: 320px;
    overflow-x: auto;
    padding: 10px;
}

.vpn-server-chart canvas {
    min-height: 300px;
}

.vpn-server-chart-empty {
    align-items: center;
    color: var(--app-text-muted);
    display: flex;
    min-height: 280px;
    justify-content: center;
}

.vpn-server-chart svg {
    display: block;
    min-width: 760px;
    width: 100%;
}

.vpn-server-chart-axis,
.vpn-server-chart-grid {
    stroke: var(--app-border);
}

.vpn-server-chart-line {
    fill: none;
    stroke: #0d6efd;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.vpn-server-chart-point {
    fill: #0d6efd;
    stroke: var(--app-surface);
    stroke-width: 1.5;
}

.vpn-server-chart-label {
    fill: var(--app-text-muted);
    font-size: 10px;
}

.vpn-server-chart-value {
    fill: var(--app-text);
    font-size: 10px;
    font-weight: 600;
}

.vpn-client-trend {
    align-items: center;
    display: inline-flex;
    font-size: 10px;
    justify-content: center;
    line-height: 1;
    min-width: 12px;
}

.vpn-client-trend-up {
    color: #198754;
}

.vpn-client-trend-down {
    color: #dc3545;
}

.vpn-client-trend-steady,
.vpn-client-trend-unknown {
    color: var(--app-text-muted);
}


#argusToastContainer {
    z-index: 2200;
}

.shared-view-password-box {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 1.25rem;
    width: min(100%, 420px);
}

.shared-view-unavailable-box {
    text-align: center;
}

.shared-view-unavailable-icon {
    align-items: center;
    background: #111827;
    border-radius: 50%;
    color: #c19140;
    display: inline-flex;
    font-size: 1.55rem;
    height: 58px;
    justify-content: center;
    margin-bottom: 0.85rem;
    width: 58px;
}

.shared-view-unavailable-text {
    color: #111827;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}
