/* V5.0.59 - Anhui/Hunan query-page performance and pagination */
.province-query-page .query-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid #edf4ff;
  background: #fff;
}

.province-query-page .query-pagination[hidden] { display: none !important; }

.province-query-page .query-page-summary {
  margin: 0;
  color: var(--muted, #64748b);
  font-size: 14px;
  font-weight: 800;
}

.province-query-page .query-page-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.province-query-page .query-page-controls button {
  min-width: 88px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line, #dbe7f5);
  border-radius: 14px;
  background: #fff;
  color: var(--deep, #12335b);
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
}

.province-query-page .query-page-controls button:not(:disabled):active { transform: translateY(1px); }

.province-query-page .query-page-controls button:focus-visible,
.province-query-page .query-page-size select:focus-visible {
  outline: 3px solid rgba(47, 128, 255, .22);
  outline-offset: 2px;
}

.province-query-page .query-page-status {
  min-width: 68px;
  color: var(--deep, #12335b);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.province-query-page .query-page-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted, #64748b);
  font-size: 13px;
  font-weight: 800;
}

.province-query-page .query-page-size select {
  width: auto;
  min-width: 90px;
  height: 44px;
  padding: 0 34px 0 12px;
  border-radius: 14px;
  background-color: #f8fbff;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .province-query-page .query-pagination {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 14px;
  }
  .province-query-page .query-page-summary { grid-column: 1 / -1; }
  .province-query-page .query-page-controls { justify-content: flex-start; }
  .province-query-page .query-page-controls button { min-width: 76px; padding-inline: 12px; }
  .province-query-page .query-page-size { justify-self: end; }
  .province-query-page .m-card { contain: layout paint; }
}

@media (max-width: 390px) {
  .province-query-page .query-pagination { grid-template-columns: 1fr; }
  .province-query-page .query-page-controls,
  .province-query-page .query-page-size { width: 100%; justify-content: space-between; }
  .province-query-page .query-page-controls button { flex: 1 1 0; }
}
