﻿:root {
    --core-theme-color-white: #ffffff;
    --core-theme-color-black: #000000;
    --core-theme-neutral-0: #ffffff;
    --core-theme-neutral-950: #000000;
    --core-theme-color-slate-50: #f8fafc;
    --core-theme-color-slate-100: #f1f5f9;
    --core-theme-color-slate-200: #e2e8f0;
    --core-theme-color-slate-300: #cbd5e1;
    --core-theme-color-slate-500: #64748b;
    --core-theme-color-slate-600: #475569;
    --core-theme-color-slate-700: #334155;
    --core-theme-color-slate-800: #1e293b;
    --core-theme-color-slate-900: #0f172a;

    --core-theme-color-blue-50: #eff6ff;
    --core-theme-color-blue-100: #dbeafe;
    --core-theme-color-blue-500: #3b82f6;
    --core-theme-color-blue-600: #2563eb;
    --core-theme-color-blue-700: #1d4ed8;

    --core-theme-color-rose-50: #fff1f6;
    --core-theme-color-rose-100: #ffdbe9;
    --core-theme-color-rose-500: #d1125b;
    --core-theme-color-rose-600: #b00045;
    --core-theme-color-rose-700: #8f0038;

    --core-theme-color-teal-50: #f0fdfa;
    --core-theme-color-teal-500: #14b8a6;
    --core-theme-color-teal-600: #0d9488;
    --core-theme-color-teal-700: #0f766e;

    --core-theme-color-amber-50: #fffbeb;
    --core-theme-color-amber-500: #f59e0b;
    --core-theme-color-amber-600: #d97706;

    --core-theme-color-red-50: #fef2f2;
    --core-theme-color-red-500: #ef4444;
    --core-theme-color-red-600: #dc2626;
    --core-theme-color-red-700: #b91c1c;

    --core-theme-bg: #f5f7fb;
    --core-theme-surface: var(--core-theme-neutral-0);
    --core-theme-surface-muted: var(--core-theme-color-slate-50);
    --core-theme-ink: #172033;
    --core-theme-muted: #5f6f86;
    --core-theme-border: #dbe3ee;

    --core-theme-brand: var(--core-theme-color-rose-600);
    --core-theme-brand-hover: var(--core-theme-color-rose-700);
    --core-theme-brand-soft: var(--core-theme-color-rose-50);
    --core-theme-accent: var(--core-theme-color-teal-600);
    --core-theme-accent-hover: var(--core-theme-color-teal-700);
    --core-theme-accent-soft: var(--core-theme-color-teal-50);
    --core-theme-warning: var(--core-theme-color-amber-500);
    --core-theme-warning-hover: var(--core-theme-color-amber-600);
    --core-theme-warning-soft: var(--core-theme-color-amber-50);
    --core-theme-danger: var(--core-theme-color-red-600);
    --core-theme-danger-hover: var(--core-theme-color-red-700);
    --core-theme-danger-soft: var(--core-theme-color-red-50);

    --core-theme-button-primary-bg: var(--core-theme-brand);
    --core-theme-button-primary-border: var(--core-theme-brand);
    --core-theme-button-primary-hover-bg: var(--core-theme-brand-hover);
    --core-theme-button-primary-hover-border: var(--core-theme-brand-hover);
    --core-theme-button-success-bg: var(--core-theme-accent);
    --core-theme-button-success-border: var(--core-theme-accent);
    --core-theme-button-success-hover-bg: var(--core-theme-accent-hover);
    --core-theme-button-success-hover-border: var(--core-theme-accent-hover);
    --core-theme-button-danger-bg: var(--core-theme-danger);
    --core-theme-button-danger-border: var(--core-theme-danger);
    --core-theme-button-danger-hover-bg: var(--core-theme-danger-hover);
    --core-theme-button-danger-hover-border: var(--core-theme-danger-hover);
    --core-theme-focus-ring: rgba(176, 0, 69, 0.14);

    --core-theme-radius: 6px;
    --core-theme-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

body {
    color: var(--core-theme-ink);
}

a {
    color: var(--core-theme-brand);
}

a:hover,
a:focus {
    color: var(--core-theme-brand-hover);
}

#discount-total .dropdown-toggle,
#discount-total .dropdown-toggle:hover,
#discount-total .dropdown-toggle:focus {
    color: inherit;
}

