[data-vv-page-item][hidden] {
  display: none !important;
}

.vv-list-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "meta meta"
    "prev next";
  gap: 0.55rem 0.65rem;
  margin: 1rem 0 1.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  position: relative;
  z-index: 2;
  align-items: center;
}

.vv-list-pager__meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.vv-list-pager__button--prev {
  grid-area: prev;
  justify-self: stretch;
}

.vv-list-pager__button--next {
  grid-area: next;
  justify-self: stretch;
}

.vv-list-pager__button {
  min-height: 2.4rem;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  background: #fff;
  color: #334155;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.vv-list-pager__button:hover:not(:disabled) {
  border-color: #6366f1;
  color: #4f46e5;
  background: #eef2ff;
}

.vv-list-pager__button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.vv-list-pager__label {
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
}

.vv-list-pager__size {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
}

.vv-list-pager__select {
  min-height: 2.1rem;
  min-width: 4.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  background: #fff;
  color: #0f172a;
  padding: 0.2rem 0.45rem;
  font: inherit;
  font-weight: 700;
}

.dark .vv-list-pager {
  border-color: #334155;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
  box-shadow: none;
}

.dark .vv-list-pager__button,
.dark .vv-list-pager__select {
  border-color: #475569;
  background: #1e293b;
  color: #e2e8f0;
}

.dark .vv-list-pager__button:hover:not(:disabled) {
  background: #312e81;
  border-color: #818cf8;
  color: #e0e7ff;
}

.dark .vv-list-pager__label,
.dark .vv-list-pager__size {
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .vv-list-pager {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "prev meta next";
    gap: 1rem;
  }

  .vv-list-pager__button {
    width: auto;
    min-width: 6.5rem;
    min-height: 2.35rem;
  }

  .vv-list-pager__button--prev {
    justify-self: start;
  }

  .vv-list-pager__button--next {
    justify-self: end;
  }

  .vv-list-pager__meta {
    flex-direction: row;
    gap: 1rem;
  }
}
