.dark {
    --lightgreen-bg: #2e4b4f;
    --lightred-bg: #50374a;
    --lightblue-bg: #27495f;
    --lightgrey-bg: #4a4d61;
    --lightorange-bg: #504448;
    --lightpurple-bg: #3a3b64;
}
body.dark {
    background: #25293c;
    color: #b6bee3;
}
.dark #sidebar,
.dark .card-box > a,
.dark .card-box .card-box_inner,
.dark .cards-search .cards-search-bar-wrap,
.dark table,
.dark .list-actions-dropdown,
.dark .box,
.dark .cards-search-dropdown-menu,
.dark .center-box,
.dark .timeline .timeline-item .timeline-item-inner,
.dark .sticky-sidebar {
    background: #2f3349;
    color: #b6bee3;
    box-shadow: 0 0.25rem 1.25rem rgb(15 20 34 / 40%);
}
.dark .card-box a:hover,
.dark .card-box .card-box_inner:hover,
.dark table tbody tr:hover,
.dark .menu-list li.active > a,
.dark .menu-list li.active span,
.dark .menu-list li a:hover,
.dark .menu-list li span:hover,
.dark .menu-list-dropdown.opened span,
.dark .cards-search-dropdown-menu li a:hover {
    background: #343952;
}
.dark input:not(.btn),
.dark .card-box .card-description,
.dark .cards-search .cards-search-bar-wrap input,
.dark table button,
.dark .list-actions-dropdown a,
.dark .menu-list li a,
.dark .menu-list li span,
.dark .input-wrap input:not(.btn),
.dark .input-wrap textarea,
.dark .input-wrap select,
.dark .input-wrap input[type=file]::file-selector-button,
.dark .cards-search-dropdown-menu a,
.dark .cards-search-dropdown-menu span,
.dark #sidebar .sidebar-top .logo-box a,
.dark a:not(.btn),
.dark .box-inv,
.dark .switch-slider .switch-off,
.dark .timeline .timeline-item-content textarea,
.dark .swal2-popup .swal2-input {
    color: #b6bee3;
}
.dark input::placeholder {
    color: #757575;
}
.dark .switch-slider:before {
    background-color: #b6bee3;
}
.dark .switch-slider {
    border-color: #b6bee3;
}
.dark table tbody tr,
.dark .preview-wrap .preview-title,
.dark .order-wrap .order-title,
.dark .order-content ul li,
.dark .timeline .timeline-item-header,
.dark .timeline .timeline-item-content,
.dark .timeline .timeline-item {
    border-color: #434968;
}
.dark .text-muted,
.dark .menu-list li.tool-limited:after {
    color: #7983bb !important;
}
.dark .input-wrap label,
.dark .swal2-popup .swal2-input-label,
.dark .btn-transparent {
    color: #cfd3ec;
}
.dark .input-wrap input:not(.btn),
.dark .input-wrap textarea,
.dark .input-wrap select,
.dark .input-wrap input[type=file]::file-selector-button,
.dark .swal2-popup .swal2-input {
    background: #2f3349;
    border-color: #434968;
}
.dark .input-wrap input:hover,
.dark .input-wrap textarea:hover,
.dark .input-wrap select:hover,
.dark .input-wrap input[type=file]:hover::file-selector-button,
.dark .swal2-popup .swal2-input:hover {
    border-color: #5e6692;
}
.dark .input-wrap input[type=file]:hover::file-selector-button {
    background: #2d3045;
}
.dark .input-wrap input:focus,
.dark .input-wrap textarea:focus,
.dark .input-wrap select:focus,
.dark .input-wrap input[type=file]:focus::file-selector-button,
.dark .swal2-popup .swal2-input:focus {
    border-color: #7367f0;
}
.dark .btn-primary {
    box-shadow: 0px 2px 4px rgb(115 103 240 / 30%);
}
.btn-primary:hover {
    color: #fff;
    background-color: #685dd8;
    border-color: #685dd8;
}
.dark .btn-secondary {
    box-shadow: 0px 2px 4px rgba(215 216 222 / 30%);
    color: #2f3349;
    background-color: #d7d8de;
    border-color: #d7d8de;
}
.dark .btn-secondary:hover {
    color: #2f3349;
    background-color: #e1e2e6;
    border-color: #dbdce1;
}
.dark .dropdown-divider,
.dark .input-divider {
    border-color: #434968;
}
.dark #progress {
    background: #363b54;
}
.dark .bg-label-primary {
    background-color: #3a3b64 !important;
    color: #7367f0 !important;
}
.dark .bg-label-secondary {
    background-color: #424659 !important;
    color: #a8aaae !important;
}
.dark .bg-label-success {
    background-color: #2e4b4f !important;
    color: #28c76f !important;
}
.dark .bg-label-danger {
    background-color: #4d384b !important;
    color: #ea5455 !important;
}
.dark .bg-label-warning {
    background-color: #504448 !important;
    color: #ff9f43 !important;
}
.dark .bg-label-info {
    background-color: #274c62 !important;
    color: #00cfe8 !important;
}
.dark .bg-label-dark {
    background-color: #4a4d61 !important;
    color: #d7d8de !important;
}
.dark .swal2-modal.swal2-popup {
    background: #2f3349;
    font-family: 'Lato', sans-serif;
    box-shadow: 0 0.31rem 1.25rem 0 rgb(0 0 0 / 40%);
    border-radius: 0.375rem;
}
.dark .swal2-modal.swal2-popup .swal2-validation-message {
    background: #2f3349;
    color: #b6bee3;
}
.dark .swal2-popup .swal2-title {
    color: #b6bee3;
}
.dark .swal2-popup .swal2-html-container {
    color: #b6bee3;
}
.dark .card-box .card-fav:hover i {
    color: #fff;
}
.dark tr.red {
    background-color: #50374a;
}
.dark tr.green {
    background-color: #2e4b4f;
}