@use "../../../../styles/int.scss";

.container {
  position: relative;
  min-width: 160px;

  @include int.election-layer-zindex("tooltip");
}

.states {
  position: absolute;
  top: calc(100% + #{int.$spacing-2});
  right: 0;
  min-width: 160px;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background-color: white;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  padding-top: int.$spacing-3;
  padding-bottom: int.$spacing-3;

  @include int.shadow($size: "200");
}

.link {
  cursor: pointer;
  padding: int.$spacing-1 int.$spacing-4;
  appearance: none;
  background: none;
  border: none;
  text-align: left;

  &:hover {
    background-color: int.$warmgray-20;
  }
}
