:root {
    --theme-dark-primary: #2d2e30;
    --theme-dark-secondary: #595959;

    --theme-light-primary: #cfcfcf;
    --theme-light-secondary: #e0e0e0;
}
.text__dark_primary {
    color: var(--theme-dark-primary);
}
.text__dark_secondary {
    color: var(--theme-dark-secondary);
}

.bg__dark_primary {
    background-color: var(--theme-dark-primary);
}
.bg__dark_secondary {
    background-color: var(--theme-dark-secondary);
}

.text__light_primary {
    color: var(--theme-light-primary);
}
.text__light_secondary {
    color: var(--theme-light-secondary);
}

.bg__light_primary {
    background-color: var(--theme-light-primary);
}
.bg__light_secondary {
    background-color: var(--theme-light-secondary);
}

/* Bootstrap class overwrite */
.text-primary {
    color: var(--theme-dark-primary) !important;
}
a.text-primary:focus,
a.text-primary:hover {
    color: var(--theme-dark-secondary) !important;
}

/* custom select */
.custom-select {
    border-left: 4px solid #1d3557;
}

.check-input {
    width: 20px !important;
    padding: 0px !important;
    height: 20px !important;
    border: 2px solid #58c85f !important;
    margin-left: 0px !important;
}

.white-space-nowrap {
    white-space: nowrap;
}
.action-dropdown .dropdown-menu {
    min-width: max-content !important;
}
.custom-table-design {
    cursor: grab;
}
.custom-table-design .table td,
.custom-table-design .table th {
    padding: 8px 4px;
    border-top-color: #e4e5e7;
    line-height: 17px;
    font-size: 14px;
}

/* ── Select2 global fixes ── */

/* Dropdown must float above modals */
.select2-container--open .select2-dropdown {
    z-index: 99999 !important;
}

/* Match Bootstrap input height */
.select2-container--default .select2-selection--single {
    height: 38px !important;
    border-color: #ced4da !important;
    border-radius: 6px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 10px !important;
    color: #495057 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #adb5bd !important;
}

/* Multi-select fix */
.select2-container--default .select2-selection--multiple {
    border-color: #ced4da !important;
    border-radius: 6px !important;
    min-height: 38px !important;
}

/* Search box inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: #ced4da !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
}

/* Highlighted option */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0d6efd !important;
}
.sidebar-nav ul li.mm-active a.has-arrow {
    background-color: #1d3557;
}

/* Gap between parent menu and first child item */
.sidebar-nav ul li .mm-show {
    padding-top: 6px;
}

.sidebar-nav ul li.mm-active ul li.mm-active a {
    color: #fff;
    font-weight: 600;
    background-color: #1d3557;
}

.prints {
    background-color: #1d3557;
    color: #fff;
    border-color: #1d3557;
}
.prints:hover {
    background-color: #273f61;
    border-color: #273f61;
}
.sidebar-nav ul li.mm-active a {
    color: #ffffff;
    font-weight: 600;
    background-color: #1d3557;
    border-radius: 6px;
    overflow: hidden;
}

/* DataTable export buttons (CSV, Excel, etc.) */
.btn-default {
    color: #fff !important;
    background-color: #1d3557 !important;
    border-color: #1d3557 !important;
}
.btn-primary {
    font-size: 14px;
    color: #fff !important;
    background-color: #1d3557 !important;
    border-color: #1d3557 !important;
    border-radius: 0.1rem;
}

