.grp-changelist-results {
  background: none !important;
}

.grp-module.grp-table select,
.grp-module.grp-table .grp-autocomplete-wrapper-m2m,
.grp-module.grp-table .grp-autocomplete-wrapper-fk {
  max-width: 500px;
}

.grp-tabular .grp-table {
  table-layout: auto;
}

div.grp-readonly {
  max-width: none;
  width: max-content;
}

.grp-cell div.grp-readonly {
  width: max-content;
  max-width: 500px;
}

.filled {
  color: #8a2be2;
}

.hidden {
  display: none !important;
}

body.highlight-is-active {
  pointer-events: none;
}

.highlight {
  box-shadow: 0 0 0 99999px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 9999;
  pointer-events: auto;
  transition: all 0.2s ease;
}

#grp-filters .select2-container {
  min-width: unset !important;
  width: 100% !important;
}

.field-warning {
  color: #757500 !important;
}

.field-fact {
  color: #006400 !important;
}

.field-error {
  color: #bf3030 !important;
}

.grp-errors label:has(+ .field-error) {
  color: #bf3030 !important;
}

.grp-errors label {
  color: #444 !important;
}

.grp-errors input[type="text"],
.grp-errors input[type="password"],
.grp-errors input[type="url"],
.grp-errors input[type="email"],
.grp-errors input[type="number"],
.grp-errors input[type="submit"],
.grp-errors input[type="reset"],
.grp-errors textarea,
.grp-errors select {
  border-color: #ccc !important;
}

label > input[type="checkbox"] {
  white-space: initial !important;
}

label:has(input[type="checkbox"]) {
  white-space: initial !important;
}

.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  display: inline;
}
.htmx-request.htmx-indicator {
  display: inline;
}

*::selection {
    background-color: #ACCEF7;
}
