.filters {
  display: flex;
  margin-top: 0.6rem;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.formInvertable {
  display: flex;
  gap: 0.8rem;
  align-items: flex-end;
  margin-bottom: 0.5rem;

  select,
  fieldset {
    margin: 0;
    margin-top: 0.2rem;
  }

  > label,
  > div {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
}

.filterField {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  padding: 0.3rem 0.5rem;
  padding-right: 0;

  span {
    font-size: 0.8rem;
    font-weight: 600;
  }

  span.filterType {
    font-weight: 500;
    color: var(--pico-contrast);
  }

  span.filterValue {
    text-decoration: underline;
    color: var(--pico-contrast);
  }
}

.filter {
  display: flex;
  margin: 0;
  opacity: 0.9;
  transition: opacity 0.2s;
  padding: 0;

  &:hover {
    opacity: 1;
  }

  h2 {
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
  }

  button {
    all: unset;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: fit-content;
  }

  .remove {
    padding-left: 0.2rem;
  }
}
