.wx-pagejump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  color: #000;
}

.wx-pagejump__label {
  margin: 0;
  font-weight: 500;
  color: inherit;
}

.wx-pagejump__field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wx-pagejump__input {
  width: 64px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-weight: 600;
  color: #000;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wx-pagejump__input::-webkit-outer-spin-button,
.wx-pagejump__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wx-pagejump__input:focus {
  outline: none;
  border-color: #c4a975;
  box-shadow: 0 0 0 3px rgba(196, 169, 117, 0.2);
}

.wx-pagejump__input.is-invalid {
  border-color: #c0392b;
  animation: wx-pagejump-shake 0.3s ease;
}

.wx-pagejump__total {
  color: #7a7a7a;
  white-space: nowrap;
}

.wx-pagejump__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wx-pagejump__submit:hover,
.wx-pagejump__submit:focus-visible {
  border-color: #c4a975;
  background: #c4a975;
  outline: none;
}

.pagination .wx-pagejump-spacer {
  cursor: pointer;
  transition: color 0.2s ease;
}

.pagination .wx-pagejump-spacer:hover {
  color: #c4a975;
}

@keyframes wx-pagejump-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
