table pre {
    margin-bottom: 0;
}

.bg-gradient-adobe {
    background-color: var(--adobe-dark);
    background-image: linear-gradient(180deg, var(--adobe-sidebar-deep) 0%, var(--adobe-primary) 72%, var(--adobe-accent) 100%);
    background-size: cover;
}

.bg-gradient-adobe .sidebar-brand,
.bg-gradient-adobe .nav-item .nav-link {
    color: #fff;
}

.bg-gradient-adobe .nav-item .nav-link:hover,
.bg-gradient-adobe .nav-item .nav-link:focus {
    background-color: var(--adobe-nav-hover);
    color: #fff;
}

.bg-gradient-adobe .nav-item .nav-link:focus-visible {
    box-shadow: inset 0 0 0 2px var(--adobe-focus);
    outline: none;
}

.bg-gradient-adobe .sidebar-divider {
    border-top-color: var(--adobe-divider);
}

.alert-adobe {
    background-color: var(--adobe-pale);
    background-image: linear-gradient(90deg, var(--adobe-pale) 0%, var(--adobe-accent) 100%);
    border-color: var(--adobe-accent);
    color: #000;
}

.adobe-home-title {
    border-left: 4px solid var(--adobe-accent);
    color: #191b1c;
    padding-left: 0.75rem;
}

.adobe-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.adobe-home-action {
    align-items: center;
    background-color: var(--adobe-primary);
    border: 1px solid var(--adobe-dark);
    color: #fff;
    display: inline-flex;
    font-weight: 600;
    gap: 0.6rem;
    justify-content: flex-start;
    letter-spacing: 0;
    min-height: 44px;
    padding: 0.65rem 1rem;
}

.adobe-home-action i {
    color: #fff;
    flex: 0 0 1.25rem;
    text-align: center;
    width: 1.25rem;
}

.adobe-home-action:hover,
.adobe-home-action:focus {
    background-color: var(--adobe-dark);
    border-color: var(--adobe-sidebar-deep);
    color: #fff;
}

.adobe-home-action:focus-visible {
    box-shadow: 0 0 0 0.2rem var(--adobe-focus-ring);
    outline: 2px solid var(--adobe-focus-outline);
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .adobe-home-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .adobe-home-action {
        width: 100%;
    }
}

:root {
    --adobe-dark: #810000;
    --adobe-sidebar-deep: #460000;
    --adobe-primary: #c00000;
    --adobe-accent: #ff0000;
    --adobe-muted: #ffbeb3;
    --adobe-pale: #fff5f4;
    --adobe-nav-hover: rgba(70, 0, 0, 0.45);
    --adobe-divider: rgba(255, 190, 179, 0.45);
    --adobe-focus: #00ffff;
    --adobe-focus-ring: rgba(0, 211, 211, 0.5);
    --adobe-focus-outline: #003737;
    --glider-canvas: #f8f9fc;
    --glider-surface: #ffffff;
    --glider-readonly: #e9ecef;
    --glider-border: #e3e6f0;
    --glider-text: #5a5c69;
    --glider-text-strong: #5a5c69;
    --glider-muted: #666a78;
    --glider-icon-muted: #b7b9cc;
    --glider-primary: #4167cc;
    --glider-primary-dark: #2e4fa8;
    --glider-success: #087f5b;
    --glider-success-dark: #075c43;
    --glider-info: #087990;
    --glider-info-dark: #064f60;
    --glider-danger: #c92a2a;
    --glider-danger-dark: #8f1e1e;
    --glider-warning: #7a4b00;
    --glider-warning-dark: #654000;
    --glider-focus: #0b6bcb;
    --glider-sidebar: #4668c8;
    --glider-sidebar-deep: #224abe;
    --glider-warning-surface: #fff2cc;
    --glider-warning-fill: #f2c14e;
    --glider-warning-border: #d4a62e;
    --glider-on-warning: #2f2200;
    --glider-outline-text: #454c59;
    --glider-control-border: #858d9c;
    --glider-input-text: #4c5260;
    --glider-info-surface: #d7f2f7;
    --glider-success-surface: #dcf6eb;
    --glider-danger-surface: #fce2e2;
    --glider-table-stripe: #f2f2f2;
    --glider-log-surface: #1e2430;
    --glider-log-text: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--glider-text);
    background: var(--glider-canvas);
}

