/*!
 * Modified by Encrypted Software
 * Copyright 2023+
 * Licensed under written license, paid but MIT
 * - Dynamic color palette loading via CSS custom properties
 * - Primary and secondary color variants generated from base HEX values
 * - Font family overrides via CSS variables
 */
/*!
 * Bootstrap v5.1.3 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
.select2-selection {
    color: #69707a !important;
    margin: 0 !important;
    border: 1px solid #c5ccd6 !important;
    border-radius: 0.35rem !important;
    height: 3em !important;
}

.select2-selection__rendered {
    line-height: 1 !important;
}

.select2-selection__arrow {
    height: 3em !important;
}

.select2-dropdown {
    border: 1px solid #c5ccd6 !important;
    border-radius: 0.35rem !important;
}

.select2-search__field {
    border: 1px solid #c5ccd6 !important;
    border-radius: 0.35rem !important;
    height: 2em !important;
}

.select2-results__option--selected {
    border-radius: 0.35rem !important;
    color: var(--bs-primary) !important;
    background: #f2f6fc !important;
}

.select2-results__option--highlighted {
    background: var(--bs-primary) !important;
    color: #fff !important;
    border-radius: 0.35rem !important;
}
table.dataTable#datatable {
    margin-top: 1em;
    max-width: 100% !important;
}
.child,
.child:hover {
    background: #daf2f8 !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before {
    background-color: #00ac69 !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before {
    background-color: #f4a100 !important;
}

table.dataTable tbody tr.even {
    background: #f2f6fc;
}

table.dataTable tbody tr.even td {
    border-top: 1px solid #c5ccd6;
    border-bottom: 1px solid #c5ccd6;
}

table.dataTable thead {
    background: var(--bs-primary);
    color: white;
    border-radius: 0.5em;
}

table.dataTable tr:first-child th:first-child { border-top-left-radius: 0.5em; }
table.dataTable tr:first-child th:last-child { border-top-right-radius: 0.5em; }

table.dataTable tr:first-child th { border-top-style: solid; }
table.dataTable tr th:first-child { border-left-style: solid; }

table.dataTable tr:last-child td { border-bottom: 3px solid var(--bs-primary) !important; }

.dataTables_info#datatable_info,
.dataTables_filter,
.dataTables_length
{
    color: #c5ccd6 !important;
}

.dataTables_filter {
    margin-bottom: 1em;
}

.dataTables_filter input {
    display: inline-block;
    width: 12em;
    line-height: 1.2em;
}

.dataTables_paginate#datatable_paginate {
    color: var(--bs-primary);
}

.paginate_button.current:hover {
    background: #f2f6fc !important;
    border: 1px solid var(--bs-primary) !important;
    color: #fff !important;
}

.paginate_button.current {
    background: #f2f6fc !important;
    border: 1px solid #f2f6fc !important;
    border-radius: 0.5em !important;
}

.paginate_button.disabled:hover {
    background: transparent !important;
    border: 1px solid transparent !important;
}

.paginate_button:hover {
    background: var(--bs-primary) !important;
    border: 1px solid var(--bs-primary) !important;
    color: #fff !important;
    border-radius: 0.5em !important;
}

.toast-container {
    z-index: 9999;
    position: fixed;
    bottom: 1em;
    left: 1em;
}
