.PaginationWrapper {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

.PaginationPageButton {
  align-items: center;
  background-color: var(--btn-primary);
  border-radius: 4px;
  border: 1px solid white;
  color: white;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  font-size: 12px;
  font-weight: 500;
  gap: 4px;
  height: 30px;
  justify-content: center;
  min-width: 30px;
  padding: 2px 4px;

  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.PaginationPageButton:hover {
  background-color: var(--btn-primary-hover);
}

.PageNumberWrapper {
  border: 1px solid white;
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  height: 30px;
  align-items: center;
  text-align: center;
}

.PageNumberWrapper>li {
  align-items: center;
  background-color: var(--btn-primary);
  border-right: 1px solid white;
  border: 1px solid white;
  color: white;
  display: flex;
  height: 30px;
  padding: 0 8px;
  font-size: 12px;
}

.PageNumberWrapper>li:hover {
  background-color: var(--btn-primary-hover);
}

.PageNumberWrapper>li:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.PageNumberWrapper>li:last-child {
  border-right: unset;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.DisabledButton,
.DisabledButton:hover {
  background-color: #bdbdbd !important;
  cursor: default;

  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media (min-width: 640px) {
  .ModalStyle {
    bottom: unset;
    left: 50%;
    max-width: calc(100% - 64px);
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 1264px) {
  .PaginationPageButton {
    font-size: 14px;
  }

  .PageNumberWrapper>li {
    font-size: 14px;
    padding: 0 12px;
  }
}