#content-wrapper {
    background: var(--glider-canvas);
}

#main-content {
    min-height: calc(100vh - 4.375rem);
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1100;
    padding: 0.65rem 1rem;
    color: var(--glider-surface);
    background: var(--glider-text-strong);
    border-radius: 0.35rem;
    transform: translateY(-150%);
    transition: transform 120ms ease-out;
}

.skip-link:focus {
    color: var(--glider-surface);
    transform: translateY(0);
}

.skip-link,
.skip-link:hover {
    color: var(--glider-surface) !important;
}

a:where(:not(.btn):not(.scroll-to-top):not(.status-card-link)),
.btn-link,
.text-primary {
    color: var(--glider-primary) !important;
}

a:hover:where(:not(.btn):not(.scroll-to-top):not(.status-card-link)),
.btn-link:hover {
    color: var(--glider-primary-dark) !important;
}

.text-success {
    color: var(--glider-success) !important;
}

.text-info {
    color: var(--glider-info) !important;
}

.text-danger {
    color: var(--glider-danger) !important;
}

.text-warning,
label[for="force"] {
    color: var(--glider-warning) !important;
}

.text-muted,
.form-text.text-muted {
    color: var(--glider-muted) !important;
}

.text-gray-300 {
    color: var(--glider-icon-muted) !important;
}

.text-gray-800 {
    color: var(--glider-text-strong) !important;
}

.bg-primary,
.btn-primary,
.badge-primary {
    color: var(--glider-surface) !important;
    background-color: var(--glider-primary) !important;
    border-color: var(--glider-primary) !important;
}

.btn-primary:hover {
    background-color: var(--glider-primary-dark) !important;
    border-color: var(--glider-primary-dark) !important;
}

.bg-success,
.btn-success,
.badge-success {
    color: var(--glider-surface) !important;
    background-color: var(--glider-success) !important;
    border-color: var(--glider-success) !important;
}

.bg-info,
.btn-info,
.badge-info {
    color: var(--glider-surface) !important;
    background-color: var(--glider-info) !important;
    border-color: var(--glider-info) !important;
}

.btn-secondary {
    color: var(--glider-surface);
    background-color: var(--glider-muted);
    border-color: var(--glider-muted);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: var(--glider-surface);
    background-color: #515563;
    border-color: #515563;
}

code {
    color: #c7256b;
}

.bg-danger,
.btn-danger,
.badge-danger {
    color: var(--glider-surface) !important;
    background-color: var(--glider-danger) !important;
    border-color: var(--glider-danger) !important;
}

.bg-warning,
.btn-warning,
.badge-warning {
    color: var(--glider-on-warning) !important;
    background-color: var(--glider-warning-fill) !important;
    border-color: var(--glider-warning-border) !important;
}

.btn-outline-secondary {
    color: var(--glider-outline-text);
    border-color: var(--glider-control-border);
}

.btn-outline-success {
    color: var(--glider-success-dark);
    border-color: var(--glider-success);
}

#sidebarToggle,
#sidebarToggleTop {
    min-width: 44px;
    min-height: 44px;
}

.input-group-text {
    color: var(--glider-input-text);
}

.table,
.dataTable,
label,
.form-control,
.custom-select {
    color: var(--glider-text);
}

.table-info,
.alert-info {
    color: var(--glider-info-dark);
    background-color: var(--glider-info-surface);
}

.table-success,
.alert-success {
    color: var(--glider-success-dark);
    background-color: var(--glider-success-surface);
}

.table-danger,
.alert-danger {
    color: var(--glider-danger-dark);
    background-color: var(--glider-danger-surface);
}

.alert-warning {
    color: var(--glider-warning-dark);
    background-color: var(--glider-warning-surface);
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--glider-focus);
    box-shadow: 0 0 0 0.2rem rgba(11, 107, 203, 0.25);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--glider-focus) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 2px var(--glider-surface), 0 0 0 5px var(--glider-focus) !important;
}

