button, a.button {
  text-align: center;
  align-content: center;
  cursor: pointer;
  text-decoration: none;
  padding: 5px;
  border: var(--border-width) solid var(--theme-bg-muted);
  border-radius: var(--border-radius);
  background-color: var(--theme-bg-muted);
  color: var(--theme-fg-color);

  &.delete {
    border-color: var(--theme-warn-color);
    background-color: var(--theme-warn-color);
  }

  &[disabled] {
    cursor: not-allowed;
    background-color: var(--theme-bg-color);
  }
}

input[type=submit] {
  cursor: pointer;
  text-decoration: none;
  padding: 5px;
  border: var(--border-width) solid var(--theme-accent-color);
  border-radius: var(--border-radius);
  background-color: var(--theme-accent-color);
  color: var(--theme-bg-color);

  &[disabled] {
    color: var(--theme-fg-color);
    cursor: not-allowed;
    background-color: var(--theme-bg-color);
  }
}

input[type=checkbox],
input[type=radio] {
  accent-color: var(--theme-accent-color);
}

input[type=text] {
  background-color: inherit;
  color: inherit;
  border: none;
  font-size: inherit;
  min-width: calc(var(--hw-combobox-width) / 2);
  padding: 0;
  text-overflow: ellipsis;
  max-width: 100%;
  flex-grow: 1;
  line-height: var(--filter-input-line-height);

  &:focus,
  &:focus-visible,
  &:focus-within {
    box-shadow: none;
    outline: none;
  }
}
