:root {
    color-scheme: dark;
    --bg-primary: #0b1220;
    --bg-secondary: #111c2f;
    --bg-card: #142238;
    --bg-input: #0d1829;
    --bg-raised: #192b44;
    --border: rgba(148, 163, 184, .14);
    --text-primary: #f1f5f9;
    --text-secondary: #a8b5c7;
    --text-muted: #8291a5;
    --accent: #4387d8;
    --accent-hover: #3475c2;
    --success: #36a878;
    --warning: #d69b3d;
    --danger: #d76565;
    --info: #55a6ca;
    --sidebar-width: 248px;
    --header-height: 60px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, .18);
}

html {
    min-width: 320px;
    background: var(--bg-primary);
}

body {
    min-height: 100vh;
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
    font-size: 14px;
    line-height: 1.5;
    padding-bottom: 0 !important;
}

::selection {
    color: #fff;
    background: rgba(67, 135, 216, .45);
}

a {
    color: #8dbcf0;
}

a:hover {
    color: #b8d7f7;
}

.gps-app {
    min-height: 100vh;
    background: var(--bg-primary);
}

.gps-header {
    height: var(--header-height) !important;
    padding: 0 22px !important;
    background: #101b2c !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: none !important;
}

.gps-title {
    color: var(--text-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: .01em;
}

.gps-header-left,
.gps-header-right {
    gap: 12px !important;
}

.btn-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px !important;
    color: var(--text-secondary) !important;
    font-size: 20px !important;
}

.btn-toggle:hover,
.btn-logout:hover {
    color: var(--text-primary) !important;
    background: var(--bg-raised);
}

.user-role,
.logo-sub {
    color: var(--text-muted) !important;
}

.user-name {
    color: var(--text-primary) !important;
    font-weight: 500;
}

.user-icon {
    color: #91b9e7 !important;
}

.btn-logout {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-secondary) !important;
    text-decoration: none;
}

.gps-sidebar {
    width: var(--sidebar-width) !important;
    background: #0e1929 !important;
    border-right: 1px solid var(--border) !important;
    box-shadow: none !important;
}

.gps-sidebar-header {
    padding: 17px 18px !important;
    background: transparent !important;
    border-bottom: 1px solid var(--border) !important;
}

.logo-img {
    width: 34px !important;
    height: 34px !important;
}

.logo-title {
    color: var(--text-primary) !important;
}

.gps-menu {
    padding: 12px !important;
}

.gps-menu li {
    margin-bottom: 3px !important;
}

.gps-menu li a {
    min-height: 40px;
    padding: 9px 11px !important;
    border-radius: 8px !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 500;
    transition: background-color .15s ease, color .15s ease !important;
}

.gps-menu li a:hover,
.submenu li a:hover {
    color: var(--text-primary) !important;
    background: rgba(67, 135, 216, .12) !important;
    transform: none !important;
}

.gps-menu li a.active {
    color: #f7fbff !important;
    background: rgba(67, 135, 216, .2) !important;
    box-shadow: inset 3px 0 0 var(--accent) !important;
}

.gps-menu li a.active::before {
    display: none !important;
}

.gps-menu li a.active i,
.gps-menu i {
    color: #91b9e7 !important;
}

.submenu {
    padding: 4px 0 4px 8px !important;
    border-left: 1px solid var(--border);
    margin-left: 15px;
}

.submenu li a {
    min-height: 35px;
    padding: 7px 10px !important;
    font-size: 12px !important;
}

.submenu li a.active {
    color: #d9eaff !important;
    background: rgba(67, 135, 216, .14) !important;
}

.gps-main {
    min-width: 0;
    margin-left: var(--sidebar-width) !important;
}

.gps-header {
    left: var(--sidebar-width) !important;
}

body:not(.sidebar-open) .gps-sidebar {
    width: 0 !important;
}

body:not(.sidebar-open) .gps-main {
    margin-left: 0 !important;
}

body:not(.sidebar-open) .gps-header {
    left: 0 !important;
}

