.ag-theme-alpine-dark .ag-cell {
  cursor: text !important;
}
.ag-theme-alpine.vuetify-grid .ag-cell,
.ag-theme-alpine-dark.vuetify-grid .ag-cell {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Inputs (filters, quick filter, tool panels) */
.ag-theme-alpine.vuetify-grid .ag-input-field-input,
.ag-theme-alpine-dark.vuetify-grid .ag-input-field-input {
  background-color: rgba(var(--v-theme-on-surface), 0.04) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
  height: auto !important;
  line-height: normal !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
}

.ag-theme-alpine.vuetify-grid .ag-input-field-input:focus,
.ag-theme-alpine-dark.vuetify-grid .ag-input-field-input:focus {
  outline: none !important;
  border-color: rgb(var(--v-theme-primary)) !important;
  box-shadow: 0 0 0 3px rgba(var(--v-theme-primary), 0.2) !important;
}

/* Checkboxes (row select, set filter items) */
.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper {
  width: 18px !important;
  height: 18px !important;
  border-radius: 6px !important;
  background: transparent !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox-input,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input {
  width: 14px !important;
  height: 14px !important;
  border-radius: 4px !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"],
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"] {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  position: static !important;
  opacity: 1 !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:checked,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:checked { transform: none; }

/* keep AG Grid's own checkmark */

/* Center and tidy header selection checkbox */
.ag-theme-alpine.vuetify-grid .ag-header-select-all,
.ag-theme-alpine-dark.vuetify-grid .ag-header-select-all {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}

.ag-theme-alpine.vuetify-grid .ag-header-cell .ag-selection-checkbox,
.ag-theme-alpine-dark.vuetify-grid .ag-header-cell .ag-selection-checkbox {
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
}

/* Center selection checkbox inside body cells as well */
.ag-theme-alpine.vuetify-grid .ag-cell .ag-selection-checkbox,
.ag-theme-alpine-dark.vuetify-grid .ag-cell .ag-selection-checkbox {
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
}

/* Prevent nested visual duplication: wrapper stays transparent, input renders the box */
.ag-theme-alpine.vuetify-grid .ag-header-cell .ag-checkbox-input-wrapper,
.ag-theme-alpine-dark.vuetify-grid .ag-header-cell .ag-checkbox-input-wrapper {
  background: transparent !important;
  border: 0 !important;
  width: 18px !important;
  height: 18px !important;
}

/* Unify checkbox input look & interactions */
.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper {
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"],
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"] {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:hover,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:hover {
  border-color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:focus-visible,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(var(--v-theme-primary), 0.25) !important;
}

/* Improve alignment for narrow first column without forcing brittle indices */
.ag-theme-alpine.vuetify-grid .ag-header-cell.ag-column-first,
.ag-theme-alpine-dark.vuetify-grid .ag-header-cell.ag-column-first {
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* Make selection column narrower and center contents */
.ag-theme-alpine.vuetify-grid .ag-header-cell.ag-column-first,
.ag-theme-alpine-dark.vuetify-grid .ag-header-cell.ag-column-first {
  padding-left: 6px !important;
  padding-right: 6px !important;
}

.ag-theme-alpine.vuetify-grid .ag-center-cols-container .ag-cell.ag-cell-not-inline-editing.ag-cell-focus.ag-cell-value.ag-cell-normal-height[aria-colindex="1"],
.ag-theme-alpine-dark.vuetify-grid .ag-center-cols-container .ag-cell.ag-cell-not-inline-editing.ag-cell-focus.ag-cell-value.ag-cell-normal-height[aria-colindex="1"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Set filter items aesthetics */
.ag-theme-alpine.vuetify-grid .ag-set-filter-item,
.ag-theme-alpine-dark.vuetify-grid .ag-set-filter-item {
  padding: 6px 8px !important;
  border-radius: 8px !important;
}

.ag-theme-alpine.vuetify-grid .ag-set-filter-item:hover,
.ag-theme-alpine-dark.vuetify-grid .ag-set-filter-item:hover {
  background-color: rgba(var(--v-theme-primary), 0.08) !important;
}

/* Status cell: ensure chip text aligns nicely */
.ag-theme-alpine.vuetify-grid .ag-cell[col-id="status"],
.ag-theme-alpine-dark.vuetify-grid .ag-cell[col-id="status"] {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.ag-theme-alpine .ag-cell,
.ag-theme-alpine-dark .ag-cell {
  font-size: 0.95rem !important;
}

/* Set Filter, Column Tool Panel, Picker styles to match panel */
.ag-theme-alpine .ag-menu,
.ag-theme-alpine .ag-filter,
.ag-theme-alpine .ag-set-filter,
.ag-theme-alpine .ag-column-panel,
.ag-theme-alpine .ag-tool-panel-wrapper,
.ag-theme-alpine .ag-picker-field-wrapper {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine-dark .ag-menu,
.ag-theme-alpine-dark .ag-filter,
.ag-theme-alpine-dark .ag-set-filter,
.ag-theme-alpine-dark .ag-column-panel,
.ag-theme-alpine-dark .ag-tool-panel-wrapper,
.ag-theme-alpine-dark .ag-picker-field-wrapper {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine .ag-set-filter-item,
.ag-theme-alpine-dark .ag-set-filter-item {
  color: rgb(var(--v-theme-on-surface)) !important;
}

/* Target the exact AG Grid checkbox structure you shared */
.ag-theme-alpine.vuetify-grid .ag-checkbox .ag-input-wrapper,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox .ag-input-wrapper {
  position: static !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox .ag-input-wrapper:hover,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox .ag-input-wrapper:hover { transform: none; }

.ag-theme-alpine.vuetify-grid .ag-checkbox .ag-input-wrapper.ag-checked,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox .ag-input-wrapper.ag-checked { transform: none; }

.ag-theme-alpine.vuetify-grid .ag-checkbox .ag-input-wrapper.ag-checked::after,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox .ag-input-wrapper.ag-checked::after { content: none !important; }

.ag-theme-alpine.vuetify-grid .ag-checkbox .ag-input-field-input,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox .ag-input-field-input {
  position: static !important;
  opacity: 1 !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox .ag-input-field-input:focus-visible + .ag-input-wrapper,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox .ag-input-field-input:focus-visible + .ag-input-wrapper { transform: none; }

/* Ensure horizontal/vertical centering of checkbox in header and cells */
.ag-theme-alpine.vuetify-grid .ag-header-cell .ag-checkbox,
.ag-theme-alpine-dark.vuetify-grid .ag-header-cell .ag-checkbox,
.ag-theme-alpine.vuetify-grid .ag-cell .ag-checkbox,
.ag-theme-alpine-dark.vuetify-grid .ag-cell .ag-checkbox {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Final neutralization: let AG Grid draw the checkbox visuals */
.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"],
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"] {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:checked,
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:checked {
  background: transparent !important;
  border-color: transparent !important;
}

.ag-theme-alpine .ag-set-filter-item:hover,
.ag-theme-alpine-dark .ag-set-filter-item:hover {
  background-color: rgba(var(--v-theme-primary), 0.08) !important;
}

/* Remove generic checkbox box styling to avoid double visuals; rely on theme defaults */
.ag-theme-alpine .ag-checkbox-input-wrapper input[type="checkbox"],
.ag-theme-alpine-dark .ag-checkbox-input-wrapper input[type="checkbox"] {
  background: initial !important;
  border: initial !important;
}

.ag-theme-alpine .ag-checkbox-input-wrapper input[type="checkbox"]:checked,
.ag-theme-alpine-dark .ag-checkbox-input-wrapper input[type="checkbox"]:checked {
  background: initial !important;
  border-color: initial !important;
}

.ag-theme-alpine .ag-selection-checkbox,
.ag-theme-alpine-dark .ag-selection-checkbox {
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px !important;
}

.ag-theme-alpine .ag-header-cell-menu-button,
.ag-theme-alpine-dark .ag-header-cell-menu-button {
  color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine .ag-header-cell:hover .ag-icon-filter,
.ag-theme-alpine-dark .ag-header-cell:hover .ag-icon-filter {
  color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine .ag-picker-field-display,
.ag-theme-alpine-dark .ag-picker-field-display {
  color: rgb(var(--v-theme-on-surface)) !important;
}

.ag-theme-alpine .ag-select .ag-picker-field-wrapper,
.ag-theme-alpine-dark .ag-select .ag-picker-field-wrapper {
  background-color: rgba(var(--v-theme-on-surface), 0.05) !important;
  border: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  min-height: 32px !important;
}

.ag-theme-alpine .ag-list-item,
.ag-theme-alpine-dark .ag-list-item {
  color: rgb(var(--v-theme-on-surface)) !important;
}

.ag-theme-alpine-dark .ag-cell:hover {
  cursor: text !important;
}

.ag-theme-alpine-dark .ag-row .ag-cell {
  cursor: text !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-root-wrapper {
  background-color: rgb(var(--v-theme-surface)) !important;
  border: none !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-root {
  background-color: rgb(var(--v-theme-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header {
  background-color: rgb(var(--v-theme-surface)) !important;
  border-bottom: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-row {
  background-color: rgb(var(--v-theme-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  font-weight: 500 !important;
  border-right: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-center-cols-container {
  background-color: rgb(var(--v-theme-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-row {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border-bottom: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-row-odd {
  background-color: rgba(var(--v-theme-on-surface), 0.02) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-cell {
  background-color: inherit !important;
  color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)) !important;
  border-right: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-row:hover,
.ag-theme-alpine-dark.vuetify-grid .ag-row-odd:hover {
  background-color: rgba(var(--v-theme-primary), 0.08) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-row-selected,
.ag-theme-alpine-dark.vuetify-grid .ag-row-selected.ag-row-odd {
  background-color: rgba(var(--v-theme-primary), 0.12) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-cell-focus {
  border:none;
  outline: none !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-cell-focus:focus {
  outline: none !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-sort-ascending-icon,
.ag-theme-alpine-dark.vuetify-grid .ag-sort-descending-icon {
  color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-icon-asc,
.ag-theme-alpine-dark.vuetify-grid .ag-icon-desc {
  color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell-sorted-asc .ag-icon-asc,
.ag-theme-alpine-dark.vuetify-grid .ag-header-cell-sorted-desc .ag-icon-desc {
  color: rgb(var(--v-theme-secondary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-icon-filter {
  color: rgba(var(--v-theme-secondary), 0.6) !important;
  fill: rgba(var(--v-theme-secondary), 0.6) !important;
  transition: all 0.2s ease-in-out !important;
  width: 16px !important;
  height: 16px !important;
  cursor: pointer !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell:hover .ag-icon-filter,
.ag-theme-alpine-dark.vuetify-grid .ag-icon-filter:hover {
  color: rgb(var(--v-theme-primary)) !important;
  fill: rgb(var(--v-theme-primary)) !important;
  transform: scale(1.1) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell-filtered .ag-icon-filter {
  color: rgb(var(--v-theme-primary)) !important;
  fill: rgb(var(--v-theme-primary)) !important;
  background-color: rgba(var(--v-theme-primary), 0.1) !important;
  border-radius: 4px !important;
  padding: 2px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-icon-filter:focus {
  outline: 2px solid rgb(var(--v-theme-primary)) !important;
  outline-offset: 2px !important;
  border-radius: 4px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-icon-filter:active {
  transform: scale(0.95) !important;
  color: rgb(var(--v-theme-secondary)) !important;
  fill: rgb(var(--v-theme-secondary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell-disabled .ag-icon-filter {
  color: rgba(var(--v-theme-on-surface), 0.3) !important;
  fill: rgba(var(--v-theme-on-surface), 0.3) !important;
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell-menu-button {
  color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell-menu-button:hover {
  background-color: rgba(var(--v-theme-primary), 0.1) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell-filtered .ag-header-cell-menu-button {
  color: rgb(var(--v-theme-primary)) !important;
  background-color: rgba(var(--v-theme-primary), 0.15) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"] {
  background: transparent !important;
  border: 0 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"]:checked {
  background: transparent !important;
  border-color: transparent !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-selection-checkbox {
  width: 18px !important;
  height: 18px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-selection-checkbox:checked { transform: none; }

.ag-theme-alpine-dark.vuetify-grid .ag-selection-checkbox:checked::after { content: none !important; }

.ag-theme-alpine-dark.vuetify-grid .ag-selection-checkbox:hover { transform: none; }

.ag-theme-alpine-dark.vuetify-grid .ag-menu {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-menu-option-text,
.ag-theme-alpine-dark.vuetify-grid .ag-filter-condition-operator-or,
.ag-theme-alpine-dark.vuetify-grid .ag-filter-condition-operator-and {
  color: rgb(var(--v-theme-on-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-menu-separator {
  border-color: rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-body-wrapper {
  background-color: rgb(var(--v-theme-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-panel {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-toolpanel-header,
.ag-theme-alpine-dark.vuetify-grid .ag-filter-toolpanel-search {
  color: rgb(var(--v-theme-on-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-body-wrapper input,
.ag-theme-alpine-dark.vuetify-grid .ag-filter-body-wrapper select,
.ag-theme-alpine-dark.vuetify-grid .ag-input-field-input {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-body-wrapper input:focus,
.ag-theme-alpine-dark.vuetify-grid .ag-filter-body-wrapper select:focus {
  outline: none !important;
  border-color: rgb(var(--v-theme-primary)) !important;
  box-shadow: 0 0 0 2px rgba(var(--v-theme-primary), 0.2) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-select .ag-picker-field-wrapper {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-standard-button,
.ag-theme-alpine-dark.vuetify-grid .ag-filter-apply-panel button {
  background-color: rgb(var(--v-theme-primary)) !important;
  color: rgb(var(--v-theme-on-primary)) !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 6px 16px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease-in-out !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-standard-button:hover,
.ag-theme-alpine-dark.vuetify-grid .ag-filter-apply-panel button:hover {
  background-color: rgba(var(--v-theme-primary), 0.8) !important;
  box-shadow: 0 2px 4px rgba(var(--v-theme-primary), 0.3) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-standard-button:active {
  background-color: rgba(var(--v-theme-primary), 0.9) !important;
  transform: scale(0.98) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-apply-panel .ag-button {
  background-color: rgb(var(--v-theme-primary)) !important;
  color: rgb(var(--v-theme-on-primary)) !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 8px 16px !important;
  margin: 4px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease-in-out !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-apply-panel .ag-button:hover {
  background-color: rgba(var(--v-theme-primary), 0.8) !important;
  box-shadow: 0 2px 4px rgba(var(--v-theme-primary), 0.3) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-apply-panel .ag-button[title*="Clear"],
.ag-theme-alpine-dark.vuetify-grid .ag-filter-apply-panel .ag-button:nth-child(2) {
  background-color: rgba(var(--v-theme-on-surface), 0.1) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: 1px solid rgba(var(--v-theme-on-surface), 0.3) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-filter-apply-panel .ag-button[title*="Clear"]:hover,
.ag-theme-alpine-dark.vuetify-grid .ag-filter-apply-panel .ag-button:nth-child(2):hover {
  background-color: rgba(var(--v-theme-on-surface), 0.2) !important;
  border-color: rgba(var(--v-theme-on-surface), 0.5) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-overlay-no-rows-wrapper .ag-overlay-no-rows-center {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-overlay-loading-center {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-panel {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: none !important;
  padding: 8px 16px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all 0.2s ease-in-out !important;
  position: relative !important;
  overflow: hidden !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-panel:hover {
  background-color: rgba(var(--v-theme-on-surface), 0.02) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-panel.ag-unselectable {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-description,
.ag-theme-alpine-dark.vuetify-grid .ag-paging-summary-panel,
.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-row-summary-panel {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  margin: 0 16px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-row-summary-panel-number {
  color: rgb(var(--v-theme-on-surface)) !important;
  font-weight: 500 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-number {
  color: rgb(var(--v-theme-on-surface)) !important;
  font-weight: 500 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button {
  background-color: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 6px !important;
  min-width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button:hover:not(.ag-disabled) {
  background-color: rgba(var(--v-theme-primary), 0.08) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button:focus {
  outline: 2px solid rgb(var(--v-theme-primary)) !important;
  outline-offset: 2px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button.ag-disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button .ag-icon {
  color: rgb(var(--v-theme-primary)) !important;
  width: 16px !important;
  height: 16px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button.ag-disabled .ag-icon {
  color: rgba(var(--v-theme-on-surface), 0.5) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-icon-first,
.ag-theme-alpine-dark.vuetify-grid .ag-icon-previous,
.ag-theme-alpine-dark.vuetify-grid .ag-icon-next,
.ag-theme-alpine-dark.vuetify-grid .ag-icon-last {
  color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-icon-small-down {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
  width: 16px !important;
  height: 16px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size {
  display: flex !important;
  align-items: center !important;
  margin-right: 16px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field {
  background-color: rgb(var(--v-theme-surface)) !important;
  border: none !important;
  border-radius: 4px !important;
  min-width: 80px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-label {
  color: rgb(var(--v-theme-on-surface)) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  margin-right: 8px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 32px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper:hover {
  background-color: rgba(var(--v-theme-primary), 0.04) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper:focus {
  outline: 2px solid rgb(var(--v-theme-primary)) !important;
  outline-offset: 2px !important;
  background-color: rgba(var(--v-theme-primary), 0.08) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper.ag-picker-collapsed {
  border-radius: 4px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper:not(.ag-picker-collapsed) {
  border-radius: 4px !important;
  background-color: rgba(var(--v-theme-primary), 0.08) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field-display {
  color: rgb(var(--v-theme-on-surface)) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  flex: 1 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field-icon {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
  margin-left: 4px !important;
  transition: transform 0.2s ease-in-out !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper:not(.ag-picker-collapsed) .ag-picker-field-icon {
  transform: rotate(180deg) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-tab-guard {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-tab-guard-top {
  top: 0 !important;
  left: 0 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-tab-guard-bottom {
  bottom: 0 !important;
  right: 0 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-tab-guard:focus {
  outline: 2px solid rgb(var(--v-theme-primary)) !important;
  outline-offset: 2px !important;
  opacity: 1 !important;
  z-index: 1 !important;
  clip: auto !important;
  width: auto !important;
  height: auto !important;
  background-color: rgba(var(--v-theme-primary), 0.1) !important;
  border-radius: 4px !important;
  padding: 2px 4px !important;
}

.ag-theme-alpine-dark.vuetify-grid ::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}

.ag-theme-alpine-dark.vuetify-grid ::-webkit-scrollbar-track {
  background: rgba(var(--v-theme-on-surface), 0.1) !important;
  border-radius: 4px !important;
}

.ag-theme-alpine-dark.vuetify-grid ::-webkit-scrollbar-thumb {
  background: rgb(var(--v-theme-primary)) !important;
  border-radius: 4px !important;
}

.ag-theme-alpine-dark.vuetify-grid ::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--v-theme-primary), 0.8) !important;
}

@keyframes filterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1.1); }
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell:hover .ag-icon-filter {
  animation: filterPulse 0.3s ease-in-out !important;
}

@media (max-width: 768px) {
  .ag-theme-alpine-dark.vuetify-grid .ag-icon-filter {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 768px) {
  .ag-theme-alpine-dark.vuetify-grid {
    font-size: 12px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .v-card-title {
    padding: 12px 16px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .ag-theme-alpine-dark.vuetify-grid {
    font-size: 13px !important;
  }
}

.ag-theme-alpine-dark.vuetify-grid {
  --ag-header-height: 48px !important;
  --ag-row-height: 44px !important;
}

@media (min-width: 768px) {
  .ag-theme-alpine-dark.vuetify-grid {
    --ag-header-height: 56px !important;
    --ag-row-height: 52px !important;
  }
}

.ag-theme-alpine-dark.vuetify-grid .ag-header-cell-text {
  font-size: 12px !important;
  font-weight: 600 !important;
}

@media (min-width: 768px) {
  .ag-theme-alpine-dark.vuetify-grid .ag-header-cell-text {
    font-size: 13px !important;
  }
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-panel {
  font-size: 12px !important;
}

@media (min-width: 768px) {
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-panel {
    font-size: 13px !important;
  }
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
  font-size: 11px !important;
}

@media (min-width: 768px) {
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
    font-size: 12px !important;
  }
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button {
  min-width: 28px !important;
  height: 28px !important;
  font-size: 11px !important;
}

@media (min-width: 768px) {
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-button {
    min-width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
  }
}

.ag-theme-alpine-dark.vuetify-grid .gap-2 {
  gap: 8px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-cell-focus {
  border: 2px solid rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-cell-inline-editing {
  border: 2px solid #4caf50 !important;
  background-color: rgba(76, 175, 80, 0.1) !important;
}

// New Code

.ag-theme-alpine-dark.vuetify-grid .ag-paging-panel {
  background-color: rgb(var(--v-theme-surface)) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: none !important;
  border-top: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
  padding: 12px 16px !important;
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all 0.2s ease-in-out !important;
  position: relative !important;
  overflow: hidden !important;
  font-size: 14px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-panel:hover {
  background-color: rgba(var(--v-theme-on-surface), 0.02) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-panel.ag-unselectable {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-description,
.ag-theme-alpine-dark.vuetify-grid .ag-paging-summary-panel,
.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-row-summary-panel {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin: 0 16px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-row-summary-panel-number {
  color: rgb(var(--v-theme-on-surface)) !important;
  font-weight: 600 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-number {
  color: rgb(var(--v-theme-on-surface)) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button {
  background-color: transparent !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 8px !important;
  min-width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
  margin: 0 2px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button:hover:not(.ag-disabled) {
  background-color: rgba(var(--v-theme-primary), 0.1) !important;
  transform: scale(1.05) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button:active:not(.ag-disabled) {
  background-color: rgba(var(--v-theme-primary), 0.15) !important;
  transform: scale(0.98) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button:focus {
  outline: 2px solid rgb(var(--v-theme-primary)) !important;
  outline-offset: 2px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button.ag-disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button .ag-icon {
  color: rgb(var(--v-theme-primary)) !important;
  width: 18px !important;
  height: 18px !important;
  transition: all 0.2s ease-in-out !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button:hover:not(.ag-disabled) .ag-icon {
  color: rgb(var(--v-theme-primary)) !important;
  transform: scale(1.1) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-button.ag-disabled .ag-icon {
  color: rgba(var(--v-theme-on-surface), 0.4) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-icon-first,
.ag-theme-alpine-dark.vuetify-grid .ag-icon-previous,
.ag-theme-alpine-dark.vuetify-grid .ag-icon-next,
.ag-theme-alpine-dark.vuetify-grid .ag-icon-last {
  color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-icon-small-down {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
  width: 16px !important;
  height: 16px !important;
  transition: transform 0.2s ease-in-out !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size {
  display: flex !important;
  align-items: center !important;
  margin-right: 16px !important;
  gap: 8px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field {
  background-color: rgba(var(--v-theme-on-surface), 0.05) !important;
  border: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
  border-radius: 6px !important;
  min-width: 80px !important;
  transition: all 0.2s ease-in-out !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field:hover {
  background-color: rgba(var(--v-theme-primary), 0.05) !important;
  border-color: rgba(var(--v-theme-primary), 0.3) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-label {
  color: rgb(var(--v-theme-on-surface)) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper {
  background-color: rgba(var(--v-theme-on-surface), 0.05) !important;
  color: rgb(var(--v-theme-on-surface)) !important;
  border: thin solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 36px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper:hover {
  background-color: rgba(var(--v-theme-primary), 0.05) !important;
  border-color: rgba(var(--v-theme-primary), 0.3) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper:focus {
  outline: 2px solid rgb(var(--v-theme-primary)) !important;
  outline-offset: 2px !important;
  background-color: rgba(var(--v-theme-primary), 0.08) !important;
  border-color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper.ag-picker-collapsed {
  border-radius: 6px !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper:not(.ag-picker-collapsed) {
  border-radius: 6px 6px 0 0 !important;
  background-color: rgba(var(--v-theme-primary), 0.08) !important;
  border-color: rgb(var(--v-theme-primary)) !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field-display {
  color: rgb(var(--v-theme-on-surface)) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  flex: 1 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field-icon {
  color: rgb(var(--v-theme-on-surface-variant)) !important;
  margin-left: 8px !important;
  transition: transform 0.2s ease-in-out !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-wrapper:not(.ag-picker-collapsed) .ag-picker-field-icon {
  transform: rotate(180deg) !important;
  color: rgb(var(--v-theme-primary)) !important;
}

@media (max-width: 600px) {
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-panel {
    padding: 8px 12px !important;
    min-height: 48px !important;
    font-size: 13px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    order: 1 !important;
    width: 100% !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-row-summary-panel {
    order: 2 !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
    width: 100% !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size {
    order: 3 !important;
    margin: 0 !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-button {
    min-width: 36px !important;
    height: 36px !important;
    padding: 8px !important;
    margin: 0 1px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-button {
    min-width: 32px !important;
    height: 32px !important;
    padding: 6px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-button .ag-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-button:active {
    background-color: rgba(var(--v-theme-primary), 0.2) !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-icon-first,
  .ag-theme-alpine-dark.vuetify-grid .ag-icon-previous,
  .ag-theme-alpine-dark.vuetify-grid .ag-icon-next,
  .ag-theme-alpine-dark.vuetify-grid .ag-icon-last {
    pointer-events: none !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size {
    margin-right: 0 !important;
    justify-content: center !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-label {
    font-size: 13px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper {
    min-height: 32px !important;
    padding: 4px 8px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field-display {
    font-size: 13px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-description,
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-summary-panel,
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
    font-size: 13px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-number {
    font-size: 13px !important;
  }
}

@media (min-width: 601px) and (max-width: 960px) {
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-panel {
    padding: 10px 14px !important;
    min-height: 52px !important;
    font-size: 13px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-row-summary-panel {
    margin: 0 12px !important;
    font-size: 13px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-button {
    min-width: 34px !important;
    height: 34px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-button .ag-icon {
    width: 17px !important;
    height: 17px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-label {
    font-size: 13px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-wrapper.ag-picker-field-wrapper {
    min-height: 34px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-size .ag-picker-field-display {
    font-size: 13px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-description,
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-summary-panel,
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel {
    font-size: 13px !important;
  }

  .ag-theme-alpine-dark.vuetify-grid .ag-paging-number {
    font-size: 13px !important;
  }
}

@media (min-width: 961px) {
  .ag-theme-alpine-dark.vuetify-grid .ag-paging-panel {
    padding: 12px 16px !important;
    min-height: 56px !important;
  }
}

.ag-theme-alpine-dark.vuetify-grid .ag-paging-description,
.ag-theme-alpine-dark.vuetify-grid .ag-paging-summary-panel,
.ag-theme-alpine-dark.vuetify-grid .ag-paging-page-summary-panel,
.ag-theme-alpine-dark.vuetify-grid .ag-paging-row-summary-panel {
 color: rgb(var(--v-theme-on-surface)) !important;
}

/* === FINAL MINIMAL CHECKBOX FIXES (reset visuals, keep centering) === */
/* Reset wrappers/inputs to AG Grid default rendering so no double visuals occur */
.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper,
.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  display: inline-block !important;
  padding: 0 !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-checkbox .ag-input-wrapper,
.ag-theme-alpine.vuetify-grid .ag-checkbox .ag-input-wrapper {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  position: static !important;
  box-shadow: none !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"],
.ag-theme-alpine.vuetify-grid .ag-checkbox-input-wrapper input[type="checkbox"] {
  position: static !important;
  width: 16px !important;
  height: 16px !important;
  opacity: 1 !important;
  cursor: pointer !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Center selection checkboxes in header and cells without altering visuals */
.ag-theme-alpine-dark.vuetify-grid .ag-header-cell .ag-header-select-all,
.ag-theme-alpine.vuetify-grid .ag-header-cell .ag-header-select-all {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
}

/* Ensure checkbox container is centered */
.ag-theme-alpine-dark.vuetify-grid .ag-selection-checkbox,
.ag-theme-alpine.vuetify-grid .ag-selection-checkbox,
.ag-theme-alpine-dark.vuetify-grid .ag-header-select-all,
.ag-theme-alpine.vuetify-grid .ag-header-select-all,
.ag-theme-alpine-dark.vuetify-grid .ag-cell .ag-checkbox,
.ag-theme-alpine.vuetify-grid .ag-cell .ag-checkbox {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ag-theme-alpine-dark.vuetify-grid .ag-centered,
.ag-theme-alpine.vuetify-grid .ag-centered {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

/* Optional: use AG Grid var to unify checkbox size if supported */
.ag-theme-alpine-dark.vuetify-grid,
.ag-theme-alpine.vuetify-grid {
  --ag-checkbox-size: 18px;
}