[data-bs-theme="dark"] body {
    background: #1a1d23;
}

[data-bs-theme="dark"] .sidebar {
    background: #2b3035 !important;
    box-shadow: inset -1px 0 0 rgba(255,255,255,.05);
}

[data-bs-theme="dark"] .sidebar .nav-link {
    color: #dee2e6 !important;
    font-weight: 400;
}

[data-bs-theme="dark"] .sidebar .nav-link:hover {
    background: #373b3e !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .sidebar .nav-link .bi {
    color: #adb5bd;
}

[data-bs-theme="dark"] .sidebar .nav-link:hover .bi {
    color: #fff;
}

[data-bs-theme="dark"] .sidebar .position-sticky {
    background: #2b3035;
}

[data-bs-theme="dark"] .card {
    background: #212529;
    border-color: #373b3e;
}

[data-bs-theme="dark"] .table {
    color: #dee2e6;
}

[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) {
    color: #dee2e6;
    background: rgba(255,255,255,.02);
}

[data-bs-theme="dark"] .table-striped > tbody > tr:nth-of-type(even) {
    background: transparent;
}

[data-bs-theme="dark"] .table td,
[data-bs-theme="dark"] .table th {
    border-color: #373b3e;
}

[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] nav.bg-light,
[data-bs-theme="dark"] .sidebar.bg-light {
    background-color: #2b3035 !important;
}

[data-bs-theme="dark"] .navbar-dark {
    background: #121416 !important;
}

[data-bs-theme="dark"] .dropdown-menu {
    background: #212529;
    border-color: #373b3e;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #adb5bd;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background: #2b3035;
    color: #fff;
}

[data-bs-theme="dark"] .border-bottom {
    border-color: #373b3e !important;
}

[data-bs-theme="dark"] .modal-content {
    background: #212529;
    border-color: #373b3e;
}

[data-bs-theme="dark"] .btn-close {
    filter: invert(1);
}

[data-bs-theme="dark"] .text-muted {
    color: #868e96 !important;
}

[data-bs-theme="dark"] .alert {
    background: #212529;
    border-color: #373b3e;
    color: #dee2e6;
}

[data-bs-theme="dark"] .condition-row {
    background: #1a1d23;
    border-color: #373b3e;
}

[data-bs-theme="dark"] .note-editor.note-frame {
    border-color: #373b3e !important;
}

[data-bs-theme="dark"] .note-toolbar {
    background: #212529 !important;
}

[data-bs-theme="dark"] .note-btn {
    color: #dee2e6 !important;
    background: #2b3035 !important;
    border-color: #373b3e !important;
}

[data-bs-theme="dark"] .note-editing-area {
    background: #1a1d23 !important;
}

[data-bs-theme="dark"] .note-editable {
    color: #dee2e6 !important;
}

[data-bs-theme="dark"] .note-statusbar {
    background: #212529 !important;
    border-color: #373b3e !important;
}
