.pagination {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 0.5rem;
	background: transparent;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.15s ease;

	&:hover:not(:disabled) {
		background-color: #f3f4f6;
	}

	&:focus-visible {
		outline: 2px solid var(--purple-400);
		outline-offset: 2px;
	}

	&:disabled {
		opacity: 0.5;
		cursor: not-allowed;
	}
}

.page {
	font-weight: 500;
}

.active {
	background-color: var(--purple-400);
	color: white;

	&:hover:not(:disabled) {
		background-color: var(--purple-500);
	}
}

.ellipsis {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	font-size: 0.875rem;
	color: #6b7280;
}