@charset "UTF-8";

/* 后台整体视觉统一层。 */
:root {
  --bg: #f6f8f7;
  --bg-secondary: #eef4f2;
  --card: #ffffff;
  --text: #171717;
  --text-secondary: #2f3d3a;
  --muted: #52615d;
  --primary: #0f766e;
  --primary-hover: #0d665f;
  --primary-light: #dff7f2;
  --primary-dark: #0a5953;
  --accent: #d4af37;
  --accent-light: #fff5cf;
  --border: #dce5e2;
  --border-light: #eef4f2;
  --danger: #dc2626;
  --success: #059669;
  --warning: #b7791f;
  --shadow-sm: 0 1px 2px rgba(23, 23, 23, 0.04);
  --shadow: 0 12px 32px rgba(23, 23, 23, 0.07);
  --shadow-lg: 0 24px 60px rgba(23, 23, 23, 0.11);
  --shadow-glow: 0 12px 28px rgba(15, 118, 110, 0.18);
  --radius-sm: 8px;
  --radius: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
}

html.dark {
  --bg: #111714;
  --bg-secondary: #18231f;
  --card: #151f1c;
  --text: #f4faf8;
  --text-secondary: #cfddd9;
  --muted: #97aaa4;
  --primary-light: rgba(94, 234, 212, 0.14);
  --primary: #5eead4;
  --primary-hover: #2dd4bf;
  --primary-dark: #14b8a6;
  --accent: #f2cf5b;
  --accent-light: rgba(242, 207, 91, 0.14);
  --border: rgba(224, 242, 238, 0.14);
  --border-light: rgba(224, 242, 238, 0.08);
}

body:not(.login-mode) {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08) 0, rgba(15, 118, 110, 0) 260px),
    var(--bg);
}

.container {
  width: min(1520px, calc(100vw - 32px));
}

body:not(.login-mode) .container {
  padding-top: 24px;
}

.header {
  margin-bottom: 28px;
}

.title {
  color: var(--text);
  letter-spacing: 0;
}

.theme-toggle-btn,
.btn,
.filter-select,
.field input,
.field select,
.modal-box,
.status-toast,
.admin-summary-card,
.overview-trend-panel,
.overview-annual-panel,
.data-action-card,
.data-delete-panel {
  border-radius: 8px;
}

.card {
  border-color: var(--border);
  box-shadow: var(--shadow);
}

html.dark .card,
html.dark .admin-sidebar {
  background: rgba(21, 31, 28, 0.92);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}

