@use "a11y";
@use "layout";
@use "typography";

@mixin fs-reset-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

@mixin fs-reset-button {
  @include typography.fs-typography-common;
  padding: 0;
  border: none;
  border-radius: 0;
  color: inherit;
  background: none;
  font: inherit;
  &:not([disabled]) {
    cursor: pointer;
  }
  &:focus {
    @include a11y.fs-focus-ring;
  }
}

@mixin fs-reset-fieldset {
  @include layout.fs-clearfix;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

@mixin fs-reset-details {
  > summary {
    list-style-type: none;
  }
  > summary::-webkit-details-marker {
    display: none;
  }
}
