/* ag-Grid Theme Overrides */

/* Override focus color to match SUM brand */
.ag-theme-quartz {
  --ag-input-focus-border-color: #274077;
}

/* Remove borders from filter input fields */
.ag-theme-quartz .ag-input-field,
textarea.ag-input-field-input {
  border: none !important;
}

/* Clean up floating filter styling */
.ag-theme-quartz .ag-floating-filter-input {
  border: none !important;
}

/* Match SUM focus treatment on input fields */
.ag-theme-quartz .ag-input-field:focus,
.ag-theme-quartz .ag-input-field-input:focus,
textarea.ag-input-field-input:focus {
  border-color: #274077 !important;
  box-shadow: 0 0 3px #274077 inset, 0 0 1px #274077 !important;
  outline: 0 none !important;
}

/* Ensure consistent header styling */
.ag-theme-quartz .ag-header {
  background-color: var(--ag-header-background-color, #f8f9fa);
}

/* Improve filter button appearance */
.ag-theme-quartz .ag-filter-menu-button {
  cursor: pointer;
}

/* White background for filter row */
.ag-theme-quartz .ag-header-row.ag-header-row-column-filter {
  background-color: white;
}