.admin-layout {
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

.admin-sidebar {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sidebar-nav {
  gap: 8px;
}

.sidebar-link {
  min-height: 44px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 650;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-link::before {
  display: none;
}

.sidebar-link:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.sidebar-link.active {
  background: var(--text);
  color: #ffffff !important;
  box-shadow: none;
}

html.dark .sidebar-link.active {
  background: var(--primary);
  color: #0b1614 !important;
}

.session-dropdown {
  border-radius: 8px;
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.session-avatar {
  border-radius: 50%;
  background: var(--primary);
  box-shadow: none;
}

.session-role {
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.session-menu {
  border-radius: 8px;
}

.admin-main > .admin-section > .card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.card-title {
  padding-left: 0;
  border-left: 0;
  color: var(--text);
  font-size: 22px;
  letter-spacing: 0;
}

.card-header-flex {
  margin-bottom: 0;
}

.data-mgmt-card > .card-header-flex {
  margin-bottom: 0;
}

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

.admin-summary-card {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.admin-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.admin-summary-label {
  color: var(--muted);
  letter-spacing: 0;
}

.admin-summary-value {
  color: var(--text);
}

.overview-trend-panel,
.overview-annual-panel,
.overview-top-visitors-panel,
.data-summary-section,
.data-actions-section,
.data-import-history-section,
.data-delete-panel {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.overview-top-visitors-panel {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 8px;
}

.overview-annual-panel {
  border-radius: 8px;
}

.overview-trend-empty {
  border-color: var(--border);
  background: var(--bg-secondary);
}

.overview-trend-area {
  fill: rgba(15, 118, 110, 0.12);
}

.overview-trend-line {
  stroke: var(--primary);
}

.overview-trend-point {
  stroke: var(--primary);
}

.overview-trend-point-label {
  fill: var(--primary-dark);
}

.overview-annual-bar-apply,
.overview-annual-line-apply,
.overview-annual-point-apply,
.legend-dot-apply {
  fill: var(--primary);
  stroke: var(--primary);
  background: var(--primary);
}

.overview-annual-bar-admit,
.overview-annual-line-admit,
.overview-annual-point-admit,
.legend-dot-admit {
  fill: var(--accent);
  stroke: var(--accent);
  background: var(--accent);
}

.overview-annual-line-apply,
.overview-annual-line-admit {
  fill: none;
}

.overview-annual-point {
  fill: var(--card);
}

.table-toolbar {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

table {
  background: transparent;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  letter-spacing: 0;
}

td {
  color: var(--text-secondary);
}

tbody tr:hover td {
  background: rgba(15, 118, 110, 0.06);
}

.btn {
  background: var(--primary);
  box-shadow: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  background: var(--primary-hover);
  opacity: 1;
  transform: none;
}

.btn-primary,
.btn-success {
  background: var(--primary);
  color: #ffffff;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-danger {
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger);
}

.user-delete-toolbar-btn {
  color: #f87171;
}

.user-delete-toolbar-btn:hover:not(:disabled) {
  background: rgba(248, 113, 113, 0.14);
  color: #ef4444;
}

.field input,
.field select,
.filter-select,
.data-delete-select {
  border-color: var(--border);
  background: var(--card);
  color: var(--text);
}

.admin-select-shell {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  vertical-align: middle;
}

.field .admin-select-shell {
  display: flex;
  width: 100%;
}

.upload-form-panel .field .admin-select-shell {
  width: 180px;
  max-width: 100%;
}

.data-delete-filter-group .admin-select-shell {
  display: flex;
  width: 100%;
  max-width: 200px;
}

.admin-select-shell .admin-select-control {
  width: 100%;
  padding-right: 42px !important;
  appearance: none;
  background: #ffffff !important;
  background-image: none !important;
  color: #111827 !important;
  cursor: pointer;
}

.admin-select-shell.is-custom .admin-select-control {
  opacity: 0;
  pointer-events: none;
}

.admin-select-shell .admin-select-control:hover,
.admin-select-shell .admin-select-control:focus {
  background: #ffffff !important;
}

.admin-select-shell .admin-select-control option {
  background: #ffffff;
  color: #111827;
}

.admin-select-shell .admin-select-control option:checked {
  background: #ffffff linear-gradient(#ffffff, #ffffff);
  box-shadow: none;
  color: #111827;
}

/* 选中项不常驻高亮，保证悬浮其他选项时视觉焦点能切换。 */
.admin-select-shell .admin-select-control option:hover,
.admin-select-shell .admin-select-control option:focus {
  background: rgba(15, 118, 110, 0.08) linear-gradient(rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.08));
  box-shadow: 0 0 0 100px rgba(15, 118, 110, 0.08) inset;
  color: #0a5953 !important;
}

.admin-select-display {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  box-sizing: border-box;
  padding: 0 42px 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.field .admin-select-display {
  padding-left: 16px;
  font-size: 14px;
}

.data-delete-filter-group .admin-select-display {
  padding-left: 12px;
  font-size: 14px;
}

.admin-select-display:hover,
.admin-select-display:focus,
.admin-select-shell.is-open .admin-select-display {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
  outline: none;
}

.admin-select-display:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.admin-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 12000;
  display: none;
  max-height: 240px;
  overflow-y: auto;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16);
}

.admin-select-shell.is-open .admin-select-menu {
  display: block;
}

.admin-select-option {
  display: block;
  width: 100%;
  min-height: 32px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.admin-select-option:hover,
.admin-select-option:focus {
  background: rgba(15, 118, 110, 0.08);
  color: #0a5953;
  outline: none;
}

.admin-select-option.is-selected {
  background: #ffffff;
  color: #111827;
  font-weight: 700;
}

.admin-select-option.is-selected:hover,
.admin-select-option.is-selected:focus {
  background: rgba(15, 118, 110, 0.08);
  color: #0a5953;
}

.admin-select-option:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  color: #111827;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.admin-select-arrow svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-select-shell.is-open .admin-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.admin-select-shell.is-disabled .admin-select-arrow {
  opacity: 0.45;
}

.field input:focus,
.field select:focus,
.filter-select:focus,
.data-delete-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.data-summary-section,
.data-actions-section,
.data-import-history-section {
  padding: 20px;
}

.data-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.data-summary-head .section-subtitle {
  margin-bottom: 0;
}

.data-summary-filter-group {
  margin-left: auto;
}

.data-summary-filter-group label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.overview-trend-filter-group label,
.admin-log-filter-group label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.overview-trend-filter-group .filter-select {
  min-width: 132px;
}

.data-action-card {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.data-action-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: none;
}

.data-action-card.data-action-danger:hover {
  border-color: var(--danger);
  background: rgba(220, 38, 38, 0.08);
}

.data-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.data-action-icon svg,
.upload-icon svg {
  width: 22px;
  height: 22px;
}

.data-action-card.data-action-danger .data-action-icon {
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger);
}

.data-action-title,
.section-subtitle {
  color: var(--text);
}

.data-delete-info {
  background: var(--bg-secondary);
  border-color: var(--border);
}

.data-delete-confirm-btn {
  border-radius: 8px;
  background: var(--danger);
  box-shadow: none;
}

.data-delete-confirm-btn:hover:not(:disabled) {
  background: #b91c1c;
  transform: none;
  box-shadow: none;
}

/* 记录日志页面。 */
.admin-log-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-log-toolbar {
  justify-content: space-between;
  margin-bottom: 0;
}

.admin-log-switch {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-secondary);
}

.admin-log-switch-btn {
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.admin-log-switch-btn:hover {
  color: var(--primary-dark);
  background: rgba(15, 118, 110, 0.08);
}

.admin-log-switch-btn.active {
  background: var(--card);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.admin-log-switch-btn:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.32);
  outline-offset: 2px;
}

.admin-log-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.admin-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
}

.admin-log-head .section-subtitle {
  margin-bottom: 0;
}

.admin-log-filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto;
}

.admin-log-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.admin-log-filter-group .filter-select {
  min-width: 126px;
}

.admin-log-table-wrap {
  height: 550px;
  max-height: 550px;
  overflow-x: auto;
  overflow-y: auto;
}

.auth-audit-table-wrap {
  max-height: 550px;
}
/* 固定表格高度滚动 */
.admin-log-table-wrap table {
  table-layout: fixed;
  min-width: 760px;
}

.report-export-table-wrap table {
  min-width: 960px;
}

.report-export-table-wrap th:nth-child(1),
.report-export-table-wrap td:nth-child(1) {
  width: 16%;
}

.report-export-table-wrap th:nth-child(2),
.report-export-table-wrap td:nth-child(2) {
  width: 14%;
}

.report-export-table-wrap th:nth-child(3),
.report-export-table-wrap td:nth-child(3) {
  width: 10%;
}

.report-export-table-wrap th:nth-child(4),
.report-export-table-wrap td:nth-child(4) {
  width: 25%;
}

.report-export-table-wrap th:nth-child(5),
.report-export-table-wrap td:nth-child(5) {
  width: 9%;
}

.report-export-table-wrap th:nth-child(6),
.report-export-table-wrap td:nth-child(6),
.report-export-table-wrap th:nth-child(7),
.report-export-table-wrap td:nth-child(7) {
  width: 11%;
}

.auth-audit-table-wrap table {
  min-width: 820px;
}

.auth-audit-table-wrap th:nth-child(1),
.auth-audit-table-wrap td:nth-child(1) {
  width: 15%;
}

.auth-audit-table-wrap th:nth-child(2),
.auth-audit-table-wrap td:nth-child(2) {
  width: 12%;
}

.auth-audit-table-wrap th:nth-child(3),
.auth-audit-table-wrap td:nth-child(3),
.auth-audit-table-wrap th:nth-child(5),
.auth-audit-table-wrap td:nth-child(5),
.auth-audit-table-wrap th:nth-child(6),
.auth-audit-table-wrap td:nth-child(6) {
  width: 10%;
}

.auth-audit-table-wrap th:nth-child(4),
.auth-audit-table-wrap td:nth-child(4) {
  width: 12%;
}

.admin-log-table-wrap th,
.admin-log-table-wrap td {
  padding: 13px 12px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}

.admin-log-table-wrap th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg-secondary);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.admin-log-table-wrap td {
  font-size: 13px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-log-table-wrap .empty-row {
  height: 462px;
  color: var(--muted);
  text-align: center;
}

.report-export-table-wrap td {
  font-size: 13px;
}

.report-export-table-wrap th:nth-child(4),
.report-export-table-wrap td:nth-child(4) {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.55;
  word-break: keep-all;
}

.log-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 36px;
  padding-top: 0;
}