.bg-gradient-primary,
.sidebar {
    background: linear-gradient(180deg, var(--glider-sidebar) 10%, var(--glider-sidebar-deep) 100%) !important;
    background-size: cover !important;
}

.sidebar .sidebar-brand,
.sidebar .nav-link,
.sidebar .nav-link i,
.sidebar .sidebar-heading {
    color: var(--glider-surface) !important;
}

.sidebar .sidebar-heading {
    font-size: 0.75rem;
}

.sidebar.bg-gradient-adobe {
    background: linear-gradient(180deg, var(--adobe-sidebar-deep) 0%, var(--adobe-primary) 72%, var(--adobe-accent) 100%) !important;
}

.bg-gradient-adobe .sidebar-heading,
.bg-gradient-adobe .nav-item .nav-link i {
    color: var(--adobe-muted) !important;
}

.bg-gradient-adobe .nav-item .nav-link:hover i,
.bg-gradient-adobe .nav-item .nav-link:focus i {
    color: #fff !important;
}

.bg-gradient-adobe .nav-item .nav-link:focus-visible,
.adobe-home-action:focus-visible {
    outline-color: var(--adobe-focus) !important;
}

.sidebar .nav-link[aria-current="page"] {
    font-weight: 700;
}

.sidebar-brand-row .sidebar-brand {
    flex: 1;
}

.card,
.modal-content {
    border-color: var(--glider-border);
}

.status-card-link {
    display: block;
    height: 100%;
    color: inherit !important;
    text-decoration: none;
}

.status-card-link:hover {
    color: inherit !important;
    text-decoration: none;
}

.dashboard-toolbar {
    width: min(100%, 18.75rem);
}

.dashboard-toolbar .input-group-text,
.dashboard-toolbar .custom-select,
.dashboard-toolbar .btn {
    min-height: 2.75rem;
}

.quick-links-grid {
    margin-bottom: -1rem;
}

.quick-links-grid .btn {
    white-space: normal;
}

#immediateDelay,
#scheduleImmediateDelay {
    color: var(--glider-success-dark) !important;
    font-weight: 500;
}

label[for="force"] {
    cursor: pointer;
}

.form-control[readonly] {
    background-color: var(--glider-readonly);
}

.invalid-feedback {
    color: var(--glider-danger);
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
}

.form-check-label {
    display: flex;
    align-items: center;
}

table.table-fields td {
    padding: 3px 15px;
}

.dropdown.bootstrap-select {
    width: 100% !important;
    display: block;
}

.tempus-dominus-widget {
    --td-alternate-color: var(--glider-muted);
    --td-dow-color: var(--glider-muted);
    box-shadow: none;
    border: 1px solid var(--glider-border);
    padding: 25px 10px;
    border-radius: 0.35rem;
    width: 100%;
    z-index: 98;
}

.dropdown-menu.show {
    z-index: 99;
}

.btn-large i {
    display: inline-block;
    margin-right: 5px;
    font-size: 85%;
}

.host-filter-button {
    align-items: center;
    background-color: #fff;
    border-color: #9ea9bd;
    color: #4e73df;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    margin-left: 8px;
    padding: 0;
    position: relative;
    vertical-align: middle;
    width: 34px;
}

.host-filter-button:hover,
.host-filter-button:focus {
    background-color: #4e73df;
    border-color: #4e73df;
    color: #fff;
}

.host-filter-button.active {
    background-color: #4e73df;
    border-color: #4e73df;
    color: #fff;
}

.host-filter-button.active::after {
    background-color: #1cc88a;
    border: 1px solid #fff;
    border-radius: 50%;
    content: "";
    height: 7px;
    position: absolute;
    right: 4px;
    top: 4px;
    width: 7px;
}

table.static {
    width: 100%;
    margin-bottom: 2rem;
}

table.static tr {
    border-bottom: 1px solid var(--glider-border)
}

table.static tbody tr:last-of-type {
    border: none;
}

table.static th {
    font-size: 115%;
}

table.static td, table.static th {
    padding: 10px 5px;
    text-align: center;
}