body.sidebar-open .gps-sidebar {
    width: var(--sidebar-width) !important;
    transform: translateX(0);
}

body.sidebar-open .gps-main {
    margin-left: var(--sidebar-width) !important;
}

body.sidebar-open .gps-header {
    left: var(--sidebar-width) !important;
}

.gps-content {
    width: 100%;
    max-width: 1600px;
    min-height: calc(100vh - var(--header-height));
    margin: 0 auto;
    padding: calc(var(--header-height) + 22px) 28px 32px !important;
}

.gps-page-title,
.gps-content > h1,
.gps-content > h2,
.gps-content > h3,
.gps-content > h4,
.gps-content > h5 {
    margin: 0 0 5px !important;
    color: var(--text-primary) !important;
    font-size: 22px !important;
    font-weight: 650 !important;
    line-height: 1.3;
    letter-spacing: -.02em !important;
    text-align: left !important;
}

.page-title {
    margin: 0 0 4px !important;
    color: var(--text-primary) !important;
    font-size: 24px !important;
    font-weight: 650 !important;
    letter-spacing: -.02em !important;
}

.gps-page-subtitle,
.page-subtitle {
    margin: 0 0 20px !important;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5;
    letter-spacing: 0 !important;
}

.gps-content > .text-center:has(+ form),
.gps-content > h5.text-center,
.gps-content > h4.text-center {
    text-align: left !important;
}