.log-pagination:empty {
  min-height: 0;
  padding-top: 0;
}

.admin-log-pagination-row {
  width: 100%;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.admin-log-pagination-row:empty {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.audit-action-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.audit-action-badge.login {
  color: var(--primary-dark);
  background: var(--primary-light);
}

.audit-action-badge.create {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}

.audit-action-badge.delete {
  color: var(--danger);
  background: rgba(220, 38, 38, 0.1);
}

.audit-action-badge.update {
  color: var(--warning);
  background: rgba(183, 121, 31, 0.12);
}

.audit-action-badge.default {
  color: var(--muted);
  background: var(--bg-secondary);
}

.audit-action-badge.api-success {
  color: #166534;
  background: rgba(34, 197, 94, 0.14);
}

.audit-action-badge.api-fallback {
  color: #9a6700;
  background: rgba(245, 158, 11, 0.14);
}

.audit-action-badge.api-failed {
  color: var(--danger);
  background: rgba(220, 38, 38, 0.12);
}

.audit-action-badge.api-invalid {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.12);
}

.auth-audit-detail {
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-usage-detail {
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-panel {
  border-color: var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.upload-dropzone {
  border-color: var(--border);
  border-radius: 8px;
  background: var(--bg-secondary);
}

.upload-dropzone:hover,
.upload-dropzone.dragover,
.upload-dropzone.has-file {
  border-color: var(--primary);
  background: var(--primary-light);
}

.upload-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: var(--primary);
  font-size: 0;
}

.upload-progress-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.modal-backdrop {
  background: rgba(17, 24, 22, 0.52);
}

.modal-box {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* 弹窗打开时提示保持清晰，避免遮罩和半透明背景造成文字发虚。 */
.status-toast {
  z-index: 11000;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.status-toast.error {
  background: #fef2f2;
}

.status-toast.success {
  background: #f0fdf4;
}

html.dark .status-toast {
  background: #15231f;
}

html.dark .status-toast.error {
  background: #2a1719;
}

html.dark .status-toast.success {
  background: #13251c;
}

@media screen and (max-width: 1024px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    min-height: auto;
  }

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

@media screen and (max-width: 560px) {
  .container {
    width: calc(100vw - 20px);
  }

  .admin-summary-grid,
  .data-actions-grid {
    grid-template-columns: 1fr;
  }

  .table-toolbar {
    align-items: stretch;
  }

  .data-summary-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-log-head {
    align-items: stretch;
    flex-direction: column;
  }

  .overview-trend-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .overview-chart-legend {
    justify-content: flex-start;
  }

  .data-summary-filter-group,
  .overview-trend-filters,
  .admin-log-filters {
    margin-left: 0;
  }

  .overview-trend-filters,
  .admin-log-filters {
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }

  .overview-trend-filter-group,
  .admin-log-filter-group {
    width: 100%;
  }

  .data-summary-filter-group .admin-select-shell,
  .overview-trend-filter-group .admin-select-shell,
  .admin-log-filter-group .admin-select-shell {
    width: 100%;
  }

  .overview-trend-filter-group .filter-select,
  .admin-log-filter-group .filter-select {
    width: 100%;
  }

  .table-toolbar-left,
  .table-toolbar-right {
    flex-wrap: wrap;
  }
}

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