:root {
    --admin-bg: #f4f6fb;
    --admin-surface: #ffffff;
    --admin-surface-muted: #f7f9fc;
    --admin-border: #dfe6f1;
    --admin-border-strong: #c8d3e4;
    --admin-text: #1b223c;
    --admin-text-muted: #66728a;
    --admin-primary: #4c84ff;
    --admin-primary-soft: #eaf1ff;
    --admin-sidebar-bg: #1d2433;
    --admin-sidebar-bg-soft: #262f42;
    --admin-topbar-height: 58px;
    --admin-radius-sm: 8px;
    --admin-radius: 12px;
    --admin-radius-lg: 16px;
    --admin-shadow: 0 8px 20px rgba(17, 27, 56, 0.06);
    --admin-control-height: 42px;
}

body {
    background: var(--admin-bg);
    color: var(--admin-text);
    font-size: 0.95rem;
}

body.auth-body {
    background: linear-gradient(180deg, #eef3fb 0%, #f7f9fc 100%);
}

.bg-sidebar {
    background: var(--admin-sidebar-bg) !important;
}

h1, h2, h3 {
    color: var(--admin-text);
    font-weight: 600;
}

.form-label {
    color: #3f4c69;
    font-size: 0.79rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.form-group > label {
    color: #3f4c69;
    font-size: 0.79rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-control,
.form-select {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    color: var(--admin-text);
    display: block;
    line-height: 1.35;
    min-height: var(--admin-control-height);
    padding: 0.56rem 0.85rem;
    width: 100%;
}

.form-select {
    background-color: #fff;
    background-position: right 0.85rem center;
    padding-right: 2.35rem;
}

.form-control.input-lg {
    min-height: 48px;
}

.form-control-sm,
.form-select-sm {
    min-height: 36px;
    padding: 0.38rem 0.7rem;
}

.form-select-sm {
    background-position: right 0.7rem center;
    padding-right: 2rem;
}

.partial {
    margin-bottom: 50px;
}

.partial h2 {
    background: #4C84FF;
    color: #fff;
    margin-bottom: 20px;
    padding: 10px;
}

.partial div.body {
    padding: 5px;
}

.partial div.body div.body-part {
    border-right: 1px solid #000;
    display: table-cell;
    padding: 10px;
}

.partial div.body div.body-part h3 {
    margin-bottom: 20px;
}

.partial div.body div.body-part span.tab90 {
    display: inline-block;
    width: 90px !important;
}

.form-group .form-control:focus,
.admin-control:focus,
.form-select:focus {
    border-color: #505f80 !important;
    box-shadow: 0 0 0 0.18rem rgba(76, 132, 255, 0.2);
}

.form-control.admin-control,
.form-select.admin-control,
.admin-control {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    min-height: var(--admin-control-height);
    width: 100%;
}

.form-control.admin-control::placeholder {
    color: #8c98af;
}

.form-group > .form-control,
.form-group > .form-select,
.form-group > .choices,
.form-group > textarea.form-control {
    width: 100%;
}

.form-group > label,
.form-group > .form-label {
    display: block;
}

.btn {
    border-radius: var(--admin-radius-sm);
    font-weight: 500;
}

.btn-sm {
    border-radius: 7px;
}

.card.admin-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: var(--admin-shadow);
}

.card.card-default {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    box-shadow: var(--admin-shadow);
}

.card.admin-card .card-body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.card.card-default .card-body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.admin-card-header {
    align-items: center;
    background: var(--admin-surface-muted);
    border-bottom: 1px solid var(--admin-border);
    padding: 0.95rem 1.25rem;
}

.card.card-default > .card-header,
.card.card-default .card-header.card-header-border-bottom {
    align-items: center;
    background: var(--admin-surface-muted);
    border-bottom: 1px solid var(--admin-border);
    padding: 0.95rem 1.25rem;
}

.admin-card-footer {
    border-top: 1px solid var(--admin-border);
}

.admin-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-page-header {
    margin-bottom: 0.35rem;
}

.admin-page-header-bar {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.admin-page-title {
    font-size: 1.55rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.admin-page-subtitle,
.admin-section-subtitle {
    color: var(--admin-text-muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.admin-section-title {
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.admin-page-actions,
.admin-summary-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.admin-page-actions {
    justify-content: flex-end;
}

.admin-summary-badges {
    justify-content: flex-end;
}

.admin-toolbar-actions .btn {
    min-height: 40px;
}

.admin-filter-card .card-body {
    padding-top: 1rem;
}

.admin-filter-row + .admin-filter-row {
    border-top: 1px solid var(--admin-border);
    padding-top: 0.85rem;
}

.admin-filter-advanced {
    border-top: 1px dashed var(--admin-border-strong);
    padding-top: 0.7rem;
}

.admin-filter-advanced .btn-link {
    color: #5d6983;
    font-size: 0.8rem;
    font-weight: 500;
}

.admin-table-wrap {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem;
}

.admin-resolution-cell .admin-resolution-main {
    font-weight: 500;
    line-height: 1.25;
}

.admin-resolution-cell .admin-resolution-secondary {
    color: var(--admin-text-muted);
    font-size: 0.78rem;
    margin-top: 0.15rem;
}

.admin-resolution-cell .admin-resolution-status {
    margin-top: 0.35rem;
}

.badge {
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 0.24rem 0.45rem;
    text-transform: uppercase;
}

.badge.badge-success {
    background: #e7f5ec;
    color: #2f7d4b;
}

.badge.badge-warning {
    background: #fff2dc;
    color: #a46406;
}

.badge.badge-danger {
    background: #fde8e8;
    color: #aa2e2e;
}

.badge.badge-secondary,
.badge.badge-dark {
    background: #edf1f7;
    color: #5d6982;
}

.badge.badge-primary {
    background: #eaf1ff;
    color: #2f5fbf;
}

.badge.badge-info {
    background: #e6f4fb;
    color: #0d6b8a;
}

.badge.badge-light {
    background: #fff;
    border: 1px solid var(--admin-border);
    color: #5d6982;
}

.badge.badge-soft-primary {
    background: #edf3ff;
    color: #325eaf;
}

.badge.badge-soft-secondary {
    background: #eff3f8;
    color: #5b6780;
}

.badge.badge-soft-info {
    background: #e8f5fb;
    color: #0d6b8a;
}

.badge.badge-soft-warning {
    background: #fff4e2;
    color: #9f6208;
}

.badge.badge-soft-danger {
    background: #feecee;
    color: #aa2e2e;
}

.badge.badge-soft-success {
    background: #e9f7ee;
    color: #2f7d4b;
}

/* Bootstrap 5 utility compatibility on top of the Bootstrap 4 CSS base. */
.bg-success-subtle {
    background: #e7f5ec !important;
}

.text-success-emphasis {
    color: #2f7d4b !important;
}

.bg-warning-subtle {
    background: #fff2dc !important;
}

.text-warning-emphasis {
    color: #a46406 !important;
}

.bg-danger-subtle {
    background: #fde8e8 !important;
}

.text-danger-emphasis {
    color: #aa2e2e !important;
}

.bg-secondary-subtle {
    background: #edf1f7 !important;
}

.text-secondary-emphasis {
    color: #5d6982 !important;
}

.bg-info-subtle {
    background: #e6f4fb !important;
}

.text-info-emphasis {
    color: #0d6b8a !important;
}

.page-wrapper .content {
    min-height: calc(100vh - 146px);
    min-width: 0;
    padding: 1.6rem;
}

.admin-legacy-table-wrap {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem;
}

.page-wrapper,
.content-wrapper,
.admin-page,
.card.admin-card {
    min-width: 0;
}

.left-sidebar {
    min-height: 100vh;
    height: 100vh;
}

.app-sidebar {
    z-index: 3000;
}

.left-sidebar .sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
}

.left-sidebar .app-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
    min-height: 72px;
}

.left-sidebar .slimScrollDiv,
.left-sidebar .sidebar-scrollbar {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
}

.left-sidebar .sidebar-scrollbar {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0.6rem 0.6rem 1rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.left-sidebar .sidebar-scrollbar .sidebar-inner {
    min-height: 100%;
}

.left-sidebar .slimScrollDiv {
    display: flex !important;
    flex-direction: column;
    max-height: none !important;
}

.left-sidebar .slimScrollDiv > .sidebar-scrollbar {
    max-height: none !important;
}

.sidebar-minified .left-sidebar .sidebar-scrollbar,
.sidebar-minified .left-sidebar:hover .sidebar-scrollbar {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.admin-sidebar-nav > li {
    margin-bottom: 0.2rem;
}

.admin-sidebar-nav > li > .sidenav-item-link {
    border-radius: 8px;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.sidebar .sidenav-item-link .nav-text {
    font-size: 0.86rem;
    margin-left: 7px;
}

.sidebar .sidenav-item-link iconify-icon.menu-icon {
    color: #aeb9cd;
    font-size: 16px;
    transition: color 0.18s ease;
}

.sidebar .active > .sidenav-item-link,
.sidebar .sidenav-item-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.sidebar .active > .sidenav-item-link iconify-icon.menu-icon,
.sidebar .sidenav-item-link:hover iconify-icon.menu-icon {
    color: #dfe8f8;
}

.sidebar .active > .sidenav-item-link .nav-text,
.sidebar .sidenav-item-link:hover .nav-text {
    color: #eef4ff;
}

.sidebar .sub-menu {
    margin-top: 0.25rem;
    padding-left: 0.65rem;
}

.sidebar .sub-menu > li > .sidenav-item-link {
    border-radius: 7px;
    min-height: 34px;
    padding-left: 0.8rem;
}

.sidebar .sub-menu .small.text-uppercase {
    color: rgba(255, 255, 255, 0.52) !important;
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-left: 0.75rem;
}

.sidebar .sidenav-item-link iconify-icon[icon="quill:collapse"] {
    font-size: 13px;
    opacity: 0.7;
}

.admin-sidebar-separator {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0.7rem 0;
}

.search-form {
    width: min(100%, 620px);
}

.search-form form {
    margin-bottom: 0;
}

.main-header .navbar {
    min-height: var(--admin-topbar-height);
    padding-bottom: 0.45rem;
    padding-top: 0.45rem;
}

.search-form .input-group {
    align-items: center;
    background: #f5f6fa;
    border: 1px solid #e5ecf5;
    border-radius: 8px;
    overflow: hidden;
}

.search-form .global-search-scope {
    background-color: #f5f6fa;
    border: 0;
    border-right: 1px solid #e5ecf5;
    border-radius: 0;
    color: #1b223c;
    font-size: 0.83rem;
    max-width: 165px;
    min-height: 34px;
}

.search-form .global-search-input-wrap {
    flex: 1 1 auto;
    position: relative;
}

.search-form .form-control {
    border: 0;
    box-shadow: none;
    font-size: 0.86rem;
}

.search-form .global-search-input {
    background: transparent;
    min-height: 34px;
    padding-right: 2.2rem;
}

.search-form .global-search-submit {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #61708c;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    height: 26px;
    justify-content: center;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
}

.search-form .global-search-submit:hover,
.search-form .global-search-submit:focus {
    background: #e9effa;
    color: #355da9;
    outline: none;
}

.search-results-page .card-header h2,
.dashboard-grid .card-header h2,
.dashboard-grid h2 {
    margin-bottom: 0;
}

.search-summary-card .card-body {
    min-height: 126px;
}

.dashboard-widget {
    position: relative;
}

.admin-page-dashboard .dashboard-widget .card {
    height: 100%;
}

.dashboard-widget.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.dashboard-widget-actions {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
}

.dashboard-widget-title-link {
    color: inherit;
    text-decoration: none;
}

.dashboard-widget-title-link:hover,
.dashboard-widget-title-link:focus {
    color: var(--admin-primary);
    text-decoration: none;
}

.dashboard-widget .admin-card-header {
    align-items: flex-start;
    padding-right: 5.2rem;
    position: relative;
}

.dashboard-widget .admin-card-header .dashboard-widget-actions {
    position: absolute;
    right: 0.95rem;
    top: 0.7rem;
}

.dashboard-overview-header {
    padding-right: 2.5rem;
    position: relative;
}

.dashboard-overview-header .dashboard-refresh {
    position: absolute;
    right: 0;
    top: 0;
}

.dashboard-refresh {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: rgba(27, 34, 60, 0.55);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.2rem;
    justify-content: center;
    line-height: 1;
    min-height: 34px;
    min-width: 34px;
    padding: 0;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.dashboard-refresh:hover,
.dashboard-refresh:focus {
    background: var(--admin-primary-soft);
    color: var(--admin-primary);
}

.dashboard-refresh[disabled] {
    cursor: wait;
    opacity: 0.7;
}

.dashboard-mini-card {
    color: inherit;
}

.dashboard-mini-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 126px;
}

.dashboard-stat-tile {
    background: #f8fafc;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    padding: 1rem 1.125rem;
}

.dashboard-stat-label {
    color: #7a869f;
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
}

.dashboard-stat-value {
    color: #1b223c;
    display: block;
    font-size: 1.78rem;
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 0.15rem;
}

.dashboard-customer-total {
    border-bottom: 1px solid var(--admin-border);
    padding: 0 0 1rem;
}

.dashboard-table-scroll {
    height: 430px;
}

.dashboard-table-wrapper .simplebar-content {
    padding-right: 0.25rem;
}

.dashboard-table-wrapper table tbody tr:last-child td {
    border-bottom: 0;
}

.text-link {
    color: #13cae1 !important;
    cursor: pointer;
    text-decoration: underline;
}

#tabsNavigation {
    background: var(--admin-bg);
    border-bottom: 1px solid var(--admin-border);
    gap: 0.45rem;
    flex-wrap: nowrap;
    margin-bottom: 1.4rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-left: 0;
    padding-bottom: 0.25rem;
    padding-right: 0;
    position: sticky;
    top: var(--admin-topbar-height);
    z-index: 997;
    white-space: nowrap;
}

#tabsNavigation .nav-item {
    margin-bottom: 0;
    margin-right: 0;
}

#tabsNavigation .nav-link {
    align-items: center;
    background: var(--admin-tab-bg, #edf2fb);
    border: 1px solid var(--admin-tab-border, #d9e1f1);
    border-radius: 10px;
    color: var(--admin-tab-text, #4a5774);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 500;
    gap: 0.5rem;
    min-height: 42px;
    opacity: 0.88;
    padding: 0.56rem 0.9rem;
    position: relative;
    transform: translateY(0);
    transition: all 0.18s ease;
    white-space: nowrap;
}

#tabsNavigation .nav-link .tabTitle {
    display: inline-block;
}

#tabsNavigation .nav-link .tabTypeIcon {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1;
}

#tabsNavigation .nav-link.active {
    background: var(--admin-tab-active-bg, #fff);
    border-color: var(--admin-tab-active-border, #adc5ff);
    box-shadow: var(--admin-tab-active-shadow, 0 6px 14px rgba(76, 132, 255, 0.16));
    color: var(--admin-tab-active-text, #1f2b49);
    opacity: 1;
    transform: translateY(-1px);
}

#tabsNavigation .nav-link.active::after {
    background: #4c84ff;
    border-radius: 999px;
    bottom: -7px;
    content: "";
    height: 3px;
    left: 12px;
    position: absolute;
    right: 12px;
}

#tabsNavigation .nav-link .closeTab {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    opacity: 0.55;
    padding: 0;
}

#tabsNavigation .nav-link.active .closeTab {
    opacity: 0.82;
}

#tabsNavigation .nav-link .closeTab:hover {
    opacity: 1;
}

#tabsNavigationContent .tab-pane {
    min-height: 220px;
}

.admin-data-table,
table.display.table.compact.table-striped.table-bordered {
    background: var(--admin-surface);
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100% !important;
}

.dataTables_wrapper,
.dt-container {
    font-size: 0.84rem;
}

.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dt-container .dt-search,
.dt-container .dt-length {
    margin-bottom: 0.2rem;
}

.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label,
.dt-container .dt-search label,
.dt-container .dt-length label {
    color: #5d6983;
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    font-weight: 500;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input,
.dt-container .dt-length select,
.dt-container .dt-search input {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    color: var(--admin-text);
    min-height: 34px;
    padding: 0.28rem 0.55rem;
}

.dataTables_wrapper .dataTables_length select,
.dt-container .dt-length select {
    min-width: 4.75rem;
    padding-right: 1.9rem;
}

.dataTables_wrapper .dataTables_filter input,
.dt-container .dt-search input {
    min-width: 200px;
}

.admin-dt-search label,
.admin-dt-length label {
    margin-bottom: 0;
}

.admin-dt-search label {
    justify-content: flex-end;
}

.admin-dt-length .dataTables_length,
.admin-dt-length .dt-length,
.admin-dt-search .dataTables_filter,
.admin-dt-search .dt-search,
.admin-dt-info .dataTables_info,
.admin-dt-info .dt-info,
.admin-dt-pagination .dataTables_paginate,
.admin-dt-pagination .dt-paging {
    float: none !important;
    margin: 0 !important;
}

.admin-dt-search .dataTables_filter,
.admin-dt-search .dt-search {
    text-align: right;
}

.admin-dt-pagination .dataTables_paginate,
.admin-dt-pagination .dt-paging {
    text-align: right;
}

table.dataTable.admin-datatable,
table.display.table.compact.table-striped.table-bordered {
    border-collapse: separate !important;
    border-spacing: 0;
}

.admin-page-sales-orders,
.admin-page-sales-orders .admin-card,
.admin-page-sales-orders .card-body,
.admin-page-sales-orders .dt-container,
.admin-page-sales-orders .dt-layout-row,
.admin-page-sales-orders .dt-layout-cell,
.admin-page-sales-orders .dt-scroll,
.admin-page-sales-orders .dt-scroll-head,
.admin-page-sales-orders .dt-scroll-body,
.admin-page-sales-orders .dataTables_wrapper,
.admin-page-sales-orders .dataTables_scroll,
.admin-page-sales-orders .dataTables_scrollHead,
.admin-page-sales-orders .dataTables_scrollBody {
    max-width: 100%;
    min-width: 0;
}

.admin-page-sales-orders .dt-container,
.admin-page-sales-orders .dataTables_wrapper {
    overflow-x: hidden;
}

.admin-page-sales-orders .dt-scroll,
.admin-page-sales-orders .dataTables_scroll {
    width: 100% !important;
}

.admin-page-sales-orders .dt-scroll-head,
.admin-page-sales-orders .dt-scroll-body,
.admin-page-sales-orders .dataTables_scrollHead,
.admin-page-sales-orders .dataTables_scrollBody {
    overflow-x: auto !important;
}

.admin-page-sales-orders .dt-scroll-head table,
.admin-page-sales-orders .dt-scroll-body table,
.admin-page-sales-orders .dataTables_scrollHead table,
.admin-page-sales-orders .dataTables_scrollBody table {
    table-layout: fixed !important;
}

table.dataTable.admin-datatable thead th,
table.dataTable.admin-datatable tfoot th,
table.display.table.compact.table-striped.table-bordered thead th,
table.display.table.compact.table-striped.table-bordered tfoot th {
    background: #f5f8fe;
    border-bottom: 1px solid var(--admin-border) !important;
    color: #425070;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: middle;
}

table.dataTable.admin-datatable thead th.sorting,
table.dataTable.admin-datatable thead th.sorting_asc,
table.dataTable.admin-datatable thead th.sorting_desc,
table.display.table.compact.table-striped.table-bordered thead th.sorting,
table.display.table.compact.table-striped.table-bordered thead th.sorting_asc,
table.display.table.compact.table-striped.table-bordered thead th.sorting_desc {
    padding-right: 1.45rem !important;
}

table.dataTable.admin-datatable thead th,
table.display.table.compact.table-striped.table-bordered thead th {
    position: relative;
}

table.dataTable.admin-datatable tbody td,
table.display.table.compact.table-striped.table-bordered tbody td {
    border-bottom: 1px solid #e8eef7;
    color: #27314b;
    padding: 0.5rem 0.55rem;
    vertical-align: top;
}

table.dataTable.admin-datatable tbody tr:hover td,
table.display.table.compact.table-striped.table-bordered tbody tr:hover td {
    background: #f8fbff;
}

table.dataTable.admin-datatable tfoot th,
table.display.table.compact.table-striped.table-bordered tfoot th {
    padding: 0.45rem 0.5rem;
}

.admin-table-column-filter {
    min-height: 30px;
}

.admin-cell-meta {
    color: #6b7791;
    font-size: 0.74rem;
    line-height: 1.25;
    margin-top: 0.18rem;
}

.dataTables_wrapper .dataTables_info,
.dt-container .dt-info {
    color: #5e6982;
    font-size: 0.82rem;
    padding-top: 0.35rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 7px !important;
    margin: 0 0.1rem !important;
    min-width: 30px;
    padding: 0.25rem 0.5rem !important;
}

.dt-container .dt-paging .pagination {
    gap: 0.2rem;
}

.dt-container .dt-paging .page-link {
    border-radius: 7px !important;
    margin: 0 !important;
    min-width: 30px;
    padding: 0.25rem 0.5rem !important;
}

.dt-container .dt-paging .page-item.active .page-link {
    background: var(--admin-primary) !important;
    border-color: var(--admin-primary) !important;
    color: #fff !important;
}

.dt-container .dt-paging .page-item.disabled .page-link {
    color: #8a95ab;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--admin-primary) !important;
    border-color: var(--admin-primary) !important;
    color: #fff !important;
}

.choices.choices-admin {
    display: block;
    margin-bottom: 0;
    width: 100%;
}

.choices.choices-admin .choices__inner {
    background: #fff;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    min-height: var(--admin-control-height);
    padding: 0.34rem 0.7rem;
}

.choices.choices-admin.is-focused .choices__inner,
.choices.choices-admin.is-open .choices__inner {
    border-color: #505f80;
    box-shadow: 0 0 0 0.18rem rgba(76, 132, 255, 0.2);
}

.choices.choices-admin .choices__list--multiple .choices__item {
    background: #edf4ff;
    border: 1px solid #c5dafd;
    border-radius: 999px;
    color: #1f4378;
    font-size: 0.72rem;
    font-weight: 500;
    margin: 0;
    padding: 0.22rem 0.55rem;
}

.choices.choices-admin .choices__input {
    font-size: 0.84rem;
    margin: 0;
    min-width: 90px;
    padding: 0.15rem 0;
}

.choices.choices-admin .choices__list--dropdown .choices__item {
    font-size: 0.84rem;
    padding: 0.5rem 0.75rem;
}

.choices.choices-admin .choices__list--dropdown {
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius-sm);
    box-shadow: 0 8px 20px rgba(17, 27, 56, 0.08);
}

.choices.choices-admin .choices__list--multiple {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.choices.choices-admin.choices-admin-multiselect .choices__inner {
    padding-right: 0.7rem;
}

.choices.choices-admin.choices-admin-single .choices__inner,
.choices[data-type*="select-one"].choices-admin .choices__inner {
    padding: 0.52rem 2.35rem 0.52rem 0.85rem;
}

.choices[data-type*="select-one"].choices-admin::after {
    border-left-width: 5px;
    border-right-width: 5px;
    margin-top: -2px;
    right: 0.95rem;
}

.choices[data-type*="select-one"].choices-admin.is-open::after {
    margin-top: -5px;
}

.choices[data-type*="select-one"].choices-admin .choices__input {
    margin-bottom: 0;
}

.choices[data-type*="select-multiple"].choices-admin .choices__inner {
    display: flex;
    gap: 0.35rem;
}

.auth-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.auth-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(17, 27, 56, 0.12);
    margin: 0 auto;
    max-width: 520px;
    overflow: hidden;
    width: 100%;
}

.auth-card .card-header {
    background: var(--admin-sidebar-bg);
    border-bottom: 0;
    color: #fff;
    padding: 1.35rem 1.5rem;
}

.auth-card .card-body {
    padding: 2rem 1.5rem 1.6rem;
}

.auth-brand {
    align-items: center;
    display: inline-flex;
    gap: 0.9rem;
}

.auth-brand .brand-name {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}

.auth-brand-copy {
    color: rgba(255, 255, 255, 0.78);
    display: block;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.auth-title {
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    color: var(--admin-text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 1.5rem;
}

iconify-icon.refresh-icon,
iconify-icon.font40 {
    font-size: 40px;
}

.clickable,
.nav-item a.nav-link {
    cursor: pointer;
}

.no-text-transform {
    text-transform: none !important;
}

.copyright p {
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .admin-page-title {
        font-size: 1.4rem;
    }

    .dataTables_wrapper .dataTables_filter input {
        min-width: 160px;
    }
}

@media (max-width: 991.98px) {
    .page-wrapper .content {
        padding: 1.25rem 1rem;
    }

    .admin-card-header {
        padding: 0.9rem 1rem;
    }

    .card.admin-card .card-body {
        padding: 1rem;
    }

    .card.card-default .card-body {
        padding: 1rem;
    }

    .dashboard-widget .admin-card-header {
        padding-right: 1rem;
    }

    .dashboard-widget .admin-card-header .dashboard-widget-actions {
        position: static;
    }

    .dashboard-overview-header {
        padding-right: 0;
    }

    .dashboard-overview-header .dashboard-refresh {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .dashboard-mini-card .card-body {
        min-height: 0;
    }

    .admin-page-actions,
    .admin-summary-badges {
        justify-content: flex-start;
    }

    .admin-toolbar-actions {
        justify-content: stretch !important;
    }

    .admin-toolbar-actions .btn {
        width: 100%;
    }

    .admin-filter-row + .admin-filter-row {
        margin-top: 0.6rem !important;
    }

    .auth-shell {
        padding: 1.25rem 0.85rem;
    }

    .auth-card .card-body {
        padding: 1.5rem 1rem 1.2rem;
    }

    #tabsNavigation .nav-link {
        min-height: 40px;
        padding: 0.55rem 0.8rem;
    }

    .admin-dt-search .dataTables_filter,
    .admin-dt-search .dt-search,
    .admin-dt-pagination .dataTables_paginate,
    .admin-dt-pagination .dt-paging {
        text-align: left;
    }
}