.gps-card,
.card,
.chart-card,
.inner-chart {
    color: var(--text-primary) !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.gps-filter-panel,
.gps-data-section {
    padding: 16px 18px;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.gps-filter-panel {
    background: #111e31;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.section-heading-title {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.section-heading-note {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.summary-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-metric {
    min-width: 0;
    padding: 16px 18px;
    background: #142238;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.summary-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.summary-value {
    margin-top: 5px;
    color: var(--text-primary);
    font-size: 27px;
    font-weight: 650;
    line-height: 1.2;
}

.summary-note {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 12px;
}

.table-empty {
    padding: 22px 14px;
    color: var(--text-secondary);
    text-align: center;
}

.page-subtitle {
    margin-bottom: 18px !important;
}

.gps-card,
.chart-card,
.card {
    padding: 18px !important;
}

.inner-chart {
    padding: 14px !important;
}

.card-body {
    padding: 0 !important;
}

.section-title,
.chart-card .section-title {
    margin: 0 0 14px !important;
    color: var(--text-primary) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    letter-spacing: 0 !important;
    text-align: left !important;
}

.mini-title {
    color: var(--text-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.kpi-text,
.small,
small,
.form-text {
    color: var(--text-secondary);
}

.text-muted,
.text-secondary {
    color: var(--text-secondary) !important;
}

.text-white-50 {
    color: #b4c1d1 !important;
}

label,
.form-label,
.gps-card label {
    margin-bottom: 6px;
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.form-control,
.form-select,
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime-local"],
textarea,
.gps-card .form-control,
.gps-card .form-select,
.gps-content textarea.form-control {
    min-height: 40px;
    color: var(--text-primary) !important;
    background-color: var(--bg-input) !important;
    background-image: none;
    border: 1px solid rgba(148, 163, 184, .22) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: 14px;
}

.gps-content .gps-card textarea.form-control {
    min-height: 84px;
    color: var(--text-primary) !important;
    background: var(--bg-input) !important;
    border-color: rgba(148, 163, 184, .22) !important;
}

.form-control:hover,
.form-select:hover {
    border-color: rgba(148, 163, 184, .38) !important;
}

.form-control:focus,
.form-select:focus,
.gps-card .form-control:focus,
.gps-card .form-select:focus,
.gps-content .gps-card textarea.form-control:focus,
.modal .form-control:focus,
.modal .form-select:focus {
    color: var(--text-primary) !important;
    background: var(--bg-input) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(67, 135, 216, .18) !important;
}

.form-control::placeholder,
textarea::placeholder,
.select2-search__field::placeholder {
    color: var(--text-muted) !important;
    opacity: 1;
}

input[readonly],
textarea[readonly],
.gps-card input[readonly] {
    color: #c9d8e9 !important;
    background: #132137 !important;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(.82);
    opacity: .8;
}

.form-check-input {
    background-color: var(--bg-input);
    border-color: rgba(148, 163, 184, .45);
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn {
    min-height: 36px;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 550;
    box-shadow: none !important;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease !important;
}

.btn:hover {
    transform: none !important;
    filter: brightness(1.07);
}

.btn-primary,
.btn-login {
    color: #fff !important;
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}

.btn-primary:hover,
.btn-login:hover {
    background: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
}

.btn-success,
.btn-approve {
    color: #fff !important;
    background: var(--success) !important;
    border-color: var(--success) !important;
}

.btn-warning {
    color: #fff !important;
    background: var(--warning) !important;
    border-color: var(--warning) !important;
}

.btn-danger,
.btn-reject {
    color: #fff !important;
    background: var(--danger) !important;
    border-color: var(--danger) !important;
}

.btn-info {
    color: #fff !important;
    background: #347da4 !important;
    border-color: #347da4 !important;
}

.btn-secondary,
.btn-outline-secondary {
    color: #d3dce7 !important;
    background: #26364b !important;
    border-color: #26364b !important;
}

.btn-outline-light {
    color: #dbe7f5 !important;
    border-color: rgba(185, 202, 224, .36) !important;
}

.btn-outline-light:hover {
    color: #fff !important;
    background: var(--bg-raised) !important;
}

.btn-sm {
    min-height: 30px;
    padding: 5px 9px !important;
    font-size: 12px !important;
}

.table-responsive {
    border-radius: 10px;
    scrollbar-color: #41536b var(--bg-secondary);
}

table,
.table,
.gps-card table {
    width: 100%;
    margin-bottom: 0;
    color: var(--text-primary) !important;
    background: transparent !important;
    border-color: transparent !important;
    --bs-table-color: var(--text-primary);
    --bs-table-bg: transparent;
    --bs-table-striped-color: var(--text-primary);
    --bs-table-striped-bg: rgba(255, 255, 255, .018);
    --bs-table-hover-color: #fff;
    --bs-table-hover-bg: rgba(67, 135, 216, .09);
    --bs-table-border-color: rgba(148, 163, 184, .08);
}

table thead th,
.table thead th,
.gps-card thead th {
    padding: 11px 12px !important;
    color: #aebed1 !important;
    background: #192b43 !important;
    border: 0 !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .045em;
    line-height: 1.35;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

table tbody tr,
.table tbody tr,
.gps-card tbody tr {
    color: var(--text-primary) !important;
    background: transparent !important;
    border: 0 !important;
    transition: background-color .12s ease;
}

table tbody tr:nth-child(odd),
.table-striped > tbody > tr:nth-of-type(odd) > *,
.gps-card tbody tr {
    --bs-table-accent-bg: transparent;
    background: rgba(255, 255, 255, .012) !important;
}

table tbody tr:hover,
.table-hover > tbody > tr:hover > *,
.gps-card tbody tr:hover {
    background: rgba(67, 135, 216, .08) !important;
}

table tbody td,
.table tbody td,
.gps-card tbody td {
    padding: 11px 12px !important;
    color: #d7e0eb !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, .07) !important;
    font-size: 13px;
    line-height: 1.45;
    vertical-align: middle;
}

table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.table-dark,
.table-dark > :not(caption) > * > *,
.table-light,
.table-light > :not(caption) > * > * {
    color: var(--text-primary) !important;
    background: transparent !important;
    border-color: rgba(148, 163, 184, .08) !important;
}

.dataTables_wrapper,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate {
    color: var(--text-secondary) !important;
    font-size: 13px;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .form-control,
.dataTables_wrapper .form-select {
    min-height: 34px;
    color: var(--text-primary) !important;
    background: var(--bg-input) !important;
    border: 1px solid var(--border) !important;
    border-radius: 7px !important;
}

.dataTables_wrapper .paginate_button {
    color: var(--text-secondary) !important;
    background: transparent !important;
    border: 0 !important;
}

.dataTables_wrapper .paginate_button.current,
.dataTables_wrapper .paginate_button:hover {
    color: #fff !important;
    background: rgba(67, 135, 216, .24) !important;
    border: 0 !important;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    padding-top: 12px !important;
}

.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
    color: var(--text-secondary) !important;
    font-size: 12px !important;
}

.form-control:disabled,
.form-select:disabled,
.form-control[disabled],
.form-select[disabled] {
    color: var(--text-muted) !important;
    background: #172337 !important;
    opacity: .8;
}

.gps-content hr {
    border-color: var(--border) !important;
    opacity: 1;
}

.dashboard-filter-form .form-label {
    margin-bottom: 7px;
}

.dashboard-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.dashboard-filter-actions .btn {
    white-space: nowrap;
}

.filter-bar .select2-container {
    width: 260px !important;
    min-width: 210px;
}

.filter-bar .filter-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filter-bar .filter-mini {
    min-height: 40px;
    max-width: none;
    font-size: 14px;
}

.filter-bar .filter-field:first-child .filter-mini {
    width: 170px;
}

.filter-bar .select2-container--default .select2-selection--single {
    min-height: 40px !important;
}

.filter-bar .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-top: 5px;
}

.gps-content .alert-success {
    color: #b7e7d0 !important;
    background: rgba(54, 168, 120, .12) !important;
    border-color: rgba(54, 168, 120, .24) !important;
}

.gps-content .alert-warning {
    color: #f1d198 !important;
    background: rgba(214, 155, 61, .12) !important;
    border-color: rgba(214, 155, 61, .24) !important;
}

.gps-content .alert-danger {
    color: #f0b2b2 !important;
    background: rgba(215, 101, 101, .12) !important;
    border-color: rgba(215, 101, 101, .24) !important;
}

.gps-content .alert-info {
    color: #b4d9ee !important;
    background: rgba(85, 166, 202, .12) !important;
    border-color: rgba(85, 166, 202, .24) !important;
}

.badge {
    padding: 4px 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    letter-spacing: .01em;
}

.badge.bg-success {
    color: #a9e7ca !important;
    background: rgba(54, 168, 120, .16) !important;
}

.badge.bg-warning,
.badge.text-bg-warning {
    color: #f1d198 !important;
    background: rgba(214, 155, 61, .17) !important;
}

.badge.bg-danger,
.badge.text-bg-danger {
    color: #f0b2b2 !important;
    background: rgba(215, 101, 101, .17) !important;
}

.badge.bg-info,
.badge.text-bg-info {
    color: #b4d9ee !important;
    background: rgba(85, 166, 202, .17) !important;
}

.badge.bg-secondary,
.badge.text-bg-secondary {
    color: #c2ccd8 !important;
    background: rgba(130, 145, 165, .17) !important;
}

.alert {
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.modal-backdrop.show {
    opacity: .7;
}

.modal-content {
    color: var(--text-primary) !important;
    background: #142238 !important;
    border: 1px solid rgba(148, 163, 184, .2) !important;
    border-radius: 14px !important;
    box-shadow: var(--shadow-soft);
}

.modal-header,
.modal-footer {
    padding: 16px 20px !important;
    border-color: rgba(148, 163, 184, .12) !important;
}

.modal-header {
    align-items: center;
}

.modal-title,
.modal-header h5 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.modal-body {
    padding: 20px !important;
}

.modal label {
    color: var(--text-secondary) !important;
}

.btn-close {
    filter: invert(1) grayscale(1);
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 40px !important;
    color: var(--text-primary) !important;
    background: var(--bg-input) !important;
    border: 1px solid rgba(148, 163, 184, .22) !important;
    border-radius: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-top: 5px;
    color: var(--text-primary) !important;
}

.select2-container--default .select2-selection__placeholder,
.select2-container--default .select2-selection__arrow b {
    color: var(--text-muted) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #e4edf7 !important;
    background: #263a55 !important;
    border: 0 !important;
    border-radius: 999px !important;
}

.select2-container--default .select2-selection__choice__remove {
    color: #bfd0e4 !important;
}

.select2-dropdown {
    z-index: 2000 !important;
    color: var(--text-primary) !important;
    background: #142238 !important;
    border: 1px solid rgba(148, 163, 184, .2) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.select2-search--dropdown .select2-search__field {
    color: var(--text-primary) !important;
    background: var(--bg-input) !important;
    border: 1px solid rgba(148, 163, 184, .2) !important;
    border-radius: 6px;
}

.select2-results__option {
    color: #d7e0eb !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: #fff !important;
    background: rgba(67, 135, 216, .36) !important;
}

.swal2-popup {
    color: var(--text-primary) !important;
    background: #142238 !important;
    border: 1px solid var(--border);
    border-radius: 14px !important;
}

.swal2-title,
.swal2-html-container {
    color: var(--text-primary) !important;
}

.progress {
    height: 8px;
    background: #26364b !important;
    border-radius: 999px;
}

canvas {
    max-width: 100%;
}

code {
    color: #b8d7f7;
}

@media (max-width: 991.98px) {
    .gps-sidebar {
        width: min(var(--sidebar-width), 86vw) !important;
        transform: translateX(-100%);
        box-shadow: var(--shadow-soft) !important;
    }

    body.sidebar-open .gps-sidebar {
        width: min(var(--sidebar-width), 86vw) !important;
        transform: translateX(0);
    }

    .gps-main,
    body.sidebar-open .gps-main {
        margin-left: 0 !important;
    }

    .gps-header,
    body.sidebar-open .gps-header {
        left: 0 !important;
    }

    body:not(.sidebar-open) .gps-sidebar {
        width: min(var(--sidebar-width), 86vw) !important;
        transform: translateX(-100%);
    }

    .gps-overlay {
        z-index: 1035;
        background: rgba(3, 10, 20, .62) !important;
    }

    body.sidebar-open .gps-overlay {
        display: block !important;
    }

    .gps-content {
        padding: calc(var(--header-height) + 18px) 18px 26px !important;
    }

    .summary-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .gps-header {
        padding: 0 12px !important;
    }

    .gps-title {
        max-width: 54vw;
        overflow: hidden;
        font-size: 12px !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gps-header-right {
        gap: 6px !important;
    }

    .user-info {
        max-width: 110px;
    }

    .user-name {
        display: block;
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-role {
        font-size: 10px;
    }

    .user-icon {
        display: none;
    }

    .gps-content {
        padding: calc(var(--header-height) + 14px) 12px 22px !important;
    }

    .gps-page-title,
    .gps-content > h1,
    .gps-content > h2,
    .gps-content > h3,
    .gps-content > h4,
    .gps-content > h5,
    .page-title {
        font-size: 20px !important;
    }

    .gps-card,
    .chart-card,
    .card {
        padding: 14px !important;
    }

    .gps-filter-panel,
    .gps-data-section {
        padding: 14px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .summary-grid-4 {
        grid-template-columns: 1fr;
    }

    .summary-metric {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        column-gap: 12px;
        padding: 13px 14px;
    }

    .summary-value {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin: 0;
        font-size: 24px;
    }

    .summary-note {
        margin-top: 2px;
    }

    table thead th,
    .table thead th {
        padding: 9px !important;
    }

    table tbody td,
    .table tbody td {
        padding: 9px !important;
        font-size: 12px;
    }

    .modal-dialog {
        margin: 10px !important;
    }

    .modal-body {
        padding: 14px !important;
    }

    .modal-header,
    .modal-footer {
        padding: 13px 14px !important;
    }

    .modal-footer .btn {
        min-height: 40px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-filter-actions {
        justify-content: flex-start;
    }

    .dashboard-filter-actions .btn-primary {
        flex: 1 1 100%;
    }

    .filter-bar {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .filter-bar .filter-mini,
    .filter-bar .select2-container {
        width: 100% !important;
        max-width: none;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none !important;
        text-align: left !important;
    }

    .dataTables_wrapper .dataTables_filter input {
        max-width: 65vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