html .btn-primary {
    background: var(--core-theme-button-primary-bg);
    border-color: var(--core-theme-button-primary-border);
}

html .btn-primary:hover,
html .btn-primary:focus,
html .btn-primary:active {
    background: var(--core-theme-button-primary-hover-bg);
    border-color: var(--core-theme-button-primary-hover-border);
}

html .btn-success {
    background: var(--core-theme-button-success-bg);
    border-color: var(--core-theme-button-success-border);
}

html .btn-success:hover,
html .btn-success:focus,
html .btn-success:active {
    background: var(--core-theme-button-success-hover-bg);
    border-color: var(--core-theme-button-success-hover-border);
}

html .btn-danger {
    background: var(--core-theme-button-danger-bg);
    border-color: var(--core-theme-button-danger-border);
}

html .btn-danger:hover,
html .btn-danger:focus,
html .btn-danger:active {
    background: var(--core-theme-button-danger-hover-bg);
    border-color: var(--core-theme-button-danger-hover-border);
}

html .btn:focus,
html .btn.focus,
html .btn:active:focus,
html .btn:active.focus,
html .btn.active:focus,
html .btn.active.focus,
html a.btn:focus,
html button:focus,
html button:active,
html button:focus-visible,
html a:focus,
html a:active,
html a:focus-visible,
html [role="button"]:focus,
html [role="button"]:active,
html [role="button"]:focus-visible,
html .dropdown-toggle:focus,
html .dropdown-toggle:active,
html .toggle-menu-options:focus,
html .toggle-menu-options:active,
html .dd3-handle:focus,
html .dd3-handle:active {
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

html .btn-primary:focus,
html .btn-primary.focus,
html .btn-primary:active:focus,
html .btn-primary:active.focus,
html .btn-primary.active:focus,
html .btn-primary.active.focus {
    border-color: var(--core-theme-brand) !important;
}

.form-control {
    border-color: var(--core-theme-border);
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--core-theme-brand) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.select-placeholder::after {
    content: unset !important;
    display: none !important;
}

.select-placeholder label,
.select-placeholder label small {
    filter: none !important;
    opacity: 1 !important;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle:active,
.bootstrap-select.open > .dropdown-toggle,
.bootstrap-select.open > .dropdown-toggle:hover,
.bootstrap-select.open > .dropdown-toggle:focus,
.input-group-select .bootstrap-select .dropdown-toggle:focus,
.input-group-select .bootstrap-select.open .dropdown-toggle {
    border-color: var(--core-theme-brand) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.bootstrap-select.open .dropdown-menu {
    border-color: var(--core-theme-border) !important;
}

.bs-searchbox .form-control:focus {
    border-color: var(--core-theme-brand) !important;
    box-shadow: none !important;
}

html:not(.core-theme-dark-mode) .datepicker table tr td.today:not(.active):not(.selected):not(.disabled),
html:not(.core-theme-dark-mode) .datepicker table tr td span.focused:not(.active) {
    color: var(--core-theme-brand) !important;
}

html:not(.core-theme-dark-mode) .datepicker table tr td.active,
html:not(.core-theme-dark-mode) .datepicker table tr td.active.active,
html:not(.core-theme-dark-mode) .datepicker table tr td.active.highlighted,
html:not(.core-theme-dark-mode) .datepicker table tr td.selected,
html:not(.core-theme-dark-mode) .datepicker table tr td span.active,
html:not(.core-theme-dark-mode) .datepicker table tr td span.active.active,
html:not(.core-theme-dark-mode) .datepicker table tr td span.active.disabled,
html:not(.core-theme-dark-mode) .ui-datepicker .ui-state-active,
html:not(.core-theme-dark-mode) .ui-datepicker .ui-widget-content .ui-state-active,
html:not(.core-theme-dark-mode) .ui-datepicker .ui-widget-header .ui-state-active,
html:not(.core-theme-dark-mode) .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current,
html:not(.core-theme-dark-mode) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
html:not(.core-theme-dark-mode) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
html:not(.core-theme-dark-mode) .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current {
    background: var(--core-theme-brand) !important;
    background-color: var(--core-theme-brand) !important;
    background-image: none !important;
    border-color: var(--core-theme-brand) !important;
    box-shadow: none !important;
    color: var(--core-theme-neutral-0) !important;
    text-shadow: none !important;
}

html:not(.core-theme-dark-mode) .datepicker table tr td.active *,
html:not(.core-theme-dark-mode) .datepicker table tr td.selected *,
html:not(.core-theme-dark-mode) .datepicker table tr td span.active *,
html:not(.core-theme-dark-mode) .ui-datepicker .ui-state-active *,
html:not(.core-theme-dark-mode) .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current * {
    color: var(--core-theme-neutral-0) !important;
}

html:not(.core-theme-dark-mode) .datepicker table tr td.day:not(.disabled):hover,
html:not(.core-theme-dark-mode) .datepicker table tr td.day.focused:not(.disabled),
html:not(.core-theme-dark-mode) .datepicker table tr td span:not(.disabled):hover,
html:not(.core-theme-dark-mode) .datepicker .datepicker-switch:hover,
html:not(.core-theme-dark-mode) .datepicker .prev:hover,
html:not(.core-theme-dark-mode) .datepicker .next:hover,
html:not(.core-theme-dark-mode) .datepicker tfoot tr th:hover,
html:not(.core-theme-dark-mode) .ui-datepicker .ui-state-hover,
html:not(.core-theme-dark-mode) .ui-datepicker .ui-widget-content .ui-state-hover,
html:not(.core-theme-dark-mode) .ui-datepicker .ui-widget-header .ui-state-hover,
html:not(.core-theme-dark-mode) .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover,
html:not(.core-theme-dark-mode) .xdsoft_datetimepicker .xdsoft_calendar td:hover,
html:not(.core-theme-dark-mode) .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover {
    background: var(--core-theme-brand-hover-translucent) !important;
    background-color: var(--core-theme-brand-hover-translucent) !important;
    background-image: none !important;
    border-color: var(--core-theme-brand) !important;
    box-shadow: none !important;
    color: var(--core-theme-neutral-0) !important;
    text-shadow: none !important;
}

html .label-info,
html .badge-info {
    background: var(--core-theme-brand) !important;
    color: var(--core-theme-neutral-0) !important;
}

html .label-warning,
html .badge-warning {
    background: var(--core-theme-warning) !important;
    color: var(--core-theme-neutral-0) !important;
}

html .label-danger,
html .badge-danger {
    background: var(--core-theme-danger) !important;
    color: var(--core-theme-neutral-0) !important;
}

html .tags-labels .label-tag,
html .label-tag {
    background: var(--core-theme-color-slate-100) !important;
    border: 1px solid var(--core-theme-color-slate-200) !important;
    color: var(--core-theme-color-slate-600) !important;
}

html .tags-labels .label-tag .tag,
html .label-tag .tag {
    color: var(--core-theme-color-slate-600) !important;
    font-weight: 500;
}

.fc {
    --fc-now-indicator-color: var(--core-theme-brand);
    --fc-highlight-color: var(--core-theme-brand-soft);
}

.fc .fc-day.fc-day-today .fc-daygrid-day-number {
    background-color: var(--core-theme-brand) !important;
    color: var(--core-theme-neutral-0) !important;
}

.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: var(--core-theme-brand) !important;
    border-color: var(--core-theme-brand) !important;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    background-color: var(--core-theme-brand) !important;
    border-color: var(--core-theme-brand) !important;
}

.onoffswitch-label {
    position: relative;
    height: 20px;
    box-sizing: border-box;
    border-radius: 999px;
}

.onoffswitch-label::before {
    --tw-content: "";
    content: "";
    position: absolute;
    top: 50%;
    right: 32px;
    bottom: auto;
    left: auto;
    display: block;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    background-color: var(--core-theme-neutral-0) !important;
    border: 0 !important;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
    transform: translateY(-50%);
    transition: right 0.15s ease;
}

.onoffswitch-checkbox:checked + .onoffswitch-label::before {
    right: 3px;
}

.onoffswitch-checkbox:focus + .onoffswitch-label {
    box-shadow: 0 0 0 3px var(--core-theme-focus-ring);
}

.checkbox.checkbox-primary input[type="checkbox"]:checked + label::before,
.checkbox.checkbox-info input[type="checkbox"]:checked + label::before,
.checkbox.checkbox-danger input[type="checkbox"]:checked + label::before,
.checkbox-primary input[type="checkbox"]:checked + label::before,
.checkbox-info input[type="checkbox"]:checked + label::before {
    background-color: var(--core-theme-brand) !important;
    border-color: var(--core-theme-brand) !important;
}

.checkbox.checkbox-primary input[type="checkbox"]:checked + label::after,
.checkbox.checkbox-info input[type="checkbox"]:checked + label::after,
.checkbox.checkbox-danger input[type="checkbox"]:checked + label::after,
.checkbox-primary input[type="checkbox"]:checked + label::after,
.checkbox-info input[type="checkbox"]:checked + label::after {
    color: var(--core-theme-neutral-0) !important;
}

.checkbox input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 3px var(--core-theme-focus-ring);
}

html table.table > thead > tr > th,
html table.table > tbody > tr > th,
html table.table > tfoot > tr > th,
html table.table > thead > tr > td,
html table.table > tbody > tr > td,
html table.table > tfoot > tr > td,
html table.dataTable > thead > tr > th,
html table.dataTable > tbody > tr > th,
html table.dataTable > tfoot > tr > th,
html table.dataTable > thead > tr > td,
html table.dataTable > tbody > tr > td,
html table.dataTable > tfoot > tr > td {
    vertical-align: middle;
}

.dataTables_wrapper table > thead > tr > th:first-child:has(.checkbox),
.dataTables_wrapper table > tbody > tr > td:first-child:has(.checkbox),
table.dataTable > thead > tr > th:first-child:has(.checkbox),
table.dataTable > tbody > tr > td:first-child:has(.checkbox),
table.table > thead > tr > th:first-child:has(.checkbox.mass_select_all_wrap) {
    max-width: 40px;
    min-width: 40px;
    text-align: center;
    vertical-align: middle;
    width: 40px;
}

.dataTables_wrapper table > thead > tr > th:first-child .checkbox:has(> input[type="checkbox"]:not(:disabled) + label[for]:not([for=""]):empty),
.dataTables_wrapper table > tbody > tr > td:first-child .checkbox:has(> input[type="checkbox"]:not(:disabled) + label[for]:not([for=""]):empty),
table.dataTable > thead > tr > th:first-child .checkbox:has(> input[type="checkbox"]:not(:disabled) + label[for]:not([for=""]):empty),
table.dataTable > tbody > tr > td:first-child .checkbox:has(> input[type="checkbox"]:not(:disabled) + label[for]:not([for=""]):empty),
table.table > thead > tr > th:first-child .checkbox.mass_select_all_wrap:has(> input[type="checkbox"]:not(:disabled) + label[for]:not([for=""]):empty) {
    cursor: pointer;
}

.dataTables_wrapper table > thead > tr > th:first-child .checkbox,
.dataTables_wrapper table > tbody > tr > td:first-child .checkbox,
table.dataTable > thead > tr > th:first-child .checkbox,
table.dataTable > tbody > tr > td:first-child .checkbox,
table.table > thead > tr > th:first-child .checkbox.mass_select_all_wrap {
    align-items: center;
    display: inline-flex;
    height: 17px;
    justify-content: center;
    margin: 0 auto;
    min-height: 17px;
    position: relative;
    vertical-align: middle;
    width: 17px;
}

.dataTables_wrapper table > thead > tr > th:first-child .checkbox > input[type="checkbox"],
.dataTables_wrapper table > tbody > tr > td:first-child .checkbox > input[type="checkbox"],
table.dataTable > thead > tr > th:first-child .checkbox > input[type="checkbox"],
table.dataTable > tbody > tr > td:first-child .checkbox > input[type="checkbox"],
table.table > thead > tr > th:first-child .checkbox.mass_select_all_wrap > input[type="checkbox"] {
    cursor: default;
    float: none;
    height: 17px;
    inset: 0;
    left: 0;
    margin: 0;
    margin-left: 0;
    margin-top: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    vertical-align: middle;
    width: 17px;
    z-index: 2;
}

.dataTables_wrapper table > thead > tr > th:first-child .checkbox > input[type="checkbox"]:not(:disabled),
.dataTables_wrapper table > tbody > tr > td:first-child .checkbox > input[type="checkbox"]:not(:disabled),
table.dataTable > thead > tr > th:first-child .checkbox > input[type="checkbox"]:not(:disabled),
table.dataTable > tbody > tr > td:first-child .checkbox > input[type="checkbox"]:not(:disabled),
table.table > thead > tr > th:first-child .checkbox.mass_select_all_wrap > input[type="checkbox"]:not(:disabled) {
    cursor: pointer;
}

.dataTables_wrapper table > thead > tr > th:first-child .checkbox > input[type="checkbox"] + label:empty,
.dataTables_wrapper table > tbody > tr > td:first-child .checkbox > input[type="checkbox"] + label:empty,
table.dataTable > thead > tr > th:first-child .checkbox > input[type="checkbox"] + label:empty,
table.dataTable > tbody > tr > td:first-child .checkbox > input[type="checkbox"] + label:empty,
table.table > thead > tr > th:first-child .checkbox.mass_select_all_wrap > input[type="checkbox"] + label:empty {
    cursor: default;
    display: block;
    height: 17px;
    inset: 0;
    margin: 0;
    min-height: 17px;
    padding: 0;
    position: absolute;
    width: 17px;
    z-index: 1;
}

.dataTables_wrapper table > thead > tr > th:first-child .checkbox > input[type="checkbox"] + label[for]:not([for=""]):empty,
.dataTables_wrapper table > tbody > tr > td:first-child .checkbox > input[type="checkbox"] + label[for]:not([for=""]):empty,
table.dataTable > thead > tr > th:first-child .checkbox > input[type="checkbox"] + label[for]:not([for=""]):empty,
table.dataTable > tbody > tr > td:first-child .checkbox > input[type="checkbox"] + label[for]:not([for=""]):empty,
table.table > thead > tr > th:first-child .checkbox.mass_select_all_wrap > input[type="checkbox"] + label[for]:not([for=""]):empty {
    cursor: pointer;
}

.dataTables_wrapper table > thead > tr > th:first-child .checkbox > input[type="checkbox"] + label:empty::before,
.dataTables_wrapper table > tbody > tr > td:first-child .checkbox > input[type="checkbox"] + label:empty::before,
table.dataTable > thead > tr > th:first-child .checkbox > input[type="checkbox"] + label:empty::before,
table.dataTable > tbody > tr > td:first-child .checkbox > input[type="checkbox"] + label:empty::before,
table.table > thead > tr > th:first-child .checkbox.mass_select_all_wrap > input[type="checkbox"] + label:empty::before {
    height: 17px;
    left: 0;
    margin-left: 0;
    top: 0;
    width: 17px;
}

.dataTables_wrapper table > thead > tr > th:first-child .checkbox > input[type="checkbox"] + label:empty::after,
.dataTables_wrapper table > tbody > tr > td:first-child .checkbox > input[type="checkbox"] + label:empty::after,
table.dataTable > thead > tr > th:first-child .checkbox > input[type="checkbox"] + label:empty::after,
table.dataTable > tbody > tr > td:first-child .checkbox > input[type="checkbox"] + label:empty::after,
table.table > thead > tr > th:first-child .checkbox.mass_select_all_wrap > input[type="checkbox"] + label:empty::after {
    align-items: center;
    display: inline-flex;
    font-size: 11px;
    height: 17px;
    justify-content: center;
    left: 0;
    line-height: 17px;
    margin-left: 0;
    padding: 0;
    text-align: center;
    top: 0;
    width: 17px;
}

.radio.radio-primary input[type="radio"] + label::after,
.radio.radio-info input[type="radio"] + label::after,
.radio-primary input[type="radio"] + label::after,
.radio-info input[type="radio"] + label::after {
    background-color: var(--core-theme-brand) !important;
}

.radio.radio-primary input[type="radio"]:checked + label::before,
.radio.radio-info input[type="radio"]:checked + label::before,
.radio-primary input[type="radio"]:checked + label::before,
.radio-info input[type="radio"]:checked + label::before {
    border-color: var(--core-theme-brand) !important;
}

.radio input[type="radio"]:focus + label::before {
    box-shadow: 0 0 0 3px var(--core-theme-focus-ring);
}
