.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.info {
  font-size: 0.875rem;
  color: var(--text-muted, #8a847a);
}

.controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navButton {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-card, white);
  color: var(--text-secondary, #5c564d);
  border: 1px solid var(--border-color, #e5dfd5);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.navButton:hover:not(:disabled) {
  background: var(--bg-secondary, #f3ede4);
  border-color: var(--accent-coral, #e07256);
  color: var(--text-primary, #1a1612);
}

.navButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pages {
  display: flex;
  gap: 0.25rem;
}

.pageButton,
.pageButtonActive {
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-card, white);
  border: 1px solid var(--border-color, #e5dfd5);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pageButton {
  color: var(--text-secondary, #5c564d);
}

.pageButton:hover {
  background: var(--bg-secondary, #f3ede4);
  border-color: var(--accent-coral, #e07256);
  color: var(--text-primary, #1a1612);
}

.pageButtonActive {
  background: var(--accent-coral, #e07256);
  color: white;
  border-color: var(--accent-coral, #e07256);
}

.pageButtonActive:hover {
  background: var(--accent-coral-dark, #c45a3f);
  border-color: var(--accent-coral-dark, #c45a3f);
}

.ellipsis {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted, #8a847a);
}

@media (max-width: 640px) {
  .controls {
    flex-wrap: wrap;
  }

  .pages {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  .navButton {
    flex: 1;
  }
}