table.static tr:nth-child(even) {
    background-color: var(--glider-table-stripe);
}

.job-log {
    max-height: 400px;
    margin: 0;
    padding: 1rem;
    overflow-y: auto;
    color: var(--glider-log-text);
    background-color: var(--glider-log-surface);
    border-radius: 0.25rem;
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-all;
}

.job-log--compact {
    max-height: 300px;
}

.job-log-meta {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glider-border);
}

.table-scroll-hint {
    margin: 0 0 0.5rem;
    color: var(--glider-muted);
    font-size: 0.875rem;
}

#login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#login-image {
    max-width: 100%;
}

.badge {
    font-size: 90%;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
}
.toggle-switch input {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 10px;
    left: 0;
    right: 0;
    bottom: 10px;
    background-color: var(--glider-control-border);
    transition: .3s;
    border-radius: 24px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
.toggle-switch input:checked + .toggle-slider {
    background-color: var(--glider-warning);
}
.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-switch input:focus-visible + .toggle-slider {
    outline: 3px solid var(--glider-focus);
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    #wrapper {
        min-width: 0;
    }

    #content-wrapper {
        width: 100%;
        min-width: 0;
    }

    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 1020;
        width: min(17rem, 86vw) !important;
        min-height: 100vh;
        overflow-y: auto;
        box-shadow: 0.5rem 0 1.5rem rgba(38, 58, 103, 0.12);
        transform: translateX(0);
        transition: transform 180ms ease-out;
    }

    html.mobile-sidebar-preflight .sidebar {
        transform: translateX(-105%);
        transition: none;
    }

    .sidebar-brand-row {
        min-height: 4.375rem;
    }

    .sidebar-brand-row .sidebar-brand {
        flex: 1;
        min-width: 0;
    }

    .sidebar-close {
        flex: 0 0 44px;
        margin-right: 0.5rem;
        padding: 0;
        color: var(--glider-surface) !important;
    }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1015;
        background: rgba(22, 31, 48, 0.34);
    }

    .sidebar.toggled {
        width: min(17rem, 86vw) !important;
        transform: translateX(-105%);
        overflow: auto;
    }

    .sidebar .sidebar-brand {
        height: 4.375rem;
        text-align: left;
        justify-content: flex-start !important;
    }

    .sidebar .sidebar-brand .sidebar-brand-text {
        display: block;
    }

    .sidebar .nav-item .nav-link {
        width: 100%;
        min-height: 2.75rem;
        padding: 0.75rem 1rem;
        text-align: left;
    }

    .sidebar .nav-item .nav-link i {
        width: 1.5rem;
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }

    .sidebar .nav-item .nav-link span,
    .sidebar .sidebar-heading {
        display: inline;
        font-size: 0.875rem;
    }

    .sidebar .sidebar-heading {
        display: block;
        padding: 0 1rem;
    }

    .dashboard-toolbar {
        width: 100%;
        margin-top: 0.75rem;
    }

    .dashboard-toolbar .input-group-prepend,
    .dashboard-toolbar .input-group-append {
        display: flex;
    }

    .modal-dialog {
        margin: 0.75rem;
    }
}

@media (pointer: coarse), (max-width: 767.98px) {
    .btn,
    .nav-link,
    .custom-select,
    .form-control,
    .input-group-text,
    .close,
    .dropdown-item {
        min-height: 44px;
    }

    .btn-sm,
    .form-control-sm {
        min-height: 44px;
    }

    .btn-group .btn {
        min-width: 44px;
    }

    .form-check,
    .form-check-label,
    .dt-container .dt-input,
    div.dt-container .dt-paging .dt-paging-button {
        min-height: 44px;
    }

    div.dt-container .dt-paging .dt-paging-button,
    .dt-column-order {
        min-width: 44px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .sidebar,
    .collapse,
    .collapsing {
        transition: none !important;
        animation: none !important;
    }

    .toggle-slider,
    .toggle-slider::before,
    .skip-link {
        transition-duration: 80ms !important;
    }

    .animated--grow-in,
    .fa-spin,
    .spinner-border {
        animation: none !important;
    }
}
